diff --git a/clients/client-cloudfront/src/commands/ListTagsForResourceCommand.ts b/clients/client-cloudfront/src/commands/ListTagsForResourceCommand.ts index 50603e123750..2515f3d84e9d 100644 --- a/clients/client-cloudfront/src/commands/ListTagsForResourceCommand.ts +++ b/clients/client-cloudfront/src/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,7 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResult, __MetadataBearer {} /** - *

List tags for a CloudFront resource.

+ *

List tags for a CloudFront resource. For more information, see Tagging a distribution in the Amazon CloudFront Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-cloudfront/src/commands/TagResourceCommand.ts b/clients/client-cloudfront/src/commands/TagResourceCommand.ts index 3d1b9c1a7bfe..cc911e71db57 100644 --- a/clients/client-cloudfront/src/commands/TagResourceCommand.ts +++ b/clients/client-cloudfront/src/commands/TagResourceCommand.ts @@ -28,7 +28,7 @@ export interface TagResourceCommandInput extends TagResourceRequest {} export interface TagResourceCommandOutput extends __MetadataBearer {} /** - *

Add tags to a CloudFront resource.

+ *

Add tags to a CloudFront resource. For more information, see Tagging a distribution in the Amazon CloudFront Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-cloudfront/src/commands/UntagResourceCommand.ts b/clients/client-cloudfront/src/commands/UntagResourceCommand.ts index 937ddb52a277..d598dcc6e551 100644 --- a/clients/client-cloudfront/src/commands/UntagResourceCommand.ts +++ b/clients/client-cloudfront/src/commands/UntagResourceCommand.ts @@ -28,7 +28,7 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {} export interface UntagResourceCommandOutput extends __MetadataBearer {} /** - *

Remove tags from a CloudFront resource.

+ *

Remove tags from a CloudFront resource. For more information, see Tagging a distribution in the Amazon CloudFront Developer Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-cloudfront/src/models/models_0.ts b/clients/client-cloudfront/src/models/models_0.ts index 228c166efa9d..e806fd7d6867 100644 --- a/clients/client-cloudfront/src/models/models_0.ts +++ b/clients/client-cloudfront/src/models/models_0.ts @@ -294,7 +294,7 @@ export interface CachedMethods { /** *

A complex type that contains the HTTP methods that you want CloudFront to cache responses - * to.

+ * to. Valid values for CachedMethods include GET, HEAD, and OPTIONS, depending on which caching option you choose. For more information, see the preceding section.

* @public */ Items: Method[] | undefined; @@ -944,8 +944,9 @@ export type ViewerProtocolPolicy = (typeof ViewerProtocolPolicy)[keyof typeof Vi * you can add to a distribution, see Quotas in the * Amazon CloudFront Developer Guide.

*

If you don't want to specify any cache behaviors, include only an empty - * CacheBehaviors element. For more information, see CacheBehaviors. Don't include an empty - * CacheBehavior element because this is invalid.

+ * CacheBehaviors element. Don't specify an empty individual + * CacheBehavior element, because this is invalid. For more information, + * see CacheBehaviors.

*

To delete all cache behaviors in an existing distribution, update the distribution * configuration and include only an empty CacheBehaviors element.

*

To add, change, or remove one or more cache behaviors, update the distribution diff --git a/codegen/sdk-codegen/aws-models/cloudfront.json b/codegen/sdk-codegen/aws-models/cloudfront.json index df4d23b4d2af..f57ea7fba585 100644 --- a/codegen/sdk-codegen/aws-models/cloudfront.json +++ b/codegen/sdk-codegen/aws-models/cloudfront.json @@ -434,7 +434,7 @@ } }, "traits": { - "smithy.api#documentation": "

A complex type that describes how CloudFront processes requests.

\n

You must create at least as many cache behaviors (including the default cache\n\t\t\tbehavior) as you have origins if you want CloudFront to serve objects from all of the origins.\n\t\t\tEach cache behavior specifies the one origin from which you want CloudFront to get objects. If\n\t\t\tyou have two origins and only the default cache behavior, the default cache behavior\n\t\t\twill cause CloudFront to get objects from one of the origins, but the other origin is never\n\t\t\tused.

\n

For the current quota (formerly known as limit) on the number of cache behaviors that\n\t\t\tyou can add to a distribution, see Quotas in the\n\t\t\tAmazon CloudFront Developer Guide.

\n

If you don't want to specify any cache behaviors, include only an empty\n\t\t\tCacheBehaviors element. For more information, see CacheBehaviors. Don't include an empty\n\t\t\t\tCacheBehavior element because this is invalid.

\n

To delete all cache behaviors in an existing distribution, update the distribution\n\t\t\tconfiguration and include only an empty CacheBehaviors element.

\n

To add, change, or remove one or more cache behaviors, update the distribution\n\t\t\tconfiguration and specify all of the cache behaviors that you want to include in the\n\t\t\tupdated distribution.

\n

For more information about cache behaviors, see Cache Behavior Settings in the Amazon CloudFront Developer Guide.

" + "smithy.api#documentation": "

A complex type that describes how CloudFront processes requests.

\n

You must create at least as many cache behaviors (including the default cache\n\t\t\tbehavior) as you have origins if you want CloudFront to serve objects from all of the origins.\n\t\t\tEach cache behavior specifies the one origin from which you want CloudFront to get objects. If\n\t\t\tyou have two origins and only the default cache behavior, the default cache behavior\n\t\t\twill cause CloudFront to get objects from one of the origins, but the other origin is never\n\t\t\tused.

\n

For the current quota (formerly known as limit) on the number of cache behaviors that\n\t\t\tyou can add to a distribution, see Quotas in the\n\t\t\tAmazon CloudFront Developer Guide.

\n

If you don't want to specify any cache behaviors, include only an empty\n\t\t\t\tCacheBehaviors element. Don't specify an empty individual\n\t\t\t\tCacheBehavior element, because this is invalid. For more information,\n\t\t\tsee CacheBehaviors.

\n

To delete all cache behaviors in an existing distribution, update the distribution\n\t\t\tconfiguration and include only an empty CacheBehaviors element.

\n

To add, change, or remove one or more cache behaviors, update the distribution\n\t\t\tconfiguration and specify all of the cache behaviors that you want to include in the\n\t\t\tupdated distribution.

\n

For more information about cache behaviors, see Cache Behavior Settings in the Amazon CloudFront Developer Guide.

" } }, "com.amazonaws.cloudfront#CacheBehaviorList": { @@ -795,7 +795,7 @@ "Items": { "target": "com.amazonaws.cloudfront#MethodsList", "traits": { - "smithy.api#documentation": "

A complex type that contains the HTTP methods that you want CloudFront to cache responses\n\t\t\tto.

", + "smithy.api#documentation": "

A complex type that contains the HTTP methods that you want CloudFront to cache responses\n\t\t\tto. Valid values for CachedMethods include GET, HEAD, and OPTIONS, depending on which caching option you choose. For more information, see the preceding section.

", "smithy.api#required": {} } } @@ -12307,7 +12307,7 @@ } ], "traits": { - "smithy.api#documentation": "

List tags for a CloudFront resource.

", + "smithy.api#documentation": "

List tags for a CloudFront resource. For more information, see Tagging a distribution in the Amazon CloudFront Developer Guide.

", "smithy.api#http": { "method": "GET", "uri": "/2020-05-31/tagging", @@ -15810,7 +15810,7 @@ } ], "traits": { - "smithy.api#documentation": "

Add tags to a CloudFront resource.

", + "smithy.api#documentation": "

Add tags to a CloudFront resource. For more information, see Tagging a distribution in the Amazon CloudFront Developer Guide.

", "smithy.api#http": { "method": "POST", "uri": "/2020-05-31/tagging?Operation=Tag", @@ -16835,7 +16835,7 @@ } ], "traits": { - "smithy.api#documentation": "

Remove tags from a CloudFront resource.

", + "smithy.api#documentation": "

Remove tags from a CloudFront resource. For more information, see Tagging a distribution in the Amazon CloudFront Developer Guide.

", "smithy.api#http": { "method": "POST", "uri": "/2020-05-31/tagging?Operation=Untag",