Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-cpp-automation committed Dec 17, 2024
1 parent 6184a0b commit 2fb8f55
Show file tree
Hide file tree
Showing 10 changed files with 3,991 additions and 372 deletions.
797 changes: 466 additions & 331 deletions tools/code-generation/smithy/api-descriptions/account.json

Large diffs are not rendered by default.

531 changes: 531 additions & 0 deletions tools/code-generation/smithy/api-descriptions/backup.json

Large diffs are not rendered by default.

2,820 changes: 2,820 additions & 0 deletions tools/code-generation/smithy/api-descriptions/backupsearch.json

Large diffs are not rendered by default.

99 changes: 77 additions & 22 deletions tools/code-generation/smithy/api-descriptions/batch.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1034,6 +1034,9 @@
"traits": {
"smithy.api#documentation": "<p>The protected SQL query parameters.</p>"
}
},
"sqlComputeConfiguration": {
"target": "com.amazonaws.cleanroomsml#ComputeConfiguration"
}
},
"traits": {
Expand Down Expand Up @@ -9925,7 +9928,7 @@
"dataSource": {
"target": "com.amazonaws.cleanroomsml#ModelInferenceDataSource",
"traits": {
"smithy.api#documentation": "<p>Defines he data source that is used for the trained model inference job.</p>",
"smithy.api#documentation": "<p>Defines the data source that is used for the trained model inference job.</p>",
"smithy.api#required": {}
}
},
Expand Down
18 changes: 15 additions & 3 deletions tools/code-generation/smithy/api-descriptions/cloudfront.json
Original file line number Diff line number Diff line change
Expand Up @@ -5553,13 +5553,13 @@
"OriginReadTimeout": {
"target": "com.amazonaws.cloudfront#integer",
"traits": {
"smithy.api#documentation": "<p>Specifies how long, in seconds, CloudFront waits for a response from the origin. This is\n\t\t\talso known as the <i>origin response timeout</i>. The minimum timeout is 1\n\t\t\tsecond, the maximum is 60 seconds, and the default (if you don't specify otherwise) is\n\t\t\t30 seconds.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginResponseTimeout\">Origin Response Timeout</a> in the\n\t\t\t\t<i>Amazon CloudFront Developer Guide</i>.</p>"
"smithy.api#documentation": "<p>Specifies how long, in seconds, CloudFront waits for a response from the origin. This is\n\t\t\talso known as the <i>origin response timeout</i>. The minimum timeout is 1\n\t\t\tsecond, the maximum is 60 seconds, and the default (if you don't specify otherwise) is\n\t\t\t30 seconds.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginResponseTimeout\">Response timeout (custom origins only)</a> in the\n\t\t\t\t<i>Amazon CloudFront Developer Guide</i>.</p>"
}
},
"OriginKeepaliveTimeout": {
"target": "com.amazonaws.cloudfront#integer",
"traits": {
"smithy.api#documentation": "<p>Specifies how long, in seconds, CloudFront persists its connection to the origin. The\n\t\t\tminimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't\n\t\t\tspecify otherwise) is 5 seconds.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginKeepaliveTimeout\">Origin Keep-alive Timeout</a> in the\n\t\t\t\t<i>Amazon CloudFront Developer Guide</i>.</p>"
"smithy.api#documentation": "<p>Specifies how long, in seconds, CloudFront persists its connection to the origin. The\n\t\t\tminimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't\n\t\t\tspecify otherwise) is 5 seconds.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginKeepaliveTimeout\">Keep-alive timeout (custom origins only)</a> in the\n\t\t\t\t<i>Amazon CloudFront Developer Guide</i>.</p>"
}
}
},
Expand Down Expand Up @@ -7079,7 +7079,7 @@
"DefaultRootObject": {
"target": "com.amazonaws.cloudfront#string",
"traits": {
"smithy.api#documentation": "<p>The object that you want CloudFront to request from your origin (for example,\n\t\t\t\t<code>index.html</code>) when a viewer requests the root URL for your distribution\n\t\t\t\t(<code>https://www.example.com</code>) instead of an object in your distribution\n\t\t\t\t(<code>https://www.example.com/product-description.html</code>). Specifying a\n\t\t\tdefault root object avoids exposing the contents of your distribution.</p>\n <p>Specify only the object name, for example, <code>index.html</code>. Don't add a\n\t\t\t\t<code>/</code> before the object name.</p>\n <p>If you don't want to specify a default root object when you create a distribution,\n\t\t\tinclude an empty <code>DefaultRootObject</code> element.</p>\n <p>To delete the default root object from an existing distribution, update the\n\t\t\tdistribution configuration and include an empty <code>DefaultRootObject</code>\n\t\t\telement.</p>\n <p>To replace the default root object, update the distribution configuration and specify\n\t\t\tthe new object.</p>\n <p>For more information about the default root object, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DefaultRootObject.html\">Creating a\n\t\t\t\tDefault Root Object</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"
"smithy.api#documentation": "<p>When a viewer requests the root URL for your distribution, the default root object is the\n\t\t\tobject that you want CloudFront to request from your origin. For example, if your root URL is\n\t\t\t\t<code>https://www.example.com</code>, you can specify CloudFront to return the\n\t\t\t\t<code>index.html</code> file as the default root object. You can specify a default\n\t\t\troot object so that viewers see a specific file or object, instead of another object in\n\t\t\tyour distribution (for example,\n\t\t\t\t<code>https://www.example.com/product-description.html</code>). A default root\n\t\t\tobject avoids exposing the contents of your distribution.</p>\n <p>You can specify the object name or a path to the object name (for example,\n\t\t\t\t<code>index.html</code> or <code>exampleFolderName/index.html</code>). Your string\n\t\t\tcan't begin with a forward slash (<code>/</code>). Only specify the object name or the\n\t\t\tpath to the object.</p>\n <p>If you don't want to specify a default root object when you create a distribution,\n\t\t\tinclude an empty <code>DefaultRootObject</code> element.</p>\n <p>To delete the default root object from an existing distribution, update the\n\t\t\tdistribution configuration and include an empty <code>DefaultRootObject</code>\n\t\t\telement.</p>\n <p>To replace the default root object, update the distribution configuration and specify\n\t\t\tthe new object.</p>\n <p>For more information about the default root object, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DefaultRootObject.html\">Specify a default root object</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"
}
},
"Origins": {
Expand Down Expand Up @@ -20477,6 +20477,18 @@
"smithy.api#documentation": "<p>The VPC origin ID.</p>",
"smithy.api#required": {}
}
},
"OriginReadTimeout": {
"target": "com.amazonaws.cloudfront#integer",
"traits": {
"smithy.api#documentation": "<p>Specifies how long, in seconds, CloudFront waits for a response from the origin. This is\n\t\t\talso known as the <i>origin response timeout</i>. The minimum timeout is 1\n\t\t\tsecond, the maximum is 60 seconds, and the default (if you don't specify otherwise) is\n\t\t\t30 seconds.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginResponseTimeout\">Response timeout (custom origins only)</a> in the\n\t\t\t<i>Amazon CloudFront Developer Guide</i>.</p>"
}
},
"OriginKeepaliveTimeout": {
"target": "com.amazonaws.cloudfront#integer",
"traits": {
"smithy.api#documentation": "<p>Specifies how long, in seconds, CloudFront persists its connection to the origin. The\n\t\t\tminimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't\n\t\t\tspecify otherwise) is 5 seconds.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginKeepaliveTimeout\">Keep-alive timeout (custom origins only)</a> in the\n\t\t\t<i>Amazon CloudFront Developer Guide</i>.</p>"
}
}
},
"traits": {
Expand Down
18 changes: 12 additions & 6 deletions tools/code-generation/smithy/api-descriptions/codepipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@
"category": {
"target": "com.amazonaws.codepipeline#ActionCategory",
"traits": {
"smithy.api#documentation": "<p>A category defines what kind of action can be taken in the stage, and constrains\n the provider type for the action. Valid categories are limited to one of the following\n values. </p>\n <ul>\n <li>\n <p>Source</p>\n </li>\n <li>\n <p>Build</p>\n </li>\n <li>\n <p>Test</p>\n </li>\n <li>\n <p>Deploy</p>\n </li>\n <li>\n <p>Invoke</p>\n </li>\n <li>\n <p>Approval</p>\n </li>\n </ul>",
"smithy.api#documentation": "<p>A category defines what kind of action can be taken in the stage, and constrains\n the provider type for the action. Valid categories are limited to one of the following\n values. </p>\n <ul>\n <li>\n <p>Source</p>\n </li>\n <li>\n <p>Build</p>\n </li>\n <li>\n <p>Test</p>\n </li>\n <li>\n <p>Deploy</p>\n </li>\n <li>\n <p>Invoke</p>\n </li>\n <li>\n <p>Approval</p>\n </li>\n <li>\n <p>Compute</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -2955,7 +2955,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>The condition for the stage. A condition is made up of the rules and the result for\n the condition.</p>"
"smithy.api#documentation": "<p>The condition for the stage. A condition is made up of the rules and the result for\n the condition. For more information about conditions, see <a href=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html\">Stage conditions</a>.\n For more information about rules, see the <a href=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html\">CodePipeline rule\n reference</a>.</p>"
}
},
"com.amazonaws.codepipeline#ConditionExecution": {
Expand Down Expand Up @@ -4024,7 +4024,7 @@
"category": {
"target": "com.amazonaws.codepipeline#ActionCategory",
"traits": {
"smithy.api#documentation": "<p>Defines what kind of action can be taken in the stage. The following are the valid\n values:</p>\n <ul>\n <li>\n <p>\n <code>Source</code>\n </p>\n </li>\n <li>\n <p>\n <code>Build</code>\n </p>\n </li>\n <li>\n <p>\n <code>Test</code>\n </p>\n </li>\n <li>\n <p>\n <code>Deploy</code>\n </p>\n </li>\n <li>\n <p>\n <code>Approval</code>\n </p>\n </li>\n <li>\n <p>\n <code>Invoke</code>\n </p>\n </li>\n </ul>",
"smithy.api#documentation": "<p>Defines what kind of action can be taken in the stage. The following are the valid\n values:</p>\n <ul>\n <li>\n <p>\n <code>Source</code>\n </p>\n </li>\n <li>\n <p>\n <code>Build</code>\n </p>\n </li>\n <li>\n <p>\n <code>Test</code>\n </p>\n </li>\n <li>\n <p>\n <code>Deploy</code>\n </p>\n </li>\n <li>\n <p>\n <code>Approval</code>\n </p>\n </li>\n <li>\n <p>\n <code>Invoke</code>\n </p>\n </li>\n <li>\n <p>\n <code>Compute</code>\n </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -5611,7 +5611,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the rules for the condition.</p>"
"smithy.api#documentation": "<p>Lists the rules for the condition. For more information about conditions, see <a href=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html\">Stage\n conditions</a>. For more information about rules, see the <a href=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html\">CodePipeline rule reference</a>.</p>"
}
},
"com.amazonaws.codepipeline#ListRuleTypesInput": {
Expand Down Expand Up @@ -8057,7 +8057,7 @@
"name": {
"target": "com.amazonaws.codepipeline#RuleName",
"traits": {
"smithy.api#documentation": "<p>The name of the rule that is created for the condition, such as\n CheckAllResults.</p>",
"smithy.api#documentation": "<p>The name of the rule that is created for the condition, such as\n <code>VariableCheck</code>.</p>",
"smithy.api#required": {}
}
},
Expand All @@ -8074,6 +8074,12 @@
"smithy.api#documentation": "<p>The action configuration fields for the rule.</p>"
}
},
"commands": {
"target": "com.amazonaws.codepipeline#CommandList",
"traits": {
"smithy.api#documentation": "<p>The shell commands to run with your commands rule in CodePipeline. All commands\n are supported except multi-line formats. While CodeBuild logs and permissions\n are used, you do not need to create any resources in CodeBuild.</p>\n <note>\n <p>Using compute time for this action will incur separate charges in CodeBuild.</p>\n </note>"
}
},
"inputArtifacts": {
"target": "com.amazonaws.codepipeline#InputArtifactList",
"traits": {
Expand All @@ -8100,7 +8106,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>Represents information about the rule to be created for an associated condition. An\n example would be creating a new rule for an entry condition, such as a rule that checks\n for a test result before allowing the run to enter the deployment stage.</p>"
"smithy.api#documentation": "<p>Represents information about the rule to be created for an associated condition. An\n example would be creating a new rule for an entry condition, such as a rule that checks\n for a test result before allowing the run to enter the deployment stage. For more\n information about conditions, see <a href=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html\">Stage conditions</a>.\n For more information about rules, see the <a href=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html\">CodePipeline rule\n reference</a>.</p>"
}
},
"com.amazonaws.codepipeline#RuleDeclarationList": {
Expand Down
Loading

0 comments on commit 2fb8f55

Please sign in to comment.