Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Jan 11, 2024
1 parent 8673d96 commit 75195b4
Show file tree
Hide file tree
Showing 7 changed files with 1,453 additions and 814 deletions.
80 changes: 56 additions & 24 deletions codegen/sdk-codegen/aws-models/ec2.json

Large diffs are not rendered by default.

515 changes: 426 additions & 89 deletions codegen/sdk-codegen/aws-models/ecs.json

Large diffs are not rendered by default.

34 changes: 32 additions & 2 deletions codegen/sdk-codegen/aws-models/eventbridge.json
Original file line number Diff line number Diff line change
Expand Up @@ -1829,6 +1829,20 @@
}
}
},
"com.amazonaws.eventbridge#AppSyncParameters": {
"type": "structure",
"members": {
"GraphQLOperation": {
"target": "com.amazonaws.eventbridge#GraphQLOperation",
"traits": {
"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>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains the GraphQL operation to be parsed and executed, if the event target is an AppSync API.</p>"
}
},
"com.amazonaws.eventbridge#Archive": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -5443,6 +5457,16 @@
"smithy.api#documentation": "<p>The failover configuration for an endpoint. This includes what triggers failover and what happens when it's triggered.</p>"
}
},
"com.amazonaws.eventbridge#GraphQLOperation": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 1048576
},
"smithy.api#sensitive": {}
}
},
"com.amazonaws.eventbridge#HeaderKey": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -7393,7 +7417,7 @@
"State": {
"target": "com.amazonaws.eventbridge#RuleState",
"traits": {
"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>"
"smithy.api#documentation": "<p>Indicates whether the rule is enabled or disabled.</p>"
}
},
"Description": {
Expand Down Expand Up @@ -8154,7 +8178,7 @@
"State": {
"target": "com.amazonaws.eventbridge#RuleState",
"traits": {
"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>"
"smithy.api#documentation": "<p>The state of the rule.</p>"
}
},
"Description": {
Expand Down Expand Up @@ -8827,6 +8851,12 @@
"traits": {
"smithy.api#documentation": "<p>The <code>RetryPolicy</code> object that contains the retry policy configuration to use\n for the dead-letter queue.</p>"
}
},
"AppSyncParameters": {
"target": "com.amazonaws.eventbridge#AppSyncParameters",
"traits": {
"smithy.api#documentation": "<p>Contains the GraphQL operation to be parsed and executed, if the event target is an AppSync API.</p>"
}
}
},
"traits": {
Expand Down
38 changes: 24 additions & 14 deletions codegen/sdk-codegen/aws-models/iot.json
Original file line number Diff line number Diff line change
Expand Up @@ -4643,6 +4643,9 @@
}
},
"com.amazonaws.iot#Boolean": {
"type": "boolean"
},
"com.amazonaws.iot#Boolean2": {
"type": "boolean",
"traits": {
"smithy.api#default": false
Expand Down Expand Up @@ -7445,7 +7448,7 @@
"destinationPackageVersions": {
"target": "com.amazonaws.iot#DestinationPackageVersions",
"traits": {
"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>"
"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>"
}
}
},
Expand Down Expand Up @@ -7585,7 +7588,7 @@
"destinationPackageVersions": {
"target": "com.amazonaws.iot#DestinationPackageVersions",
"traits": {
"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>"
"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>"
}
}
},
Expand Down Expand Up @@ -8549,9 +8552,8 @@
}
},
"enabled": {
"target": "com.amazonaws.iot#Enabled",
"target": "com.amazonaws.iot#Enabled2",
"traits": {
"smithy.api#default": false,
"smithy.api#documentation": "<p>True to enable the provisioning template, otherwise false.</p>"
}
},
Expand Down Expand Up @@ -13743,7 +13745,7 @@
"destinationPackageVersions": {
"target": "com.amazonaws.iot#DestinationPackageVersions",
"traits": {
"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>"
"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>"
}
}
},
Expand Down Expand Up @@ -14054,9 +14056,8 @@
}
},
"enabled": {
"target": "com.amazonaws.iot#Enabled",
"target": "com.amazonaws.iot#Enabled2",
"traits": {
"smithy.api#default": false,
"smithy.api#documentation": "<p>True if the provisioning template is enabled, otherwise false.</p>"
}
},
Expand Down Expand Up @@ -16179,6 +16180,9 @@
"smithy.api#default": false
}
},
"com.amazonaws.iot#Enabled2": {
"type": "boolean"
},
"com.amazonaws.iot#EnabledBoolean": {
"type": "boolean"
},
Expand Down Expand Up @@ -19164,7 +19168,7 @@
"destinationPackageVersions": {
"target": "com.amazonaws.iot#DestinationPackageVersions",
"traits": {
"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>"
"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>"
}
}
},
Expand Down Expand Up @@ -27629,9 +27633,8 @@
}
},
"enabled": {
"target": "com.amazonaws.iot#Enabled",
"target": "com.amazonaws.iot#Enabled2",
"traits": {
"smithy.api#default": false,
"smithy.api#documentation": "<p>True if the fleet provision template is enabled, otherwise false.</p>"
}
},
Expand Down Expand Up @@ -31850,7 +31853,6 @@
"connected": {
"target": "com.amazonaws.iot#Boolean",
"traits": {
"smithy.api#default": false,
"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>"
}
},
Expand Down Expand Up @@ -32298,7 +32300,7 @@
"type": "structure",
"members": {
"deprecated": {
"target": "com.amazonaws.iot#Boolean",
"target": "com.amazonaws.iot#Boolean2",
"traits": {
"smithy.api#default": false,
"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>"
Expand Down Expand Up @@ -34548,6 +34550,9 @@
"target": "com.amazonaws.iot#UpdatePackageResponse"
},
"errors": [
{
"target": "com.amazonaws.iot#ConflictException"
},
{
"target": "com.amazonaws.iot#InternalServerException"
},
Expand Down Expand Up @@ -34580,6 +34585,9 @@
"target": "com.amazonaws.iot#UpdatePackageConfigurationResponse"
},
"errors": [
{
"target": "com.amazonaws.iot#ConflictException"
},
{
"target": "com.amazonaws.iot#InternalServerException"
},
Expand Down Expand Up @@ -34687,6 +34695,9 @@
"target": "com.amazonaws.iot#UpdatePackageVersionResponse"
},
"errors": [
{
"target": "com.amazonaws.iot#ConflictException"
},
{
"target": "com.amazonaws.iot#InternalServerException"
},
Expand Down Expand Up @@ -34819,9 +34830,8 @@
}
},
"enabled": {
"target": "com.amazonaws.iot#Enabled",
"target": "com.amazonaws.iot#Enabled2",
"traits": {
"smithy.api#default": false,
"smithy.api#documentation": "<p>True to enable the provisioning template, otherwise false.</p>"
}
},
Expand Down
Loading

0 comments on commit 75195b4

Please sign in to comment.