Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-ruby-automation committed Nov 11, 2024
1 parent 8a667ab commit 066d4e0
Show file tree
Hide file tree
Showing 57 changed files with 4,453 additions and 1,531 deletions.
2,053 changes: 1,296 additions & 757 deletions apis/cloudfront/2020-05-31/api-2.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions apis/cloudfront/2020-05-31/docs-2.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.0",
"service": "<fullname>Amazon CloudFront</fullname> <p>This is the <i>Amazon CloudFront API Reference</i>. This guide is for developers who need detailed information about CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html\">Amazon CloudFront Developer Guide</a>.</p>",
"service": "<p><fullname>Amazon CloudFront</fullname> <p>This is the <i>Amazon CloudFront API Reference</i>. This guide is for developers who need detailed information about CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html\">Amazon CloudFront Developer Guide</a>.</p></p>",
"operations": {
"AssociateAlias": "<p>Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront distribution.</p> <p>With this operation you can move an alias that's already in use on a CloudFront distribution to a different distribution in one step. This prevents the downtime that could occur if you first remove the alias from one distribution and then separately add the alias to another distribution.</p> <p>To use this operation to associate an alias with a distribution, you provide the alias and the ID of the target distribution for the alias. For more information, including how to set up the target distribution, prerequisites that you must complete, and other restrictions, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move\">Moving an alternate domain name to a different distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>",
"CopyDistribution": "<p>Creates a staging distribution using the configuration of the provided primary distribution. A staging distribution is a copy of an existing distribution (called the primary distribution) that you can use in a continuous deployment workflow.</p> <p>After you create a staging distribution, you can use <code>UpdateDistribution</code> to modify the staging distribution's configuration. Then you can use <code>CreateContinuousDeploymentPolicy</code> to incrementally move traffic to the staging distribution.</p> <p>This API operation requires the following IAM permissions:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistribution.html\">GetDistribution</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CreateDistribution.html\">CreateDistribution</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CopyDistribution.html\">CopyDistribution</a> </p> </li> </ul>",
Expand Down Expand Up @@ -86,7 +86,7 @@
"ListInvalidations": "<p>Lists invalidation batches.</p>",
"ListKeyGroups": "<p>Gets a list of key groups.</p> <p>You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the <code>NextMarker</code> value from the current response as the <code>Marker</code> value in the subsequent request.</p>",
"ListKeyValueStores": "<p>Specifies the key value stores to list.</p>",
"ListOriginAccessControls": "<p>Gets the list of CloudFront origin access controls in this Amazon Web Services account.</p> <p>You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send another request that specifies the <code>NextMarker</code> value from the current response as the <code>Marker</code> value in the next request.</p>",
"ListOriginAccessControls": "<p>Gets the list of CloudFront origin access controls (OACs) in this Amazon Web Services account.</p> <p>You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send another request that specifies the <code>NextMarker</code> value from the current response as the <code>Marker</code> value in the next request.</p> <note> <p>If you're not using origin access controls for your Amazon Web Services account, the <code>ListOriginAccessControls</code> operation doesn't return the <code>Items</code> element in the response.</p> </note>",
"ListOriginRequestPolicies": "<p>Gets a list of origin request policies.</p> <p>You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or only the custom policies created in your Amazon Web Services account.</p> <p>You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the <code>NextMarker</code> value from the current response as the <code>Marker</code> value in the subsequent request.</p>",
"ListPublicKeys": "<p>List all public keys that have been added to CloudFront for this account.</p>",
"ListRealtimeLogConfigs": "<p>Gets a list of real-time log configurations.</p> <p>You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the <code>NextMarker</code> value from the current response as the <code>Marker</code> value in the subsequent request.</p>",
Expand All @@ -100,7 +100,7 @@
"UpdateCachePolicy": "<p>Updates a cache policy configuration.</p> <p>When you update a cache policy configuration, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update a cache policy configuration:</p> <ol> <li> <p>Use <code>GetCachePolicyConfig</code> to get the current configuration.</p> </li> <li> <p>Locally modify the fields in the cache policy configuration that you want to update.</p> </li> <li> <p>Call <code>UpdateCachePolicy</code> by providing the entire cache policy configuration, including the fields that you modified and those that you didn't.</p> </li> </ol>",
"UpdateCloudFrontOriginAccessIdentity": "<p>Update an origin access identity.</p>",
"UpdateContinuousDeploymentPolicy": "<p>Updates a continuous deployment policy. You can update a continuous deployment policy to enable or disable it, to change the percentage of traffic that it sends to the staging distribution, or to change the staging distribution that it sends traffic to.</p> <p>When you update a continuous deployment policy configuration, all the fields are updated with the values that are provided in the request. You cannot update some fields independent of others. To update a continuous deployment policy configuration:</p> <ol> <li> <p>Use <code>GetContinuousDeploymentPolicyConfig</code> to get the current configuration.</p> </li> <li> <p>Locally modify the fields in the continuous deployment policy configuration that you want to update.</p> </li> <li> <p>Use <code>UpdateContinuousDeploymentPolicy</code>, providing the entire continuous deployment policy configuration, including the fields that you modified and those that you didn't.</p> </li> </ol>",
"UpdateDistribution": "<p>Updates the configuration for a CloudFront distribution.</p> <p>The update process includes getting the current distribution configuration, updating it to make your changes, and then submitting an <code>UpdateDistribution</code> request to make the updates.</p> <p> <b>To update a web distribution using the CloudFront API</b> </p> <ol> <li> <p>Use <code>GetDistributionConfig</code> to get the current configuration, including the version identifier (<code>ETag</code>).</p> </li> <li> <p>Update the distribution configuration that was returned in the response. Note the following important requirements and restrictions:</p> <ul> <li> <p>You must rename the <code>ETag</code> field to <code>IfMatch</code>, leaving the value unchanged. (Set the value of <code>IfMatch</code> to the value of <code>ETag</code>, then remove the <code>ETag</code> field.)</p> </li> <li> <p>You can't change the value of <code>CallerReference</code>.</p> </li> </ul> </li> <li> <p>Submit an <code>UpdateDistribution</code> request, providing the distribution configuration. The new configuration replaces the existing configuration. The values that you specify in an <code>UpdateDistribution</code> request are not merged into your existing configuration. Make sure to include all fields: the ones that you modified and also the ones that you didn't.</p> </li> </ol>",
"UpdateDistribution": "<p>Updates the configuration for a CloudFront distribution.</p> <p>The update process includes getting the current distribution configuration, updating it to make your changes, and then submitting an <code>UpdateDistribution</code> request to make the updates.</p> <p> <b>To update a web distribution using the CloudFront API</b> </p> <ol> <li> <p>Use <code>GetDistributionConfig</code> to get the current configuration, including the version identifier (<code>ETag</code>).</p> </li> <li> <p>Update the distribution configuration that was returned in the response. Note the following important requirements and restrictions:</p> <ul> <li> <p>You must copy the <code>ETag</code> field value from the response. (You'll use it for the <code>IfMatch</code> parameter in your request.) Then, remove the <code>ETag</code> field from the distribution configuration.</p> </li> <li> <p>You can't change the value of <code>CallerReference</code>.</p> </li> </ul> </li> <li> <p>Submit an <code>UpdateDistribution</code> request, providing the updated distribution configuration. The new configuration replaces the existing configuration. The values that you specify in an <code>UpdateDistribution</code> request are not merged into your existing configuration. Make sure to include all fields: the ones that you modified and also the ones that you didn't.</p> </li> </ol>",
"UpdateDistributionWithStagingConfig": "<p>Copies the staging distribution's configuration to its corresponding primary distribution. The primary distribution retains its <code>Aliases</code> (also known as alternate domain names or CNAMEs) and <code>ContinuousDeploymentPolicyId</code> value, but otherwise its configuration is overwritten to match the staging distribution.</p> <p>You can use this operation in a continuous deployment workflow after you have tested configuration changes on the staging distribution. After using a continuous deployment policy to move a portion of your domain name's traffic to the staging distribution and verifying that it works as intended, you can use this operation to copy the staging distribution's configuration to the primary distribution. This action will disable the continuous deployment policy and move your domain's traffic back to the primary distribution.</p> <p>This API operation requires the following IAM permissions:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistribution.html\">GetDistribution</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html\">UpdateDistribution</a> </p> </li> </ul>",
"UpdateFieldLevelEncryptionConfig": "<p>Update a field-level encryption configuration.</p>",
"UpdateFieldLevelEncryptionProfile": "<p>Update a field-level encryption profile.</p>",
Expand Down
58 changes: 7 additions & 51 deletions apis/cloudfront/2020-05-31/examples-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,8 @@
},
"Location": "https://cloudfront.amazonaws.com/2020-05-31/function/arn:aws:cloudfront::123456789012:function/my-function-name"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "Use the following command to create a function.",
"id": "to-create-a-function-1699737558249",
"id": "example-1",
"title": "To create a function"
}
],
Expand All @@ -78,14 +72,8 @@
},
"Location": "https://cloudfront.amazonaws.com/2020-05-31/key-value-store/arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "Use the following command to create a KeyValueStore.",
"id": "to-create-a-key-value-store-1699751722467",
"id": "example-1",
"title": "To create a KeyValueStore"
}
],
Expand All @@ -95,14 +83,8 @@
"IfMatch": "ETVPDKIKX0DER",
"Name": "my-keyvaluestore-name"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "Use the following command to delete a KeyValueStore.",
"id": "to-delete-a-key-value-store-1699751759648",
"id": "example-1",
"title": "To delete a KeyValueStore"
}
],
Expand All @@ -122,22 +104,14 @@
"Status": "READY"
}
},
"comments": {
"input": {
},
"output": {
}
},
"description": "Use the following command to describe a KeyValueStore.",
"id": "to-describe-a-key-value-store-1699751788152",
"id": "example-1",
"title": "To describe a KeyValueStore"
}
],
"ListKeyValueStores": [
{
"input": {
"Marker": "",
"MaxItems": "100",
"Status": "READY"
},
"output": {
Expand All @@ -157,14 +131,8 @@
"Quantity": 1
}
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following command retrieves a list of KeyValueStores with READY status.",
"id": "to-get-a-list-of-key-value-store-1699751799198",
"id": "example-1",
"title": "To get a list of KeyValueStores"
}
],
Expand Down Expand Up @@ -212,14 +180,8 @@
"Status": "UNPUBLISHED"
}
},
"comments": {
"input": {
},
"output": {
}
},
"description": "Use the following command to update a function.",
"id": "to-update-a-function-1699751865053",
"id": "example-1",
"title": "To update a function"
}
],
Expand All @@ -241,14 +203,8 @@
"Status": "READY"
}
},
"comments": {
"input": {
},
"output": {
}
},
"description": "Use the following command to update a KeyValueStore.",
"id": "to-update-a-key-value-store-1699751822090",
"id": "example-1",
"title": "To update a KeyValueStore"
}
]
Expand Down
22 changes: 12 additions & 10 deletions apis/cloudfront/2020-05-31/paginators-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,39 @@
"pagination": {
"ListCloudFrontOriginAccessIdentities": {
"input_token": "Marker",
"limit_key": "MaxItems",
"more_results": "CloudFrontOriginAccessIdentityList.IsTruncated",
"output_token": "CloudFrontOriginAccessIdentityList.NextMarker",
"limit_key": "MaxItems",
"result_key": "CloudFrontOriginAccessIdentityList.Items"
},
"ListDistributions": {
"input_token": "Marker",
"limit_key": "MaxItems",
"more_results": "DistributionList.IsTruncated",
"output_token": "DistributionList.NextMarker",
"limit_key": "MaxItems",
"result_key": "DistributionList.Items"
},
"ListInvalidations": {
"input_token": "Marker",
"limit_key": "MaxItems",
"more_results": "InvalidationList.IsTruncated",
"output_token": "InvalidationList.NextMarker",
"limit_key": "MaxItems",
"result_key": "InvalidationList.Items"
},
"ListKeyValueStores": {
"input_token": "Marker",
"limit_key": "MaxItems",
"output_token": "KeyValueStoreList.NextMarker",
"limit_key": "MaxItems",
"result_key": "KeyValueStoreList.Items"
},
"ListStreamingDistributions": {
"ListPublicKeys": {
"input_token": "Marker",
"output_token": "PublicKeyList.NextMarker",
"limit_key": "MaxItems",
"more_results": "StreamingDistributionList.IsTruncated",
"result_key": "PublicKeyList.Items"
},
"ListStreamingDistributions": {
"input_token": "Marker",
"output_token": "StreamingDistributionList.NextMarker",
"limit_key": "MaxItems",
"result_key": "StreamingDistributionList.Items"
}
}
}
}
78 changes: 36 additions & 42 deletions apis/cloudfront/2020-05-31/waiters-2.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,41 @@
{
"version": 2,
"waiters": {
"DistributionDeployed": {
"delay": 60,
"operation": "GetDistribution",
"maxAttempts": 35,
"description": "Wait until a distribution is deployed.",
"acceptors": [
{
"expected": "Deployed",
"matcher": "path",
"state": "success",
"argument": "Distribution.Status"
}
]
"version" : 2,
"waiters" : {
"DistributionDeployed" : {
"description" : "Wait until a distribution is deployed.",
"delay" : 60,
"maxAttempts" : 35,
"operation" : "GetDistribution",
"acceptors" : [ {
"matcher" : "path",
"argument" : "Distribution.Status",
"state" : "success",
"expected" : "Deployed"
} ]
},
"InvalidationCompleted": {
"delay": 20,
"operation": "GetInvalidation",
"maxAttempts": 30,
"description": "Wait until an invalidation has completed.",
"acceptors": [
{
"expected": "Completed",
"matcher": "path",
"state": "success",
"argument": "Invalidation.Status"
}
]
"InvalidationCompleted" : {
"description" : "Wait until an invalidation has completed.",
"delay" : 20,
"maxAttempts" : 30,
"operation" : "GetInvalidation",
"acceptors" : [ {
"matcher" : "path",
"argument" : "Invalidation.Status",
"state" : "success",
"expected" : "Completed"
} ]
},
"StreamingDistributionDeployed": {
"delay": 60,
"operation": "GetStreamingDistribution",
"maxAttempts": 25,
"description": "Wait until a streaming distribution is deployed.",
"acceptors": [
{
"expected": "Deployed",
"matcher": "path",
"state": "success",
"argument": "StreamingDistribution.Status"
}
]
"StreamingDistributionDeployed" : {
"description" : "Wait until a streaming distribution is deployed.",
"delay" : 60,
"maxAttempts" : 25,
"operation" : "GetStreamingDistribution",
"acceptors" : [ {
"matcher" : "path",
"argument" : "StreamingDistribution.Status",
"state" : "success",
"expected" : "Deployed"
} ]
}
}
}
}
Loading

0 comments on commit 066d4e0

Please sign in to comment.