diff --git a/clients/client-cloudfront/src/CloudFront.ts b/clients/client-cloudfront/src/CloudFront.ts index 5af65808d8f2..13d60df2ff66 100644 --- a/clients/client-cloudfront/src/CloudFront.ts +++ b/clients/client-cloudfront/src/CloudFront.ts @@ -2246,7 +2246,7 @@ export class CloudFront extends CloudFrontClient { } /** - *
Gets a CloudFront origin access control.
+ *Gets a CloudFront origin access control, including its unique identifier.
*/ public getOriginAccessControl( args: GetOriginAccessControlCommandInput, @@ -2278,7 +2278,7 @@ export class CloudFront extends CloudFrontClient { } /** - *Gets a CloudFront origin access control.
+ *Gets a CloudFront origin access control configuration.
*/ public getOriginAccessControlConfig( args: GetOriginAccessControlConfigCommandInput, diff --git a/clients/client-cloudfront/src/commands/GetOriginAccessControlCommand.ts b/clients/client-cloudfront/src/commands/GetOriginAccessControlCommand.ts index 0c3d2a1d780f..4c0a9a7fb050 100644 --- a/clients/client-cloudfront/src/commands/GetOriginAccessControlCommand.ts +++ b/clients/client-cloudfront/src/commands/GetOriginAccessControlCommand.ts @@ -28,7 +28,7 @@ export interface GetOriginAccessControlCommandInput extends GetOriginAccessContr export interface GetOriginAccessControlCommandOutput extends GetOriginAccessControlResult, __MetadataBearer {} /** - *Gets a CloudFront origin access control.
+ *Gets a CloudFront origin access control, including its unique identifier.
* @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/GetOriginAccessControlConfigCommand.ts b/clients/client-cloudfront/src/commands/GetOriginAccessControlConfigCommand.ts index 97ce2db453c1..21e50381dfff 100644 --- a/clients/client-cloudfront/src/commands/GetOriginAccessControlConfigCommand.ts +++ b/clients/client-cloudfront/src/commands/GetOriginAccessControlConfigCommand.ts @@ -30,7 +30,7 @@ export interface GetOriginAccessControlConfigCommandOutput __MetadataBearer {} /** - *Gets a CloudFront origin access control.
+ *Gets a CloudFront origin access control configuration.
* @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 9df8371163b6..f211ece5cc5f 100644 --- a/clients/client-cloudfront/src/models/models_0.ts +++ b/clients/client-cloudfront/src/models/models_0.ts @@ -5657,7 +5657,7 @@ export enum OriginAccessControlSigningProtocols { } /** - *A CloudFront origin access control.
+ *A CloudFront origin access control configuration.
*/ export interface OriginAccessControlConfig { /** @@ -5701,8 +5701,8 @@ export interface OriginAccessControlConfig { * sign the origin request and instead passes along theAuthorization
* header from the viewer request. WARNING: To pass along the
* Authorization
header from the viewer request, you
- * must add the Authorization
header to an origin request policy for all cache behaviors that
- * use origins associated with this origin access control.
+ * must add the Authorization
header to a cache policy for all cache behaviors that use
+ * origins associated with this origin access control.
*
*
*
@@ -5724,7 +5724,7 @@ export interface CreateOriginAccessControlRequest {
}
/**
- * A CloudFront origin access control.
+ *A CloudFront origin access control, including its unique identifier.
*/ export interface OriginAccessControl { /** diff --git a/clients/client-cloudfront/src/models/models_1.ts b/clients/client-cloudfront/src/models/models_1.ts index bf527f4e9d3a..227968a3dd67 100644 --- a/clients/client-cloudfront/src/models/models_1.ts +++ b/clients/client-cloudfront/src/models/models_1.ts @@ -1062,7 +1062,7 @@ export interface GetOriginAccessControlRequest { export interface GetOriginAccessControlResult { /** - *Contains an origin access control.
+ *Contains an origin access control, including its unique identifier.
*/ OriginAccessControl?: OriginAccessControl; @@ -1081,7 +1081,7 @@ export interface GetOriginAccessControlConfigRequest { export interface GetOriginAccessControlConfigResult { /** - *Contains an origin access control.
+ *Contains an origin access control configuration.
*/ OriginAccessControlConfig?: OriginAccessControlConfig; diff --git a/codegen/sdk-codegen/aws-models/cloudfront.json b/codegen/sdk-codegen/aws-models/cloudfront.json index 792d417b2fd7..db836235950d 100644 --- a/codegen/sdk-codegen/aws-models/cloudfront.json +++ b/codegen/sdk-codegen/aws-models/cloudfront.json @@ -6663,7 +6663,7 @@ } ], "traits": { - "smithy.api#documentation": "Gets a CloudFront origin access control.
", + "smithy.api#documentation": "Gets a CloudFront origin access control, including its unique identifier.
", "smithy.api#http": { "method": "GET", "uri": "/2020-05-31/origin-access-control/{Id}", @@ -6688,7 +6688,7 @@ } ], "traits": { - "smithy.api#documentation": "Gets a CloudFront origin access control.
", + "smithy.api#documentation": "Gets a CloudFront origin access control configuration.
", "smithy.api#http": { "method": "GET", "uri": "/2020-05-31/origin-access-control/{Id}/config", @@ -6715,7 +6715,7 @@ "OriginAccessControlConfig": { "target": "com.amazonaws.cloudfront#OriginAccessControlConfig", "traits": { - "smithy.api#documentation": "Contains an origin access control.
", + "smithy.api#documentation": "Contains an origin access control configuration.
", "smithy.api#httpPayload": {} } }, @@ -6747,7 +6747,7 @@ "OriginAccessControl": { "target": "com.amazonaws.cloudfront#OriginAccessControl", "traits": { - "smithy.api#documentation": "Contains an origin access control.
", + "smithy.api#documentation": "Contains an origin access control, including its unique identifier.
", "smithy.api#httpPayload": {} } }, @@ -10056,7 +10056,7 @@ } }, "traits": { - "smithy.api#documentation": "A CloudFront origin access control.
" + "smithy.api#documentation": "A CloudFront origin access control, including its unique identifier.
" } }, "com.amazonaws.cloudfront#OriginAccessControlAlreadyExists": { @@ -10099,7 +10099,7 @@ "SigningBehavior": { "target": "com.amazonaws.cloudfront#OriginAccessControlSigningBehaviors", "traits": { - "smithy.api#documentation": "Specifies which requests CloudFront signs (adds authentication information to). Specify\n\t\t\talways
for the most common use case. For more information, see origin access control advanced settings in the\n\t\t\tAmazon CloudFront Developer Guide.
This field can have one of the following values:
\n\t\t\n always
– CloudFront signs all origin requests, overwriting the\n\t\t\t\t\tAuthorization
header from the viewer request if one exists.
\n never
– CloudFront doesn't sign any origin requests. This value turns off origin\n\t\t\t\t\taccess control for all origins in all distributions that use this origin access\n\t\t\t\t\tcontrol.
\n no-override
– If the viewer request doesn't contain the\n\t\t\t\t\tAuthorization
header, then CloudFront signs the origin request. If the\n\t\t\t\t\tviewer request contains the Authorization
header, then CloudFront doesn't\n\t\t\t\t\tsign the origin request and instead passes along the Authorization
\n\t\t\t\t\theader from the viewer request. WARNING: To pass along the\n\t\t\t\t\tAuthorization
header from the viewer request, you\n\t\t\t\t\tmust add the Authorization
header to an origin request policy for all cache behaviors that\n\t\t\t\t\tuse origins associated with this origin access control.\n
Specifies which requests CloudFront signs (adds authentication information to). Specify\n\t\t\talways
for the most common use case. For more information, see origin access control advanced settings in the\n\t\t\tAmazon CloudFront Developer Guide.
This field can have one of the following values:
\n\t\t\n always
– CloudFront signs all origin requests, overwriting the\n\t\t\t\t\tAuthorization
header from the viewer request if one exists.
\n never
– CloudFront doesn't sign any origin requests. This value turns off origin\n\t\t\t\t\taccess control for all origins in all distributions that use this origin access\n\t\t\t\t\tcontrol.
\n no-override
– If the viewer request doesn't contain the\n\t\t\t\t\tAuthorization
header, then CloudFront signs the origin request. If the\n\t\t\t\t\tviewer request contains the Authorization
header, then CloudFront doesn't\n\t\t\t\t\tsign the origin request and instead passes along the Authorization
\n\t\t\t\t\theader from the viewer request. WARNING: To pass along the\n\t\t\t\t\tAuthorization
header from the viewer request, you\n\t\t\t\t\tmust add the Authorization
header to a cache policy for all cache behaviors that use\n\t\t\t\t\torigins associated with this origin access control.\n
A CloudFront origin access control.
" + "smithy.api#documentation": "A CloudFront origin access control configuration.
" } }, "com.amazonaws.cloudfront#OriginAccessControlInUse": {