Skip to content

Commit 981e848

Browse files
feat: update AWS API models
1 parent 014c95b commit 981e848

File tree

7 files changed

+1453
-814
lines changed

7 files changed

+1453
-814
lines changed

codegen/sdk/aws-models/ec2.json

Lines changed: 56 additions & 24 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/ecs.json

Lines changed: 426 additions & 89 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/eventbridge.json

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,6 +1829,20 @@
18291829
}
18301830
}
18311831
},
1832+
"com.amazonaws.eventbridge#AppSyncParameters": {
1833+
"type": "structure",
1834+
"members": {
1835+
"GraphQLOperation": {
1836+
"target": "com.amazonaws.eventbridge#GraphQLOperation",
1837+
"traits": {
1838+
"smithy.api#documentation": "<p>The GraphQL operation; that is, the query, mutation, or subscription to be parsed and executed by the GraphQL service.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/appsync/latest/devguide/graphql-architecture.html#graphql-operations\">Operations</a> in the <i>AppSync User Guide</i>.</p>"
1839+
}
1840+
}
1841+
},
1842+
"traits": {
1843+
"smithy.api#documentation": "<p>Contains the GraphQL operation to be parsed and executed, if the event target is an AppSync API.</p>"
1844+
}
1845+
},
18321846
"com.amazonaws.eventbridge#Archive": {
18331847
"type": "structure",
18341848
"members": {
@@ -5443,6 +5457,16 @@
54435457
"smithy.api#documentation": "<p>The failover configuration for an endpoint. This includes what triggers failover and what happens when it's triggered.</p>"
54445458
}
54455459
},
5460+
"com.amazonaws.eventbridge#GraphQLOperation": {
5461+
"type": "string",
5462+
"traits": {
5463+
"smithy.api#length": {
5464+
"min": 1,
5465+
"max": 1048576
5466+
},
5467+
"smithy.api#sensitive": {}
5468+
}
5469+
},
54465470
"com.amazonaws.eventbridge#HeaderKey": {
54475471
"type": "string",
54485472
"traits": {
@@ -7393,7 +7417,7 @@
73937417
"State": {
73947418
"target": "com.amazonaws.eventbridge#RuleState",
73957419
"traits": {
7396-
"smithy.api#documentation": "<p>The state of the rule.</p>\n <p>Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>DISABLED</code>: The rule is disabled. EventBridge does not match any events against the rule.</p>\n </li>\n <li>\n <p>\n <code>ENABLED</code>: The rule is enabled. \n EventBridge matches events against the rule, <i>except</i> for Amazon Web Services management events delivered through CloudTrail.</p>\n </li>\n <li>\n <p>\n <code>ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS</code>: The rule is enabled for all\n events, including Amazon Web Services management events delivered through CloudTrail.</p>\n <p>Management events provide visibility into management operations that are performed on\n resources in your Amazon Web Services account. These are also known as control plane\n operations. For more information, see <a href=\"https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html#logging-management-events\">Logging management events</a> in the <i>CloudTrail User\n Guide</i>, and <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html#eb-service-event-cloudtrail\">Filtering management events from Amazon Web Services services</a> in the\n <i>Amazon EventBridge User Guide</i>.</p>\n <p>This value is only valid for rules on the <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is-how-it-works-concepts.html#eb-bus-concepts-buses\">default</a> event bus \n or <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-event-bus.html\">custom event buses</a>. \n It does not apply to <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-saas.html\">partner event buses</a>.</p>\n </li>\n </ul>"
7420+
"smithy.api#documentation": "<p>Indicates whether the rule is enabled or disabled.</p>"
73977421
}
73987422
},
73997423
"Description": {
@@ -8154,7 +8178,7 @@
81548178
"State": {
81558179
"target": "com.amazonaws.eventbridge#RuleState",
81568180
"traits": {
8157-
"smithy.api#documentation": "<p>The state of the rule.</p>\n <p>Valid values include:</p>\n <ul>\n <li>\n <p>\n <code>DISABLED</code>: The rule is disabled. EventBridge does not match any events against the rule.</p>\n </li>\n <li>\n <p>\n <code>ENABLED</code>: The rule is enabled. \n EventBridge matches events against the rule, <i>except</i> for Amazon Web Services management events delivered through CloudTrail.</p>\n </li>\n <li>\n <p>\n <code>ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS</code>: The rule is enabled for all\n events, including Amazon Web Services management events delivered through CloudTrail.</p>\n <p>Management events provide visibility into management operations that are performed on\n resources in your Amazon Web Services account. These are also known as control plane\n operations. For more information, see <a href=\"https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html#logging-management-events\">Logging management events</a> in the <i>CloudTrail User\n Guide</i>, and <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html#eb-service-event-cloudtrail\">Filtering management events from Amazon Web Services services</a> in the\n <i>Amazon EventBridge User Guide</i>.</p>\n <p>This value is only valid for rules on the <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is-how-it-works-concepts.html#eb-bus-concepts-buses\">default</a> event bus \n or <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-event-bus.html\">custom event buses</a>. \n It does not apply to <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-saas.html\">partner event buses</a>.</p>\n </li>\n </ul>"
8181+
"smithy.api#documentation": "<p>The state of the rule.</p>"
81588182
}
81598183
},
81608184
"Description": {
@@ -8827,6 +8851,12 @@
88278851
"traits": {
88288852
"smithy.api#documentation": "<p>The <code>RetryPolicy</code> object that contains the retry policy configuration to use\n for the dead-letter queue.</p>"
88298853
}
8854+
},
8855+
"AppSyncParameters": {
8856+
"target": "com.amazonaws.eventbridge#AppSyncParameters",
8857+
"traits": {
8858+
"smithy.api#documentation": "<p>Contains the GraphQL operation to be parsed and executed, if the event target is an AppSync API.</p>"
8859+
}
88308860
}
88318861
},
88328862
"traits": {

codegen/sdk/aws-models/iot.json

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4643,6 +4643,9 @@
46434643
}
46444644
},
46454645
"com.amazonaws.iot#Boolean": {
4646+
"type": "boolean"
4647+
},
4648+
"com.amazonaws.iot#Boolean2": {
46464649
"type": "boolean",
46474650
"traits": {
46484651
"smithy.api#default": false
@@ -7445,7 +7448,7 @@
74457448
"destinationPackageVersions": {
74467449
"target": "com.amazonaws.iot#DestinationPackageVersions",
74477450
"traits": {
7448-
"smithy.api#documentation": "<p>The package version Amazon Resource Names (ARNs) that are installed on the device when the \n job successfully completes. </p>\n <p>\n <b>Note:</b>The following Length Constraints relates to a single ARN. \n Up to 25 package version ARNs are allowed.</p>"
7451+
"smithy.api#documentation": "<p>The package version Amazon Resource Names (ARNs) that are installed on the device when the \n job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/preparing-to-use-software-package-catalog.html#package-version-lifecycle\">Package version lifecycle</a>. </p>\n <p>\n <b>Note:</b>The following Length Constraints relates to a single ARN. \n Up to 25 package version ARNs are allowed.</p>"
74497452
}
74507453
}
74517454
},
@@ -7585,7 +7588,7 @@
75857588
"destinationPackageVersions": {
75867589
"target": "com.amazonaws.iot#DestinationPackageVersions",
75877590
"traits": {
7588-
"smithy.api#documentation": "<p>The package version Amazon Resource Names (ARNs) that are installed on the device when the \n job successfully completes. </p>\n <p>\n <b>Note:</b>The following Length Constraints relates to a single ARN. \n Up to 25 package version ARNs are allowed.</p>"
7591+
"smithy.api#documentation": "<p>The package version Amazon Resource Names (ARNs) that are installed on the device when the \n job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/preparing-to-use-software-package-catalog.html#package-version-lifecycle\">Package version lifecycle</a>.</p>\n <p>\n <b>Note:</b>The following Length Constraints relates to a single ARN. \n Up to 25 package version ARNs are allowed.</p>"
75897592
}
75907593
}
75917594
},
@@ -8549,9 +8552,8 @@
85498552
}
85508553
},
85518554
"enabled": {
8552-
"target": "com.amazonaws.iot#Enabled",
8555+
"target": "com.amazonaws.iot#Enabled2",
85538556
"traits": {
8554-
"smithy.api#default": false,
85558557
"smithy.api#documentation": "<p>True to enable the provisioning template, otherwise false.</p>"
85568558
}
85578559
},
@@ -13743,7 +13745,7 @@
1374313745
"destinationPackageVersions": {
1374413746
"target": "com.amazonaws.iot#DestinationPackageVersions",
1374513747
"traits": {
13746-
"smithy.api#documentation": "<p>The package version Amazon Resource Names (ARNs) that are installed on the device when the \n job successfully completes. </p>\n <p>\n <b>Note:</b>The following Length Constraints relates to a single ARN. \n Up to 25 package version ARNs are allowed.</p>"
13748+
"smithy.api#documentation": "<p>The package version Amazon Resource Names (ARNs) that are installed on the device when the \n job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/preparing-to-use-software-package-catalog.html#package-version-lifecycle\">Package version lifecycle</a>.</p>\n <p>\n <b>Note:</b>The following Length Constraints relates to a single ARN. \n Up to 25 package version ARNs are allowed.</p>"
1374713749
}
1374813750
}
1374913751
},
@@ -14054,9 +14056,8 @@
1405414056
}
1405514057
},
1405614058
"enabled": {
14057-
"target": "com.amazonaws.iot#Enabled",
14059+
"target": "com.amazonaws.iot#Enabled2",
1405814060
"traits": {
14059-
"smithy.api#default": false,
1406014061
"smithy.api#documentation": "<p>True if the provisioning template is enabled, otherwise false.</p>"
1406114062
}
1406214063
},
@@ -16179,6 +16180,9 @@
1617916180
"smithy.api#default": false
1618016181
}
1618116182
},
16183+
"com.amazonaws.iot#Enabled2": {
16184+
"type": "boolean"
16185+
},
1618216186
"com.amazonaws.iot#EnabledBoolean": {
1618316187
"type": "boolean"
1618416188
},
@@ -19164,7 +19168,7 @@
1916419168
"destinationPackageVersions": {
1916519169
"target": "com.amazonaws.iot#DestinationPackageVersions",
1916619170
"traits": {
19167-
"smithy.api#documentation": "<p>The package version Amazon Resource Names (ARNs) that are installed on the device when the \n job successfully completes. </p>\n <p>\n <b>Note:</b>The following Length Constraints relates to a single ARN. \n Up to 25 package version ARNs are allowed.</p>"
19171+
"smithy.api#documentation": "<p>The package version Amazon Resource Names (ARNs) that are installed on the device when the \n job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/preparing-to-use-software-package-catalog.html#package-version-lifecycle\">Package version lifecycle</a>.The package version must be in either the Published or Deprecated state when the job deploys. For more information, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/preparing-to-use-software-package-catalog.html#package-version-lifecycle\">Package version lifecycle</a>.</p>\n <p>\n <b>Note:</b>The following Length Constraints relates to a single ARN. \n Up to 25 package version ARNs are allowed.</p>"
1916819172
}
1916919173
}
1917019174
},
@@ -27629,9 +27633,8 @@
2762927633
}
2763027634
},
2763127635
"enabled": {
27632-
"target": "com.amazonaws.iot#Enabled",
27636+
"target": "com.amazonaws.iot#Enabled2",
2763327637
"traits": {
27634-
"smithy.api#default": false,
2763527638
"smithy.api#documentation": "<p>True if the fleet provision template is enabled, otherwise false.</p>"
2763627639
}
2763727640
},
@@ -31850,7 +31853,6 @@
3185031853
"connected": {
3185131854
"target": "com.amazonaws.iot#Boolean",
3185231855
"traits": {
31853-
"smithy.api#default": false,
3185431856
"smithy.api#documentation": "<p>True if the thing is connected to the Amazon Web Services IoT Core service; false if it is not\n connected.</p>"
3185531857
}
3185631858
},
@@ -32298,7 +32300,7 @@
3229832300
"type": "structure",
3229932301
"members": {
3230032302
"deprecated": {
32301-
"target": "com.amazonaws.iot#Boolean",
32303+
"target": "com.amazonaws.iot#Boolean2",
3230232304
"traits": {
3230332305
"smithy.api#default": false,
3230432306
"smithy.api#documentation": "<p>Whether the thing type is deprecated. If <b>true</b>, no new things could be\n\t\t\tassociated with this type.</p>"
@@ -34548,6 +34550,9 @@
3454834550
"target": "com.amazonaws.iot#UpdatePackageResponse"
3454934551
},
3455034552
"errors": [
34553+
{
34554+
"target": "com.amazonaws.iot#ConflictException"
34555+
},
3455134556
{
3455234557
"target": "com.amazonaws.iot#InternalServerException"
3455334558
},
@@ -34580,6 +34585,9 @@
3458034585
"target": "com.amazonaws.iot#UpdatePackageConfigurationResponse"
3458134586
},
3458234587
"errors": [
34588+
{
34589+
"target": "com.amazonaws.iot#ConflictException"
34590+
},
3458334591
{
3458434592
"target": "com.amazonaws.iot#InternalServerException"
3458534593
},
@@ -34687,6 +34695,9 @@
3468734695
"target": "com.amazonaws.iot#UpdatePackageVersionResponse"
3468834696
},
3468934697
"errors": [
34698+
{
34699+
"target": "com.amazonaws.iot#ConflictException"
34700+
},
3469034701
{
3469134702
"target": "com.amazonaws.iot#InternalServerException"
3469234703
},
@@ -34819,9 +34830,8 @@
3481934830
}
3482034831
},
3482134832
"enabled": {
34822-
"target": "com.amazonaws.iot#Enabled",
34833+
"target": "com.amazonaws.iot#Enabled2",
3482334834
"traits": {
34824-
"smithy.api#default": false,
3482534835
"smithy.api#documentation": "<p>True to enable the provisioning template, otherwise false.</p>"
3482634836
}
3482734837
},

0 commit comments

Comments
 (0)