diff --git a/.changelog/1c8199c9cd084abebc8779dc200d5f49.json b/.changelog/1c8199c9cd084abebc8779dc200d5f49.json new file mode 100644 index 00000000000..6c4f67c6689 --- /dev/null +++ b/.changelog/1c8199c9cd084abebc8779dc200d5f49.json @@ -0,0 +1,8 @@ +{ + "id": "1c8199c9-cd08-4abe-bc87-79dc200d5f49", + "type": "feature", + "description": "Updated error handling for empty resource names in \"UpdateSignalCatalog\" and \"GetModelManifest\" operations.", + "modules": [ + "service/iotfleetwise" + ] +} \ No newline at end of file diff --git a/.changelog/50f8e64ce67044b096e6f78e35504b74.json b/.changelog/50f8e64ce67044b096e6f78e35504b74.json new file mode 100644 index 00000000000..bd38035aa23 --- /dev/null +++ b/.changelog/50f8e64ce67044b096e6f78e35504b74.json @@ -0,0 +1,8 @@ +{ + "id": "50f8e64c-e670-44b0-96e6-f78e35504b74", + "type": "documentation", + "description": "General documentation updates for EFS.", + "modules": [ + "service/efs" + ] +} \ No newline at end of file diff --git a/.changelog/5e4123bba2414676b53cfaeaa1ec8d9b.json b/.changelog/5e4123bba2414676b53cfaeaa1ec8d9b.json new file mode 100644 index 00000000000..149cfc04eda --- /dev/null +++ b/.changelog/5e4123bba2414676b53cfaeaa1ec8d9b.json @@ -0,0 +1,8 @@ +{ + "id": "5e4123bb-a241-4676-b53c-faeaa1ec8d9b", + "type": "feature", + "description": "AWS sagemaker - Features: This release adds support for random seed, it's an integer value used to initialize a pseudo-random number generator. Setting a random seed will allow the hyperparameter tuning search strategies to produce more consistent configurations for the same tuning job.", + "modules": [ + "service/sagemaker" + ] +} \ No newline at end of file diff --git a/.changelog/74ad07bb29bd41ac9c9aa688166e0183.json b/.changelog/74ad07bb29bd41ac9c9aa688166e0183.json new file mode 100644 index 00000000000..5a9d65d878a --- /dev/null +++ b/.changelog/74ad07bb29bd41ac9c9aa688166e0183.json @@ -0,0 +1,8 @@ +{ + "id": "74ad07bb-29bd-41ac-9c9a-a688166e0183", + "type": "documentation", + "description": "This release provides the valid characters for the Description and Name field.", + "modules": [ + "service/guardduty" + ] +} \ No newline at end of file diff --git a/.changelog/7f24041f0c984309bf24a7201940907c.json b/.changelog/7f24041f0c984309bf24a7201940907c.json new file mode 100644 index 00000000000..a38e8b5380a --- /dev/null +++ b/.changelog/7f24041f0c984309bf24a7201940907c.json @@ -0,0 +1,8 @@ +{ + "id": "7f24041f-0c98-4309-bf24-a7201940907c", + "type": "feature", + "description": "AWS DataSync now supports the use of tags with task executions. With this new feature, you can apply tags each time you execute a task, giving you greater control and management over your task executions.", + "modules": [ + "service/datasync" + ] +} \ No newline at end of file diff --git a/.changelog/d4ce4792a71e4c6399dab3c779c2e088.json b/.changelog/d4ce4792a71e4c6399dab3c779c2e088.json new file mode 100644 index 00000000000..128f1bdc0f4 --- /dev/null +++ b/.changelog/d4ce4792a71e4c6399dab3c779c2e088.json @@ -0,0 +1,8 @@ +{ + "id": "d4ce4792-a71e-4c63-99da-b3c779c2e088", + "type": "documentation", + "description": "Updated documentation for CloudFront", + "modules": [ + "service/cloudfront" + ] +} \ No newline at end of file diff --git a/.changelog/fe5fffa5dea34b08b2a34b961409e5e2.json b/.changelog/fe5fffa5dea34b08b2a34b961409e5e2.json new file mode 100644 index 00000000000..149e90f822d --- /dev/null +++ b/.changelog/fe5fffa5dea34b08b2a34b961409e5e2.json @@ -0,0 +1,8 @@ +{ + "id": "fe5fffa5-dea3-4b08-b2a3-4b961409e5e2", + "type": "feature", + "description": "This release updates the ListConnectorEntities API action so that it returns paginated responses that customers can retrieve with next tokens.", + "modules": [ + "service/appflow" + ] +} \ No newline at end of file diff --git a/service/appflow/api_op_ListConnectorEntities.go b/service/appflow/api_op_ListConnectorEntities.go index 16fd271bce4..a60b8129cbe 100644 --- a/service/appflow/api_op_ListConnectorEntities.go +++ b/service/appflow/api_op_ListConnectorEntities.go @@ -50,6 +50,14 @@ type ListConnectorEntitiesInput struct { // supported by the provider. EntitiesPath *string + // The maximum number of items that the operation returns in the response. + MaxResults *int32 + + // A token that was provided by your prior ListConnectorEntities operation if the + // response was too big for the page size. You specify this token to get the next + // page of results in paginated response. + NextToken *string + noSmithyDocumentSerde } @@ -62,6 +70,11 @@ type ListConnectorEntitiesOutput struct { // This member is required. ConnectorEntityMap map[string][]types.ConnectorEntity + // A token that you specify in your next ListConnectorEntities operation to get the + // next page of results in paginated response. The ListConnectorEntities operation + // provides this token if the response is too big for the page size. + NextToken *string + // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/appflow/deserializers.go b/service/appflow/deserializers.go index a481fedf36a..e78d9a90452 100644 --- a/service/appflow/deserializers.go +++ b/service/appflow/deserializers.go @@ -1788,6 +1788,15 @@ func awsRestjson1_deserializeOpDocumentListConnectorEntitiesOutput(v **ListConne return err } + case "nextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + default: _, _ = key, value diff --git a/service/appflow/serializers.go b/service/appflow/serializers.go index 3560dc523fb..852c6ab4a9c 100644 --- a/service/appflow/serializers.go +++ b/service/appflow/serializers.go @@ -928,6 +928,16 @@ func awsRestjson1_serializeOpDocumentListConnectorEntitiesInput(v *ListConnector ok.String(*v.EntitiesPath) } + if v.MaxResults != nil { + ok := object.Key("maxResults") + ok.Integer(*v.MaxResults) + } + + if v.NextToken != nil { + ok := object.Key("nextToken") + ok.String(*v.NextToken) + } + return nil } diff --git a/service/cloudfront/api_op_AssociateAlias.go b/service/cloudfront/api_op_AssociateAlias.go index 28bb908f202..e346079c98e 100644 --- a/service/cloudfront/api_op_AssociateAlias.go +++ b/service/cloudfront/api_op_AssociateAlias.go @@ -11,7 +11,7 @@ import ( ) // Associates an alias (also known as a CNAME or an alternate domain name) with a -// CloudFront distribution. With this operation you can move an alias that’s +// CloudFront distribution. 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. @@ -44,7 +44,7 @@ type AssociateAliasInput struct { // This member is required. Alias *string - // The ID of the distribution that you’re associating the alias with. + // The ID of the distribution that you're associating the alias with. // // This member is required. TargetDistributionId *string diff --git a/service/cloudfront/api_op_CopyDistribution.go b/service/cloudfront/api_op_CopyDistribution.go index 02a854263c2..2a14c7f2920 100644 --- a/service/cloudfront/api_op_CopyDistribution.go +++ b/service/cloudfront/api_op_CopyDistribution.go @@ -15,7 +15,7 @@ import ( // distribution. A staging distribution is a copy of an existing distribution // (called the primary distribution) that you can use in a continuous deployment // workflow. After you create a staging distribution, you can use -// UpdateDistribution to modify the staging distribution’s configuration. Then you +// UpdateDistribution to modify the staging distribution's configuration. Then you // can use CreateContinuousDeploymentPolicy to incrementally move traffic to the // staging distribution. func (c *Client) CopyDistribution(ctx context.Context, params *CopyDistributionInput, optFns ...func(*Options)) (*CopyDistributionOutput, error) { diff --git a/service/cloudfront/api_op_CreateCachePolicy.go b/service/cloudfront/api_op_CreateCachePolicy.go index ff11b5372bc..3c00d1f9dd4 100644 --- a/service/cloudfront/api_op_CreateCachePolicy.go +++ b/service/cloudfront/api_op_CreateCachePolicy.go @@ -12,7 +12,7 @@ import ( ) // Creates a cache policy. After you create a cache policy, you can attach it to -// one or more cache behaviors. When it’s attached to a cache behavior, the cache +// one or more cache behaviors. When it's attached to a cache behavior, the cache // policy determines the following: // // * The values that CloudFront includes in the @@ -26,8 +26,8 @@ import ( // The // headers, cookies, and query strings that are included in the cache key are // automatically included in requests that CloudFront sends to the origin. -// CloudFront sends a request when it can’t find an object in its cache that -// matches the request’s cache key. If you want to send values to the origin but +// CloudFront sends a request when it can't find an object in its cache that +// matches the request's cache key. If you want to send values to the origin but // not include them in the cache key, use OriginRequestPolicy. For more information // about cache policies, see Controlling the cache key // (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html) diff --git a/service/cloudfront/api_op_CreateContinuousDeploymentPolicy.go b/service/cloudfront/api_op_CreateContinuousDeploymentPolicy.go index 81f3363f8fd..885830c6c6f 100644 --- a/service/cloudfront/api_op_CreateContinuousDeploymentPolicy.go +++ b/service/cloudfront/api_op_CreateContinuousDeploymentPolicy.go @@ -14,11 +14,11 @@ import ( // Creates a continuous deployment policy that distributes traffic for a custom // domain name to two different CloudFront distributions. To use a continuous // deployment policy, first use CopyDistribution to create a staging distribution, -// then use UpdateDistribution to modify the staging distribution’s configuration. +// then use UpdateDistribution to modify the staging distribution's configuration. // After you create and update a staging distribution, you can use a continuous // deployment policy to incrementally move traffic to the staging distribution. -// This workflow enables you to test changes to a distribution’s configuration -// before moving all of your domain’s production traffic to the new configuration. +// This workflow enables you to test changes to a distribution's configuration +// before moving all of your domain's production traffic to the new configuration. func (c *Client) CreateContinuousDeploymentPolicy(ctx context.Context, params *CreateContinuousDeploymentPolicyInput, optFns ...func(*Options)) (*CreateContinuousDeploymentPolicyOutput, error) { if params == nil { params = &CreateContinuousDeploymentPolicyInput{} diff --git a/service/cloudfront/api_op_CreateFunction.go b/service/cloudfront/api_op_CreateFunction.go index d841fe6a750..67236bf09c8 100644 --- a/service/cloudfront/api_op_CreateFunction.go +++ b/service/cloudfront/api_op_CreateFunction.go @@ -14,12 +14,12 @@ import ( // Creates a CloudFront function. To create a function, you provide the function // code and some configuration information about the function. The response // contains an Amazon Resource Name (ARN) that uniquely identifies the function. -// When you create a function, it’s in the DEVELOPMENT stage. In this stage, you +// When you create a function, it's in the DEVELOPMENT stage. In this stage, you // can test the function with TestFunction, and update it with UpdateFunction. When -// you’re ready to use your function with a CloudFront distribution, use +// you're ready to use your function with a CloudFront distribution, use // PublishFunction to copy the function from the DEVELOPMENT stage to LIVE. When -// it’s live, you can attach the function to a distribution’s cache behavior, using -// the function’s ARN. +// it's live, you can attach the function to a distribution's cache behavior, using +// the function's ARN. func (c *Client) CreateFunction(ctx context.Context, params *CreateFunctionInput, optFns ...func(*Options)) (*CreateFunctionOutput, error) { if params == nil { params = &CreateFunctionInput{} @@ -46,7 +46,7 @@ type CreateFunctionInput struct { FunctionCode []byte // Configuration information about the function, including an optional comment and - // the function’s runtime. + // the function's runtime. // // This member is required. FunctionConfig *types.FunctionConfig diff --git a/service/cloudfront/api_op_CreateOriginRequestPolicy.go b/service/cloudfront/api_op_CreateOriginRequestPolicy.go index 7bbf9793b4a..8d885c3f337 100644 --- a/service/cloudfront/api_op_CreateOriginRequestPolicy.go +++ b/service/cloudfront/api_op_CreateOriginRequestPolicy.go @@ -12,7 +12,7 @@ import ( ) // Creates an origin request policy. After you create an origin request policy, you -// can attach it to one or more cache behaviors. When it’s attached to a cache +// can attach it to one or more cache behaviors. When it's attached to a cache // behavior, the origin request policy determines the values that CloudFront // includes in requests that it sends to the origin. Each request that CloudFront // sends to the origin includes the following: @@ -29,7 +29,7 @@ import ( // include items from the viewer request and, in the case of headers, additional // ones that are added by CloudFront. // -// CloudFront sends a request when it can’t +// CloudFront sends a request when it can't // find a valid object in its cache that matches the request. If you want to send // values to the origin and also include them in the cache key, use CachePolicy. // For more information about origin request policies, see Controlling origin diff --git a/service/cloudfront/api_op_CreateResponseHeadersPolicy.go b/service/cloudfront/api_op_CreateResponseHeadersPolicy.go index 6c04efda109..f26ecfd7a3f 100644 --- a/service/cloudfront/api_op_CreateResponseHeadersPolicy.go +++ b/service/cloudfront/api_op_CreateResponseHeadersPolicy.go @@ -16,7 +16,7 @@ import ( // response headers policy, you provide some metadata about the policy, and a set // of configurations that specify the response headers. After you create a response // headers policy, you can use its ID to attach it to one or more cache behaviors -// in a CloudFront distribution. When it’s attached to a cache behavior, CloudFront +// in a CloudFront distribution. When it's attached to a cache behavior, CloudFront // adds the headers in the policy to HTTP responses that it sends for requests that // match the cache behavior. func (c *Client) CreateResponseHeadersPolicy(ctx context.Context, params *CreateResponseHeadersPolicyInput, optFns ...func(*Options)) (*CreateResponseHeadersPolicyOutput, error) { diff --git a/service/cloudfront/api_op_DeleteCachePolicy.go b/service/cloudfront/api_op_DeleteCachePolicy.go index 943c3c1e2e2..280d5641ef5 100644 --- a/service/cloudfront/api_op_DeleteCachePolicy.go +++ b/service/cloudfront/api_op_DeleteCachePolicy.go @@ -10,10 +10,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes a cache policy. You cannot delete a cache policy if it’s attached to a +// Deletes a cache policy. You cannot delete a cache policy if it's attached to a // cache behavior. First update your distributions to remove the cache policy from // all cache behaviors, then delete the cache policy. To delete a cache policy, you -// must provide the policy’s identifier and version. To get these values, you can +// must provide the policy's identifier and version. To get these values, you can // use ListCachePolicies or GetCachePolicy. func (c *Client) DeleteCachePolicy(ctx context.Context, params *DeleteCachePolicyInput, optFns ...func(*Options)) (*DeleteCachePolicyOutput, error) { if params == nil { @@ -39,7 +39,7 @@ type DeleteCachePolicyInput struct { Id *string // The version of the cache policy that you are deleting. The version is the cache - // policy’s ETag value, which you can get using ListCachePolicies, GetCachePolicy, + // policy's ETag value, which you can get using ListCachePolicies, GetCachePolicy, // or GetCachePolicyConfig. IfMatch *string diff --git a/service/cloudfront/api_op_DeleteContinuousDeploymentPolicy.go b/service/cloudfront/api_op_DeleteContinuousDeploymentPolicy.go index dd1779ade75..c61d4a46269 100644 --- a/service/cloudfront/api_op_DeleteContinuousDeploymentPolicy.go +++ b/service/cloudfront/api_op_DeleteContinuousDeploymentPolicy.go @@ -11,7 +11,7 @@ import ( ) // Deletes a continuous deployment policy. You cannot delete a continuous -// deployment policy that’s attached to a primary distribution. First update your +// deployment policy that's attached to a primary distribution. First update your // distribution to remove the continuous deployment policy, then you can delete the // policy. func (c *Client) DeleteContinuousDeploymentPolicy(ctx context.Context, params *DeleteContinuousDeploymentPolicyInput, optFns ...func(*Options)) (*DeleteContinuousDeploymentPolicyOutput, error) { diff --git a/service/cloudfront/api_op_DeleteFunction.go b/service/cloudfront/api_op_DeleteFunction.go index e03c4b5c3b3..b60cbc5f4c6 100644 --- a/service/cloudfront/api_op_DeleteFunction.go +++ b/service/cloudfront/api_op_DeleteFunction.go @@ -10,10 +10,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes a CloudFront function. You cannot delete a function if it’s associated +// Deletes a CloudFront function. You cannot delete a function if it's associated // with a cache behavior. First, update your distributions to remove the function // association from all cache behaviors, then delete the function. To delete a -// function, you must provide the function’s name and version (ETag value). To get +// function, you must provide the function's name and version (ETag value). To get // these values, you can use ListFunctions and DescribeFunction. func (c *Client) DeleteFunction(ctx context.Context, params *DeleteFunctionInput, optFns ...func(*Options)) (*DeleteFunctionOutput, error) { if params == nil { diff --git a/service/cloudfront/api_op_DeleteKeyGroup.go b/service/cloudfront/api_op_DeleteKeyGroup.go index 3cf5ac2f020..fb1dbf0dcaa 100644 --- a/service/cloudfront/api_op_DeleteKeyGroup.go +++ b/service/cloudfront/api_op_DeleteKeyGroup.go @@ -13,7 +13,7 @@ import ( // Deletes a key group. You cannot delete a key group that is referenced in a cache // behavior. First update your distributions to remove the key group from all cache // behaviors, then delete the key group. To delete a key group, you must provide -// the key group’s identifier and version. To get these values, use ListKeyGroups +// the key group's identifier and version. To get these values, use ListKeyGroups // followed by GetKeyGroup or GetKeyGroupConfig. func (c *Client) DeleteKeyGroup(ctx context.Context, params *DeleteKeyGroupInput, optFns ...func(*Options)) (*DeleteKeyGroupOutput, error) { if params == nil { @@ -39,7 +39,7 @@ type DeleteKeyGroupInput struct { Id *string // The version of the key group that you are deleting. The version is the key - // group’s ETag value. To get the ETag, use GetKeyGroup or GetKeyGroupConfig. + // group's ETag value. To get the ETag, use GetKeyGroup or GetKeyGroupConfig. IfMatch *string noSmithyDocumentSerde diff --git a/service/cloudfront/api_op_DeleteOriginRequestPolicy.go b/service/cloudfront/api_op_DeleteOriginRequestPolicy.go index 640fc12e01d..8ca31b41d74 100644 --- a/service/cloudfront/api_op_DeleteOriginRequestPolicy.go +++ b/service/cloudfront/api_op_DeleteOriginRequestPolicy.go @@ -11,10 +11,10 @@ import ( ) // Deletes an origin request policy. You cannot delete an origin request policy if -// it’s attached to any cache behaviors. First update your distributions to remove +// it's attached to any cache behaviors. First update your distributions to remove // the origin request policy from all cache behaviors, then delete the origin // request policy. To delete an origin request policy, you must provide the -// policy’s identifier and version. To get the identifier, you can use +// policy's identifier and version. To get the identifier, you can use // ListOriginRequestPolicies or GetOriginRequestPolicy. func (c *Client) DeleteOriginRequestPolicy(ctx context.Context, params *DeleteOriginRequestPolicyInput, optFns ...func(*Options)) (*DeleteOriginRequestPolicyOutput, error) { if params == nil { @@ -40,7 +40,7 @@ type DeleteOriginRequestPolicyInput struct { Id *string // The version of the origin request policy that you are deleting. The version is - // the origin request policy’s ETag value, which you can get using + // the origin request policy's ETag value, which you can get using // ListOriginRequestPolicies, GetOriginRequestPolicy, or // GetOriginRequestPolicyConfig. IfMatch *string diff --git a/service/cloudfront/api_op_DeleteRealtimeLogConfig.go b/service/cloudfront/api_op_DeleteRealtimeLogConfig.go index 49cffc4628d..4fb067b4d82 100644 --- a/service/cloudfront/api_op_DeleteRealtimeLogConfig.go +++ b/service/cloudfront/api_op_DeleteRealtimeLogConfig.go @@ -11,10 +11,10 @@ import ( ) // Deletes a real-time log configuration. You cannot delete a real-time log -// configuration if it’s attached to a cache behavior. First update your +// configuration if it's attached to a cache behavior. First update your // distributions to remove the real-time log configuration from all cache // behaviors, then delete the real-time log configuration. To delete a real-time -// log configuration, you can provide the configuration’s name or its Amazon +// log configuration, you can provide the configuration's name or its Amazon // Resource Name (ARN). You must provide at least one. If you provide both, // CloudFront uses the name to identify the real-time log configuration to delete. func (c *Client) DeleteRealtimeLogConfig(ctx context.Context, params *DeleteRealtimeLogConfigInput, optFns ...func(*Options)) (*DeleteRealtimeLogConfigOutput, error) { diff --git a/service/cloudfront/api_op_DeleteResponseHeadersPolicy.go b/service/cloudfront/api_op_DeleteResponseHeadersPolicy.go index 72e3a9b61ca..af052bd76ca 100644 --- a/service/cloudfront/api_op_DeleteResponseHeadersPolicy.go +++ b/service/cloudfront/api_op_DeleteResponseHeadersPolicy.go @@ -11,10 +11,10 @@ import ( ) // Deletes a response headers policy. You cannot delete a response headers policy -// if it’s attached to a cache behavior. First update your distributions to remove +// if it's attached to a cache behavior. First update your distributions to remove // the response headers policy from all cache behaviors, then delete the response // headers policy. To delete a response headers policy, you must provide the -// policy’s identifier and version. To get these values, you can use +// policy's identifier and version. To get these values, you can use // ListResponseHeadersPolicies or GetResponseHeadersPolicy. func (c *Client) DeleteResponseHeadersPolicy(ctx context.Context, params *DeleteResponseHeadersPolicyInput, optFns ...func(*Options)) (*DeleteResponseHeadersPolicyOutput, error) { if params == nil { @@ -40,7 +40,7 @@ type DeleteResponseHeadersPolicyInput struct { Id *string // The version of the response headers policy that you are deleting. The version is - // the response headers policy’s ETag value, which you can get using + // the response headers policy's ETag value, which you can get using // ListResponseHeadersPolicies, GetResponseHeadersPolicy, or // GetResponseHeadersPolicyConfig. IfMatch *string diff --git a/service/cloudfront/api_op_DescribeFunction.go b/service/cloudfront/api_op_DescribeFunction.go index 28f31ae8784..35510ae5874 100644 --- a/service/cloudfront/api_op_DescribeFunction.go +++ b/service/cloudfront/api_op_DescribeFunction.go @@ -12,9 +12,9 @@ import ( ) // Gets configuration information and metadata about a CloudFront function, but not -// the function’s code. To get a function’s code, use GetFunction. To get +// the function's code. To get a function's code, use GetFunction. To get // configuration information and metadata about a function, you must provide the -// function’s name and stage. To get these values, you can use ListFunctions. +// function's name and stage. To get these values, you can use ListFunctions. func (c *Client) DescribeFunction(ctx context.Context, params *DescribeFunctionInput, optFns ...func(*Options)) (*DescribeFunctionOutput, error) { if params == nil { params = &DescribeFunctionInput{} @@ -37,7 +37,7 @@ type DescribeFunctionInput struct { // This member is required. Name *string - // The function’s stage, either DEVELOPMENT or LIVE. + // The function's stage, either DEVELOPMENT or LIVE. Stage types.FunctionStage noSmithyDocumentSerde diff --git a/service/cloudfront/api_op_GetCachePolicy.go b/service/cloudfront/api_op_GetCachePolicy.go index ab936c02959..ef8efd41f3d 100644 --- a/service/cloudfront/api_op_GetCachePolicy.go +++ b/service/cloudfront/api_op_GetCachePolicy.go @@ -13,14 +13,14 @@ import ( // Gets a cache policy, including the following metadata: // -// * The policy’s +// * The policy's // identifier. // // * The date and time when the policy was last modified. // // To get a -// cache policy, you must provide the policy’s identifier. If the cache policy is -// attached to a distribution’s cache behavior, you can get the policy’s identifier +// cache policy, you must provide the policy's identifier. If the cache policy is +// attached to a distribution's cache behavior, you can get the policy's identifier // using ListDistributions or GetDistribution. If the cache policy is not attached // to a cache behavior, you can get the identifier using ListCachePolicies. func (c *Client) GetCachePolicy(ctx context.Context, params *GetCachePolicyInput, optFns ...func(*Options)) (*GetCachePolicyOutput, error) { @@ -41,7 +41,7 @@ func (c *Client) GetCachePolicy(ctx context.Context, params *GetCachePolicyInput type GetCachePolicyInput struct { // The unique identifier for the cache policy. If the cache policy is attached to a - // distribution’s cache behavior, you can get the policy’s identifier using + // distribution's cache behavior, you can get the policy's identifier using // ListDistributions or GetDistribution. If the cache policy is not attached to a // cache behavior, you can get the identifier using ListCachePolicies. // diff --git a/service/cloudfront/api_op_GetCachePolicyConfig.go b/service/cloudfront/api_op_GetCachePolicyConfig.go index dee3b73b53a..66d8e94d948 100644 --- a/service/cloudfront/api_op_GetCachePolicyConfig.go +++ b/service/cloudfront/api_op_GetCachePolicyConfig.go @@ -12,8 +12,8 @@ import ( ) // Gets a cache policy configuration. To get a cache policy configuration, you must -// provide the policy’s identifier. If the cache policy is attached to a -// distribution’s cache behavior, you can get the policy’s identifier using +// provide the policy's identifier. If the cache policy is attached to a +// distribution's cache behavior, you can get the policy's identifier using // ListDistributions or GetDistribution. If the cache policy is not attached to a // cache behavior, you can get the identifier using ListCachePolicies. func (c *Client) GetCachePolicyConfig(ctx context.Context, params *GetCachePolicyConfigInput, optFns ...func(*Options)) (*GetCachePolicyConfigOutput, error) { @@ -34,7 +34,7 @@ func (c *Client) GetCachePolicyConfig(ctx context.Context, params *GetCachePolic type GetCachePolicyConfigInput struct { // The unique identifier for the cache policy. If the cache policy is attached to a - // distribution’s cache behavior, you can get the policy’s identifier using + // distribution's cache behavior, you can get the policy's identifier using // ListDistributions or GetDistribution. If the cache policy is not attached to a // cache behavior, you can get the identifier using ListCachePolicies. // diff --git a/service/cloudfront/api_op_GetContinuousDeploymentPolicy.go b/service/cloudfront/api_op_GetContinuousDeploymentPolicy.go index 02e3e78a2cb..76aad9d0255 100644 --- a/service/cloudfront/api_op_GetContinuousDeploymentPolicy.go +++ b/service/cloudfront/api_op_GetContinuousDeploymentPolicy.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Gets a continuous deployment policy, including metadata (the policy’s identifier +// Gets a continuous deployment policy, including metadata (the policy's identifier // and the date and time when the policy was last modified). func (c *Client) GetContinuousDeploymentPolicy(ctx context.Context, params *GetContinuousDeploymentPolicyInput, optFns ...func(*Options)) (*GetContinuousDeploymentPolicyOutput, error) { if params == nil { diff --git a/service/cloudfront/api_op_GetFunction.go b/service/cloudfront/api_op_GetFunction.go index 340525f211e..827fabddd89 100644 --- a/service/cloudfront/api_op_GetFunction.go +++ b/service/cloudfront/api_op_GetFunction.go @@ -12,8 +12,8 @@ import ( ) // Gets the code of a CloudFront function. To get configuration information and -// metadata about a function, use DescribeFunction. To get a function’s code, you -// must provide the function’s name and stage. To get these values, you can use +// metadata about a function, use DescribeFunction. To get a function's code, you +// must provide the function's name and stage. To get these values, you can use // ListFunctions. func (c *Client) GetFunction(ctx context.Context, params *GetFunctionInput, optFns ...func(*Options)) (*GetFunctionOutput, error) { if params == nil { @@ -37,7 +37,7 @@ type GetFunctionInput struct { // This member is required. Name *string - // The function’s stage, either DEVELOPMENT or LIVE. + // The function's stage, either DEVELOPMENT or LIVE. Stage types.FunctionStage noSmithyDocumentSerde diff --git a/service/cloudfront/api_op_GetKeyGroup.go b/service/cloudfront/api_op_GetKeyGroup.go index 0e810f0fbb7..8d5a24d8a17 100644 --- a/service/cloudfront/api_op_GetKeyGroup.go +++ b/service/cloudfront/api_op_GetKeyGroup.go @@ -12,9 +12,9 @@ import ( ) // Gets a key group, including the date and time when the key group was last -// modified. To get a key group, you must provide the key group’s identifier. If -// the key group is referenced in a distribution’s cache behavior, you can get the -// key group’s identifier using ListDistributions or GetDistribution. If the key +// modified. To get a key group, you must provide the key group's identifier. If +// the key group is referenced in a distribution's cache behavior, you can get the +// key group's identifier using ListDistributions or GetDistribution. If the key // group is not referenced in a cache behavior, you can get the identifier using // ListKeyGroups. func (c *Client) GetKeyGroup(ctx context.Context, params *GetKeyGroupInput, optFns ...func(*Options)) (*GetKeyGroupOutput, error) { diff --git a/service/cloudfront/api_op_GetKeyGroupConfig.go b/service/cloudfront/api_op_GetKeyGroupConfig.go index b0cc400bed9..52060f307ce 100644 --- a/service/cloudfront/api_op_GetKeyGroupConfig.go +++ b/service/cloudfront/api_op_GetKeyGroupConfig.go @@ -12,8 +12,8 @@ import ( ) // Gets a key group configuration. To get a key group configuration, you must -// provide the key group’s identifier. If the key group is referenced in a -// distribution’s cache behavior, you can get the key group’s identifier using +// provide the key group's identifier. If the key group is referenced in a +// distribution's cache behavior, you can get the key group's identifier using // ListDistributions or GetDistribution. If the key group is not referenced in a // cache behavior, you can get the identifier using ListKeyGroups. func (c *Client) GetKeyGroupConfig(ctx context.Context, params *GetKeyGroupConfigInput, optFns ...func(*Options)) (*GetKeyGroupConfigOutput, error) { diff --git a/service/cloudfront/api_op_GetOriginRequestPolicy.go b/service/cloudfront/api_op_GetOriginRequestPolicy.go index 185e51d8226..842fed2baf5 100644 --- a/service/cloudfront/api_op_GetOriginRequestPolicy.go +++ b/service/cloudfront/api_op_GetOriginRequestPolicy.go @@ -13,15 +13,15 @@ import ( // Gets an origin request policy, including the following metadata: // -// * The policy’s +// * The policy's // identifier. // // * The date and time when the policy was last modified. // // To get an -// origin request policy, you must provide the policy’s identifier. If the origin -// request policy is attached to a distribution’s cache behavior, you can get the -// policy’s identifier using ListDistributions or GetDistribution. If the origin +// origin request policy, you must provide the policy's identifier. If the origin +// request policy is attached to a distribution's cache behavior, you can get the +// policy's identifier using ListDistributions or GetDistribution. If the origin // request policy is not attached to a cache behavior, you can get the identifier // using ListOriginRequestPolicies. func (c *Client) GetOriginRequestPolicy(ctx context.Context, params *GetOriginRequestPolicyInput, optFns ...func(*Options)) (*GetOriginRequestPolicyOutput, error) { @@ -42,7 +42,7 @@ func (c *Client) GetOriginRequestPolicy(ctx context.Context, params *GetOriginRe type GetOriginRequestPolicyInput struct { // The unique identifier for the origin request policy. If the origin request - // policy is attached to a distribution’s cache behavior, you can get the policy’s + // policy is attached to a distribution's cache behavior, you can get the policy's // identifier using ListDistributions or GetDistribution. If the origin request // policy is not attached to a cache behavior, you can get the identifier using // ListOriginRequestPolicies. diff --git a/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go b/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go index 24caead1ad5..5f772d49c17 100644 --- a/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go +++ b/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go @@ -12,8 +12,8 @@ import ( ) // Gets an origin request policy configuration. To get an origin request policy -// configuration, you must provide the policy’s identifier. If the origin request -// policy is attached to a distribution’s cache behavior, you can get the policy’s +// configuration, you must provide the policy's identifier. If the origin request +// policy is attached to a distribution's cache behavior, you can get the policy's // identifier using ListDistributions or GetDistribution. If the origin request // policy is not attached to a cache behavior, you can get the identifier using // ListOriginRequestPolicies. @@ -35,7 +35,7 @@ func (c *Client) GetOriginRequestPolicyConfig(ctx context.Context, params *GetOr type GetOriginRequestPolicyConfigInput struct { // The unique identifier for the origin request policy. If the origin request - // policy is attached to a distribution’s cache behavior, you can get the policy’s + // policy is attached to a distribution's cache behavior, you can get the policy's // identifier using ListDistributions or GetDistribution. If the origin request // policy is not attached to a cache behavior, you can get the identifier using // ListOriginRequestPolicies. diff --git a/service/cloudfront/api_op_GetRealtimeLogConfig.go b/service/cloudfront/api_op_GetRealtimeLogConfig.go index 9f31e8b51a8..5b7d58e055f 100644 --- a/service/cloudfront/api_op_GetRealtimeLogConfig.go +++ b/service/cloudfront/api_op_GetRealtimeLogConfig.go @@ -12,7 +12,7 @@ import ( ) // Gets a real-time log configuration. To get a real-time log configuration, you -// can provide the configuration’s name or its Amazon Resource Name (ARN). You must +// can provide the configuration's name or its Amazon Resource Name (ARN). You must // provide at least one. If you provide both, CloudFront uses the name to identify // the real-time log configuration to get. func (c *Client) GetRealtimeLogConfig(ctx context.Context, params *GetRealtimeLogConfigInput, optFns ...func(*Options)) (*GetRealtimeLogConfigOutput, error) { diff --git a/service/cloudfront/api_op_GetResponseHeadersPolicy.go b/service/cloudfront/api_op_GetResponseHeadersPolicy.go index af1cce1db78..18454046ebd 100644 --- a/service/cloudfront/api_op_GetResponseHeadersPolicy.go +++ b/service/cloudfront/api_op_GetResponseHeadersPolicy.go @@ -11,10 +11,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Gets a response headers policy, including metadata (the policy’s identifier and +// Gets a response headers policy, including metadata (the policy's identifier and // the date and time when the policy was last modified). To get a response headers -// policy, you must provide the policy’s identifier. If the response headers policy -// is attached to a distribution’s cache behavior, you can get the policy’s +// policy, you must provide the policy's identifier. If the response headers policy +// is attached to a distribution's cache behavior, you can get the policy's // identifier using ListDistributions or GetDistribution. If the response headers // policy is not attached to a cache behavior, you can get the identifier using // ListResponseHeadersPolicies. @@ -36,7 +36,7 @@ func (c *Client) GetResponseHeadersPolicy(ctx context.Context, params *GetRespon type GetResponseHeadersPolicyInput struct { // The identifier for the response headers policy. If the response headers policy - // is attached to a distribution’s cache behavior, you can get the policy’s + // is attached to a distribution's cache behavior, you can get the policy's // identifier using ListDistributions or GetDistribution. If the response headers // policy is not attached to a cache behavior, you can get the identifier using // ListResponseHeadersPolicies. diff --git a/service/cloudfront/api_op_GetResponseHeadersPolicyConfig.go b/service/cloudfront/api_op_GetResponseHeadersPolicyConfig.go index 86d424a698a..1f36cee73c8 100644 --- a/service/cloudfront/api_op_GetResponseHeadersPolicyConfig.go +++ b/service/cloudfront/api_op_GetResponseHeadersPolicyConfig.go @@ -12,8 +12,8 @@ import ( ) // Gets a response headers policy configuration. To get a response headers policy -// configuration, you must provide the policy’s identifier. If the response headers -// policy is attached to a distribution’s cache behavior, you can get the policy’s +// configuration, you must provide the policy's identifier. If the response headers +// policy is attached to a distribution's cache behavior, you can get the policy's // identifier using ListDistributions or GetDistribution. If the response headers // policy is not attached to a cache behavior, you can get the identifier using // ListResponseHeadersPolicies. @@ -35,7 +35,7 @@ func (c *Client) GetResponseHeadersPolicyConfig(ctx context.Context, params *Get type GetResponseHeadersPolicyConfigInput struct { // The identifier for the response headers policy. If the response headers policy - // is attached to a distribution’s cache behavior, you can get the policy’s + // is attached to a distribution's cache behavior, you can get the policy's // identifier using ListDistributions or GetDistribution. If the response headers // policy is not attached to a cache behavior, you can get the identifier using // ListResponseHeadersPolicies. diff --git a/service/cloudfront/api_op_ListCachePolicies.go b/service/cloudfront/api_op_ListCachePolicies.go index bd19846c782..0852ffbe80e 100644 --- a/service/cloudfront/api_op_ListCachePolicies.go +++ b/service/cloudfront/api_op_ListCachePolicies.go @@ -38,8 +38,8 @@ type ListCachePoliciesInput struct { // Use this field when paginating results to indicate where to begin in your list // of cache policies. The response includes cache policies in the list that occur - // after the marker. To get the next page of the list, set this field’s value to - // the value of NextMarker from the current page’s response. + // after the marker. To get the next page of the list, set this field's value to + // the value of NextMarker from the current page's response. Marker *string // The maximum number of cache policies that you want in the response. diff --git a/service/cloudfront/api_op_ListConflictingAliases.go b/service/cloudfront/api_op_ListConflictingAliases.go index 2fd02c450ea..503be1244be 100644 --- a/service/cloudfront/api_op_ListConflictingAliases.go +++ b/service/cloudfront/api_op_ListConflictingAliases.go @@ -16,7 +16,7 @@ import ( // distributions and Amazon Web Services accounts for each conflicting alias. In // the returned list, the distribution and account IDs are partially hidden, which // allows you to identify the distributions and accounts that you own, but helps to -// protect the information of ones that you don’t own. Use this operation to find +// protect the information of ones that you don't own. Use this operation to find // aliases that are in use in CloudFront that conflict or overlap with the provided // alias. For example, if you provide www.example.com as input, the returned list // can include www.example.com and the overlapping wildcard alternate domain name @@ -65,8 +65,8 @@ type ListConflictingAliasesInput struct { // Use this field when paginating results to indicate where to begin in the list of // conflicting aliases. The response includes conflicting aliases in the list that - // occur after the marker. To get the next page of the list, set this field’s value - // to the value of NextMarker from the current page’s response. + // occur after the marker. To get the next page of the list, set this field's value + // to the value of NextMarker from the current page's response. Marker *string // The maximum number of conflicting aliases that you want in the response. diff --git a/service/cloudfront/api_op_ListContinuousDeploymentPolicies.go b/service/cloudfront/api_op_ListContinuousDeploymentPolicies.go index 173b1947442..91ce1579227 100644 --- a/service/cloudfront/api_op_ListContinuousDeploymentPolicies.go +++ b/service/cloudfront/api_op_ListContinuousDeploymentPolicies.go @@ -36,8 +36,8 @@ type ListContinuousDeploymentPoliciesInput struct { // Use this field when paginating results to indicate where to begin in your list // of continuous deployment policies. The response includes policies in the list - // that occur after the marker. To get the next page of the list, set this field’s - // value to the value of NextMarker from the current page’s response. + // that occur after the marker. To get the next page of the list, set this field's + // value to the value of NextMarker from the current page's response. Marker *string // The maximum number of continuous deployment policies that you want returned in diff --git a/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go b/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go index fb760a65237..a9c065038d3 100644 --- a/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go +++ b/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go @@ -12,7 +12,7 @@ import ( ) // Gets a list of distribution IDs for distributions that have a cache behavior -// that’s associated with the specified cache policy. You can optionally specify +// that's associated with the specified cache policy. 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 @@ -42,8 +42,8 @@ type ListDistributionsByCachePolicyIdInput struct { // Use this field when paginating results to indicate where to begin in your list // of distribution IDs. The response includes distribution IDs in the list that - // occur after the marker. To get the next page of the list, set this field’s value - // to the value of NextMarker from the current page’s response. + // occur after the marker. To get the next page of the list, set this field's value + // to the value of NextMarker from the current page's response. Marker *string // The maximum number of distribution IDs that you want in the response. diff --git a/service/cloudfront/api_op_ListDistributionsByKeyGroup.go b/service/cloudfront/api_op_ListDistributionsByKeyGroup.go index 52ad69eb0b3..4fe158019d7 100644 --- a/service/cloudfront/api_op_ListDistributionsByKeyGroup.go +++ b/service/cloudfront/api_op_ListDistributionsByKeyGroup.go @@ -42,8 +42,8 @@ type ListDistributionsByKeyGroupInput struct { // Use this field when paginating results to indicate where to begin in your list // of distribution IDs. The response includes distribution IDs in the list that - // occur after the marker. To get the next page of the list, set this field’s value - // to the value of NextMarker from the current page’s response. + // occur after the marker. To get the next page of the list, set this field's value + // to the value of NextMarker from the current page's response. Marker *string // The maximum number of distribution IDs that you want in the response. diff --git a/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go b/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go index 22b7c07a17b..212f9a32288 100644 --- a/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go +++ b/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go @@ -12,7 +12,7 @@ import ( ) // Gets a list of distribution IDs for distributions that have a cache behavior -// that’s associated with the specified origin request policy. You can optionally +// that's associated with the specified origin request policy. 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 @@ -43,8 +43,8 @@ type ListDistributionsByOriginRequestPolicyIdInput struct { // Use this field when paginating results to indicate where to begin in your list // of distribution IDs. The response includes distribution IDs in the list that - // occur after the marker. To get the next page of the list, set this field’s value - // to the value of NextMarker from the current page’s response. + // occur after the marker. To get the next page of the list, set this field's value + // to the value of NextMarker from the current page's response. Marker *string // The maximum number of distribution IDs that you want in the response. diff --git a/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go b/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go index b9219c59a7b..17c914f9d99 100644 --- a/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go +++ b/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Gets a list of distributions that have a cache behavior that’s associated with +// Gets a list of distributions that have a cache behavior that's associated with // the specified real-time log configuration. You can specify the real-time log // configuration by its name or its Amazon Resource Name (ARN). You must provide at // least one. If you provide both, CloudFront uses the name to identify the @@ -40,8 +40,8 @@ type ListDistributionsByRealtimeLogConfigInput struct { // Use this field when paginating results to indicate where to begin in your list // of distributions. The response includes distributions in the list that occur - // after the marker. To get the next page of the list, set this field’s value to - // the value of NextMarker from the current page’s response. + // after the marker. To get the next page of the list, set this field's value to + // the value of NextMarker from the current page's response. Marker *string // The maximum number of distributions that you want in the response. diff --git a/service/cloudfront/api_op_ListDistributionsByResponseHeadersPolicyId.go b/service/cloudfront/api_op_ListDistributionsByResponseHeadersPolicyId.go index 15faf14c1b8..2f06601b703 100644 --- a/service/cloudfront/api_op_ListDistributionsByResponseHeadersPolicyId.go +++ b/service/cloudfront/api_op_ListDistributionsByResponseHeadersPolicyId.go @@ -12,7 +12,7 @@ import ( ) // Gets a list of distribution IDs for distributions that have a cache behavior -// that’s associated with the specified response headers policy. You can optionally +// that's associated with the specified response headers policy. 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 @@ -43,8 +43,8 @@ type ListDistributionsByResponseHeadersPolicyIdInput struct { // Use this field when paginating results to indicate where to begin in your list // of distribution IDs. The response includes distribution IDs in the list that - // occur after the marker. To get the next page of the list, set this field’s value - // to the value of NextMarker from the current page’s response. + // occur after the marker. To get the next page of the list, set this field's value + // to the value of NextMarker from the current page's response. Marker *string // The maximum number of distribution IDs that you want to get in the response. diff --git a/service/cloudfront/api_op_ListFunctions.go b/service/cloudfront/api_op_ListFunctions.go index 16e78046809..c3c57732e15 100644 --- a/service/cloudfront/api_op_ListFunctions.go +++ b/service/cloudfront/api_op_ListFunctions.go @@ -38,8 +38,8 @@ type ListFunctionsInput struct { // Use this field when paginating results to indicate where to begin in your list // of functions. The response includes functions in the list that occur after the - // marker. To get the next page of the list, set this field’s value to the value of - // NextMarker from the current page’s response. + // marker. To get the next page of the list, set this field's value to the value of + // NextMarker from the current page's response. Marker *string // The maximum number of functions that you want in the response. diff --git a/service/cloudfront/api_op_ListKeyGroups.go b/service/cloudfront/api_op_ListKeyGroups.go index ec919bd80d7..84a38fe2129 100644 --- a/service/cloudfront/api_op_ListKeyGroups.go +++ b/service/cloudfront/api_op_ListKeyGroups.go @@ -36,8 +36,8 @@ type ListKeyGroupsInput struct { // Use this field when paginating results to indicate where to begin in your list // of key groups. The response includes key groups in the list that occur after the - // marker. To get the next page of the list, set this field’s value to the value of - // NextMarker from the current page’s response. + // marker. To get the next page of the list, set this field's value to the value of + // NextMarker from the current page's response. Marker *string // The maximum number of key groups that you want in the response. diff --git a/service/cloudfront/api_op_ListOriginRequestPolicies.go b/service/cloudfront/api_op_ListOriginRequestPolicies.go index f8cbb66639b..a70466c780b 100644 --- a/service/cloudfront/api_op_ListOriginRequestPolicies.go +++ b/service/cloudfront/api_op_ListOriginRequestPolicies.go @@ -39,7 +39,7 @@ type ListOriginRequestPoliciesInput struct { // Use this field when paginating results to indicate where to begin in your list // of origin request policies. The response includes origin request policies in the // list that occur after the marker. To get the next page of the list, set this - // field’s value to the value of NextMarker from the current page’s response. + // field's value to the value of NextMarker from the current page's response. Marker *string // The maximum number of origin request policies that you want in the response. diff --git a/service/cloudfront/api_op_ListRealtimeLogConfigs.go b/service/cloudfront/api_op_ListRealtimeLogConfigs.go index 5ffe33e809d..e0e5d009c74 100644 --- a/service/cloudfront/api_op_ListRealtimeLogConfigs.go +++ b/service/cloudfront/api_op_ListRealtimeLogConfigs.go @@ -37,8 +37,8 @@ type ListRealtimeLogConfigsInput struct { // Use this field when paginating results to indicate where to begin in your list // of real-time log configurations. The response includes real-time log // configurations in the list that occur after the marker. To get the next page of - // the list, set this field’s value to the value of NextMarker from the current - // page’s response. + // the list, set this field's value to the value of NextMarker from the current + // page's response. Marker *string // The maximum number of real-time log configurations that you want in the diff --git a/service/cloudfront/api_op_ListResponseHeadersPolicies.go b/service/cloudfront/api_op_ListResponseHeadersPolicies.go index 68b396ca4e9..4763d5f30e3 100644 --- a/service/cloudfront/api_op_ListResponseHeadersPolicies.go +++ b/service/cloudfront/api_op_ListResponseHeadersPolicies.go @@ -39,7 +39,7 @@ type ListResponseHeadersPoliciesInput struct { // Use this field when paginating results to indicate where to begin in your list // of response headers policies. The response includes response headers policies in // the list that occur after the marker. To get the next page of the list, set this - // field’s value to the value of NextMarker from the current page’s response. + // field's value to the value of NextMarker from the current page's response. Marker *string // The maximum number of response headers policies that you want to get in the diff --git a/service/cloudfront/api_op_PublishFunction.go b/service/cloudfront/api_op_PublishFunction.go index 3b151ae72ee..1afaf316538 100644 --- a/service/cloudfront/api_op_PublishFunction.go +++ b/service/cloudfront/api_op_PublishFunction.go @@ -15,8 +15,8 @@ import ( // DEVELOPMENT stage to LIVE. This automatically updates all cache behaviors that // are using this function to use the newly published copy in the LIVE stage. When // a function is published to the LIVE stage, you can attach the function to a -// distribution’s cache behavior, using the function’s Amazon Resource Name (ARN). -// To publish a function, you must provide the function’s name and version (ETag +// distribution's cache behavior, using the function's Amazon Resource Name (ARN). +// To publish a function, you must provide the function's name and version (ETag // value). To get these values, you can use ListFunctions and DescribeFunction. func (c *Client) PublishFunction(ctx context.Context, params *PublishFunctionInput, optFns ...func(*Options)) (*PublishFunctionOutput, error) { if params == nil { diff --git a/service/cloudfront/api_op_TestFunction.go b/service/cloudfront/api_op_TestFunction.go index 084201c3dc9..5307366708a 100644 --- a/service/cloudfront/api_op_TestFunction.go +++ b/service/cloudfront/api_op_TestFunction.go @@ -14,14 +14,14 @@ import ( // Tests a CloudFront function. To test a function, you provide an event object // that represents an HTTP request or response that your CloudFront distribution // could receive in production. CloudFront runs the function, passing it the event -// object that you provided, and returns the function’s result (the modified event +// object that you provided, and returns the function's result (the modified event // object) in the response. The response also contains function logs and error // messages, if any exist. For more information about testing functions, see // Testing functions // (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/managing-functions.html#test-function) // in the Amazon CloudFront Developer Guide. To test a function, you provide the -// function’s name and version (ETag value) along with the event object. To get the -// function’s name and version, you can use ListFunctions and DescribeFunction. +// function's name and version (ETag value) along with the event object. To get the +// function's name and version, you can use ListFunctions and DescribeFunction. func (c *Client) TestFunction(ctx context.Context, params *TestFunctionInput, optFns ...func(*Options)) (*TestFunctionOutput, error) { if params == nil { params = &TestFunctionInput{} diff --git a/service/cloudfront/api_op_UpdateCachePolicy.go b/service/cloudfront/api_op_UpdateCachePolicy.go index 14b353fc6b0..5268df7496c 100644 --- a/service/cloudfront/api_op_UpdateCachePolicy.go +++ b/service/cloudfront/api_op_UpdateCachePolicy.go @@ -24,7 +24,7 @@ import ( // // * Call UpdateCachePolicy by providing the entire cache // policy configuration, including the fields that you modified and those that you -// didn’t. +// didn't. func (c *Client) UpdateCachePolicy(ctx context.Context, params *UpdateCachePolicyInput, optFns ...func(*Options)) (*UpdateCachePolicyOutput, error) { if params == nil { params = &UpdateCachePolicyInput{} @@ -48,14 +48,14 @@ type UpdateCachePolicyInput struct { CachePolicyConfig *types.CachePolicyConfig // The unique identifier for the cache policy that you are updating. The identifier - // is returned in a cache behavior’s CachePolicyId field in the response to + // is returned in a cache behavior's CachePolicyId field in the response to // GetDistributionConfig. // // This member is required. Id *string // The version of the cache policy that you are updating. The version is returned - // in the cache policy’s ETag field in the response to GetCachePolicyConfig. + // in the cache policy's ETag field in the response to GetCachePolicyConfig. IfMatch *string noSmithyDocumentSerde diff --git a/service/cloudfront/api_op_UpdateContinuousDeploymentPolicy.go b/service/cloudfront/api_op_UpdateContinuousDeploymentPolicy.go index 3ef8681cfac..0d2bd6e2668 100644 --- a/service/cloudfront/api_op_UpdateContinuousDeploymentPolicy.go +++ b/service/cloudfront/api_op_UpdateContinuousDeploymentPolicy.go @@ -28,7 +28,7 @@ import ( // * Use // UpdateContinuousDeploymentPolicy, providing the entire continuous deployment // policy configuration, including the fields that you modified and those that you -// didn’t. +// didn't. func (c *Client) UpdateContinuousDeploymentPolicy(ctx context.Context, params *UpdateContinuousDeploymentPolicyInput, optFns ...func(*Options)) (*UpdateContinuousDeploymentPolicyOutput, error) { if params == nil { params = &UpdateContinuousDeploymentPolicyInput{} diff --git a/service/cloudfront/api_op_UpdateDistribution.go b/service/cloudfront/api_op_UpdateDistribution.go index 8ce980d6a6f..a952d46afb7 100644 --- a/service/cloudfront/api_op_UpdateDistribution.go +++ b/service/cloudfront/api_op_UpdateDistribution.go @@ -27,14 +27,14 @@ import ( // must rename the ETag field to IfMatch, leaving the value unchanged. (Set the // value of IfMatch to the value of ETag, then remove the ETag field.) // -// * You can’t +// * You can't // change the value of CallerReference. // // * Submit an UpdateDistribution request, // providing the distribution configuration. The new configuration replaces the // existing configuration. The values that you specify in an UpdateDistribution // 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. +// all fields: the ones that you modified and also the ones that you didn't. func (c *Client) UpdateDistribution(ctx context.Context, params *UpdateDistributionInput, optFns ...func(*Options)) (*UpdateDistributionOutput, error) { if params == nil { params = &UpdateDistributionInput{} diff --git a/service/cloudfront/api_op_UpdateDistributionWithStagingConfig.go b/service/cloudfront/api_op_UpdateDistributionWithStagingConfig.go index ab1c5e275c2..77508dc8371 100644 --- a/service/cloudfront/api_op_UpdateDistributionWithStagingConfig.go +++ b/service/cloudfront/api_op_UpdateDistributionWithStagingConfig.go @@ -17,11 +17,11 @@ import ( // otherwise its configuration is overwritten to match the staging distribution. // 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 +// 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 +// 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. +// your domain's traffic back to the primary distribution. func (c *Client) UpdateDistributionWithStagingConfig(ctx context.Context, params *UpdateDistributionWithStagingConfigInput, optFns ...func(*Options)) (*UpdateDistributionWithStagingConfigOutput, error) { if params == nil { params = &UpdateDistributionWithStagingConfigInput{} @@ -62,7 +62,7 @@ type UpdateDistributionWithStagingConfigOutput struct { // the details about how to track and manage content delivery. Distribution *types.Distribution - // The current version of the primary distribution (after it’s updated). + // The current version of the primary distribution (after it's updated). ETag *string // Metadata pertaining to the operation's result. diff --git a/service/cloudfront/api_op_UpdateFunction.go b/service/cloudfront/api_op_UpdateFunction.go index 170ec77c3b0..f250458d295 100644 --- a/service/cloudfront/api_op_UpdateFunction.go +++ b/service/cloudfront/api_op_UpdateFunction.go @@ -11,9 +11,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Updates a CloudFront function. You can update a function’s code or the comment -// that describes the function. You cannot update a function’s name. To update a -// function, you provide the function’s name and version (ETag value) along with +// Updates a CloudFront function. You can update a function's code or the comment +// that describes the function. You cannot update a function's name. To update a +// function, you provide the function's name and version (ETag value) along with // the updated function code. To get the name and version, you can use // ListFunctions and DescribeFunction. func (c *Client) UpdateFunction(ctx context.Context, params *UpdateFunctionInput, optFns ...func(*Options)) (*UpdateFunctionOutput, error) { diff --git a/service/cloudfront/api_op_UpdateKeyGroup.go b/service/cloudfront/api_op_UpdateKeyGroup.go index ce34a1bea2f..7be99e6930e 100644 --- a/service/cloudfront/api_op_UpdateKeyGroup.go +++ b/service/cloudfront/api_op_UpdateKeyGroup.go @@ -23,7 +23,7 @@ import ( // // * Call // UpdateKeyGroup with the entire key group object, including the fields that you -// modified and those that you didn’t. +// modified and those that you didn't. func (c *Client) UpdateKeyGroup(ctx context.Context, params *UpdateKeyGroupInput, optFns ...func(*Options)) (*UpdateKeyGroupOutput, error) { if params == nil { params = &UpdateKeyGroupInput{} @@ -52,7 +52,7 @@ type UpdateKeyGroupInput struct { KeyGroupConfig *types.KeyGroupConfig // The version of the key group that you are updating. The version is the key - // group’s ETag value. + // group's ETag value. IfMatch *string noSmithyDocumentSerde diff --git a/service/cloudfront/api_op_UpdateOriginRequestPolicy.go b/service/cloudfront/api_op_UpdateOriginRequestPolicy.go index f1d6d608df4..e30c9ac5bee 100644 --- a/service/cloudfront/api_op_UpdateOriginRequestPolicy.go +++ b/service/cloudfront/api_op_UpdateOriginRequestPolicy.go @@ -25,7 +25,7 @@ import ( // // * Call UpdateOriginRequestPolicy by providing the entire origin request // policy configuration, including the fields that you modified and those that you -// didn’t. +// didn't. func (c *Client) UpdateOriginRequestPolicy(ctx context.Context, params *UpdateOriginRequestPolicyInput, optFns ...func(*Options)) (*UpdateOriginRequestPolicyOutput, error) { if params == nil { params = &UpdateOriginRequestPolicyInput{} @@ -44,7 +44,7 @@ func (c *Client) UpdateOriginRequestPolicy(ctx context.Context, params *UpdateOr type UpdateOriginRequestPolicyInput struct { // The unique identifier for the origin request policy that you are updating. The - // identifier is returned in a cache behavior’s OriginRequestPolicyId field in the + // identifier is returned in a cache behavior's OriginRequestPolicyId field in the // response to GetDistributionConfig. // // This member is required. @@ -56,7 +56,7 @@ type UpdateOriginRequestPolicyInput struct { OriginRequestPolicyConfig *types.OriginRequestPolicyConfig // The version of the origin request policy that you are updating. The version is - // returned in the origin request policy’s ETag field in the response to + // returned in the origin request policy's ETag field in the response to // GetOriginRequestPolicyConfig. IfMatch *string diff --git a/service/cloudfront/api_op_UpdateRealtimeLogConfig.go b/service/cloudfront/api_op_UpdateRealtimeLogConfig.go index a9409bdc8ab..bb982e9bcb3 100644 --- a/service/cloudfront/api_op_UpdateRealtimeLogConfig.go +++ b/service/cloudfront/api_op_UpdateRealtimeLogConfig.go @@ -24,10 +24,10 @@ import ( // // * Call this API // (UpdateRealtimeLogConfig) by providing the entire real-time log configuration, -// including the parameters that you modified and those that you didn’t. +// including the parameters that you modified and those that you didn't. // // You -// cannot update a real-time log configuration’s Name or ARN. +// cannot update a real-time log configuration's Name or ARN. func (c *Client) UpdateRealtimeLogConfig(ctx context.Context, params *UpdateRealtimeLogConfigInput, optFns ...func(*Options)) (*UpdateRealtimeLogConfigOutput, error) { if params == nil { params = &UpdateRealtimeLogConfigInput{} diff --git a/service/cloudfront/api_op_UpdateResponseHeadersPolicy.go b/service/cloudfront/api_op_UpdateResponseHeadersPolicy.go index da752c1bb6e..7fed14174f2 100644 --- a/service/cloudfront/api_op_UpdateResponseHeadersPolicy.go +++ b/service/cloudfront/api_op_UpdateResponseHeadersPolicy.go @@ -16,7 +16,7 @@ import ( // of others. To update a response headers policy configuration: // // * Use -// GetResponseHeadersPolicyConfig to get the current policy’s configuration. +// GetResponseHeadersPolicyConfig to get the current policy's configuration. // // * // Modify the fields in the response headers policy configuration that you want to @@ -24,7 +24,7 @@ import ( // // * Call UpdateResponseHeadersPolicy, providing the entire response // headers policy configuration, including the fields that you modified and those -// that you didn’t. +// that you didn't. func (c *Client) UpdateResponseHeadersPolicy(ctx context.Context, params *UpdateResponseHeadersPolicyInput, optFns ...func(*Options)) (*UpdateResponseHeadersPolicyOutput, error) { if params == nil { params = &UpdateResponseHeadersPolicyInput{} @@ -53,7 +53,7 @@ type UpdateResponseHeadersPolicyInput struct { ResponseHeadersPolicyConfig *types.ResponseHeadersPolicyConfig // The version of the response headers policy that you are updating. The version is - // returned in the cache policy’s ETag field in the response to + // returned in the cache policy's ETag field in the response to // GetResponseHeadersPolicyConfig. IfMatch *string diff --git a/service/cloudfront/types/errors.go b/service/cloudfront/types/errors.go index 0f24e725cf5..a2627c0182e 100644 --- a/service/cloudfront/types/errors.go +++ b/service/cloudfront/types/errors.go @@ -393,7 +393,7 @@ func (e *FunctionAlreadyExists) ErrorMessage() string { func (e *FunctionAlreadyExists) ErrorCode() string { return "FunctionAlreadyExists" } func (e *FunctionAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } -// Cannot delete the function because it’s attached to one or more cache behaviors. +// Cannot delete the function because it's attached to one or more cache behaviors. type FunctionInUse struct { Message *string @@ -1154,7 +1154,7 @@ func (e *NoSuchCloudFrontOriginAccessIdentity) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } -// The continuous deployment policy doesn’t exist. +// The continuous deployment policy doesn't exist. type NoSuchContinuousDeploymentPolicy struct { Message *string diff --git a/service/cloudfront/types/types.go b/service/cloudfront/types/types.go index 11bb2a1ad2b..91e390028a0 100644 --- a/service/cloudfront/types/types.go +++ b/service/cloudfront/types/types.go @@ -170,8 +170,8 @@ type AllowedMethods struct { // known as limit) on the number of cache behaviors that you can add to a // distribution, see Quotas // (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// in the Amazon CloudFront Developer Guide. If you don’t want to specify any cache -// behaviors, include only an empty CacheBehaviors element. Don’t include an empty +// in the Amazon CloudFront Developer Guide. If you don't want to specify any cache +// behaviors, include only an empty CacheBehaviors element. Don't include an empty // CacheBehavior element because this is invalid. 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 @@ -224,7 +224,7 @@ type CacheBehavior struct { // in the Amazon CloudFront Developer Guide. The only way to guarantee that viewers // retrieve an object that was fetched from the origin using HTTPS is never to use // any other protocol to fetch the object. If you have recently changed from HTTP - // to HTTPS, we recommend that you clear your objects’ cache because cached objects + // to HTTPS, we recommend that you clear your objects' cache because cached objects // are protocol agnostic. That means that an edge location will return an object // from the cache regardless of whether the current request protocol matches the // protocol used previously. For more information, see Managing Cache Expiration @@ -400,7 +400,7 @@ type CacheBehavior struct { // URLs or signed cookies. When a cache behavior contains trusted signers, // CloudFront requires signed URLs or signed cookies for all requests that match // the cache behavior. The URLs or cookies must be signed with the private key of a - // CloudFront key pair in the trusted signer’s Amazon Web Services account. The + // CloudFront key pair in the trusted signer's Amazon Web Services account. The // signed URL or cookie contains information about which public key CloudFront // should use to verify the signature. For more information, see Serving private // content @@ -457,7 +457,7 @@ type CachedMethods struct { noSmithyDocumentSerde } -// A cache policy. When it’s attached to a cache behavior, the cache policy +// A cache policy. When it's attached to a cache behavior, the cache policy // determines the following: // // * The values that CloudFront includes in the cache @@ -471,7 +471,7 @@ type CachedMethods struct { // The headers, cookies, // and query strings that are included in the cache key are automatically included // in requests that CloudFront sends to the origin. CloudFront sends a request when -// it can’t find a valid object in its cache that matches the request’s cache key. +// it can't find a valid object in its cache that matches the request's cache key. // If you want to send values to the origin but not include them in the cache key, // use OriginRequestPolicy. type CachePolicy struct { @@ -507,8 +507,8 @@ type CachePolicy struct { // // The headers, cookies, and query strings that are included // in the cache key are automatically included in requests that CloudFront sends to -// the origin. CloudFront sends a request when it can’t find a valid object in its -// cache that matches the request’s cache key. If you want to send values to the +// the origin. CloudFront sends a request when it can't find a valid object in its +// cache that matches the request's cache key. If you want to send values to the // origin but not include them in the cache key, use OriginRequestPolicy. type CachePolicyConfig struct { @@ -533,7 +533,7 @@ type CachePolicyConfig struct { // The default amount of time, in seconds, that you want objects to stay in the // CloudFront cache before CloudFront sends another request to the origin to see if - // the object has been updated. CloudFront uses this value as the object’s time to + // the object has been updated. CloudFront uses this value as the object's time to // live (TTL) only when the origin does not send Cache-Control or Expires headers // with the object. For more information, see Managing How Long Content Stays in an // Edge Cache (Expiration) @@ -830,14 +830,14 @@ type CloudFrontOriginAccessIdentitySummary struct { } // An alias (also called a CNAME) and the CloudFront distribution and Amazon Web -// Services account ID that it’s associated with. The distribution and account IDs +// Services account ID that it's associated with. The distribution and account IDs // are partially hidden, which allows you to identify the distributions and // accounts that you own, but helps to protect the information of ones that you -// don’t own. +// don't own. type ConflictingAlias struct { // The (partially hidden) ID of the Amazon Web Services account that owns the - // distribution that’s associated with the alias. + // distribution that's associated with the alias. AccountId *string // An alias (also called a CNAME). @@ -854,7 +854,7 @@ type ConflictingAlias struct { // Amazon Web Services accounts that they are associated with. In the list, the // distribution and account IDs are partially hidden, which allows you to identify // the distributions and accounts that you own, but helps to protect the -// information of ones that you don’t own. +// information of ones that you don't own. type ConflictingAliasesList struct { // Contains the conflicting aliases in the list. @@ -1012,7 +1012,7 @@ type ContinuousDeploymentPolicySummary struct { type ContinuousDeploymentSingleHeaderConfig struct { // The request header name that you want CloudFront to send to your staging - // distribution. + // distribution. The header must contain the prefix aws-cf-cd-. // // This member is required. Header *string @@ -1270,7 +1270,7 @@ type CustomOriginConfig struct { // Specifies how long, in seconds, CloudFront persists its connection to the // origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the - // default (if you don’t specify otherwise) is 5 seconds. For more information, see + // default (if you don't specify otherwise) is 5 seconds. For more information, see // Origin Keep-alive Timeout // (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginKeepaliveTimeout) // in the Amazon CloudFront Developer Guide. @@ -1278,7 +1278,7 @@ type CustomOriginConfig struct { // Specifies how long, in seconds, CloudFront waits for a response from the origin. // This is also known as the origin response timeout. The minimum timeout is 1 - // second, the maximum is 60 seconds, and the default (if you don’t specify + // second, the maximum is 60 seconds, and the default (if you don't specify // otherwise) is 30 seconds. For more information, see Origin Response Timeout // (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginResponseTimeout) // in the Amazon CloudFront Developer Guide. @@ -1294,8 +1294,8 @@ type CustomOriginConfig struct { noSmithyDocumentSerde } -// A complex type that describes the default cache behavior if you don’t specify a -// CacheBehavior element or if request URLs don’t match any of the values of +// A complex type that describes the default cache behavior if you don't specify a +// CacheBehavior element or if request URLs don't match any of the values of // PathPattern in CacheBehavior elements. You must create exactly one default cache // behavior. type DefaultCacheBehavior struct { @@ -1327,7 +1327,7 @@ type DefaultCacheBehavior struct { // in the Amazon CloudFront Developer Guide. The only way to guarantee that viewers // retrieve an object that was fetched from the origin using HTTPS is never to use // any other protocol to fetch the object. If you have recently changed from HTTP - // to HTTPS, we recommend that you clear your objects’ cache because cached objects + // to HTTPS, we recommend that you clear your objects' cache because cached objects // are protocol agnostic. That means that an edge location will return an object // from the cache regardless of whether the current request protocol matches the // protocol used previously. For more information, see Managing Cache Expiration @@ -1505,7 +1505,7 @@ type DefaultCacheBehavior struct { // URLs or signed cookies. When a cache behavior contains trusted signers, // CloudFront requires signed URLs or signed cookies for all requests that match // the cache behavior. The URLs or cookies must be signed with the private key of a - // CloudFront key pair in a trusted signer’s Amazon Web Services account. The + // CloudFront key pair in a trusted signer's Amazon Web Services account. The // signed URL or cookie contains information about which public key CloudFront // should use to verify the signature. For more information, see Serving private // content @@ -1520,23 +1520,23 @@ type DefaultCacheBehavior struct { // the details about how to track and manage content delivery. type Distribution struct { - // The distribution’s Amazon Resource Name (ARN). + // The distribution's Amazon Resource Name (ARN). // // This member is required. ARN *string - // The distribution’s configuration. + // The distribution's configuration. // // This member is required. DistributionConfig *DistributionConfig - // The distribution’s CloudFront domain name. For example: + // The distribution's CloudFront domain name. For example: // d111111abcdef8.cloudfront.net. // // This member is required. DomainName *string - // The distribution’s identifier. For example: E1U5RQF7T870K0. + // The distribution's identifier. For example: E1U5RQF7T870K0. // // This member is required. Id *string @@ -1551,25 +1551,21 @@ type Distribution struct { // This member is required. LastModifiedTime *time.Time - // The distribution’s status. When the status is Deployed, the distribution’s + // The distribution's status. When the status is Deployed, the distribution's // information is fully propagated to all CloudFront edge locations. // // This member is required. Status *string - // CloudFront automatically adds this field to the response if you’ve configured a - // cache behavior in this distribution to serve private content using key groups. // This field contains a list of key groups and the public keys in each key group // that CloudFront can use to verify the signatures of signed URLs or signed // cookies. ActiveTrustedKeyGroups *ActiveTrustedKeyGroups - // We recommend using TrustedKeyGroups instead of TrustedSigners. CloudFront - // automatically adds this field to the response if you’ve configured a cache - // behavior in this distribution to serve private content using trusted signers. - // This field contains a list of Amazon Web Services account IDs and the active - // CloudFront key pairs in each account that CloudFront can use to verify the - // signatures of signed URLs or signed cookies. + // We recommend using TrustedKeyGroups instead of TrustedSigners. This field + // contains a list of Amazon Web Services account IDs and the active CloudFront key + // pairs in each account that CloudFront can use to verify the signatures of signed + // URLs or signed cookies. ActiveTrustedSigners *ActiveTrustedSigners // Amazon Web Services services in China customers must file for an Internet @@ -1598,8 +1594,8 @@ type DistributionConfig struct { // This member is required. CallerReference *string - // An optional comment to describe the distribution. The comment cannot be longer - // than 128 characters. + // A comment to describe the distribution. The comment cannot be longer than 128 + // characters. // // This member is required. Comment *string @@ -1746,7 +1742,7 @@ type DistributionConfig struct { // staging distribution. Staging *bool - // A complex type that determines the distribution’s SSL/TLS configuration for + // A complex type that determines the distribution's SSL/TLS configuration for // communicating with viewers. ViewerCertificate *ViewerCertificate @@ -1959,7 +1955,7 @@ type DistributionSummary struct { // This member is required. Status *string - // A complex type that determines the distribution’s SSL/TLS configuration for + // A complex type that determines the distribution's SSL/TLS configuration for // communicating with viewers. // // This member is required. @@ -2414,7 +2410,7 @@ type FunctionConfig struct { // This member is required. Comment *string - // The function’s runtime environment. The only valid value is cloudfront-js-1.0. + // The function's runtime environment. The only valid value is cloudfront-js-1.0. // // This member is required. Runtime FunctionRuntime @@ -2466,7 +2462,7 @@ type FunctionMetadata struct { // The stage that the function is in, either DEVELOPMENT or LIVE. When a function // is in the DEVELOPMENT stage, you can test the function with TestFunction, and // update it with UpdateFunction. When a function is in the LIVE stage, you can - // attach the function to a distribution’s cache behavior, using the function’s + // attach the function to a distribution's cache behavior, using the function's // ARN. Stage FunctionStage @@ -2966,8 +2962,8 @@ type Origin struct { Id *string // The number of times that CloudFront attempts to connect to the origin. The - // minimum number is 1, the maximum is 3, and the default (if you don’t specify - // otherwise) is 3. For a custom origin (including an Amazon S3 bucket that’s + // minimum number is 1, the maximum is 3, and the default (if you don't specify + // otherwise) is 3. For a custom origin (including an Amazon S3 bucket that's // configured with static website hosting), this value also specifies the number of // times that CloudFront attempts to get a response from the origin, in the case of // an Origin Response Timeout @@ -2979,7 +2975,7 @@ type Origin struct { // The number of seconds that CloudFront waits when trying to establish a // connection to the origin. The minimum timeout is 1 second, the maximum is 10 - // seconds, and the default (if you don’t specify otherwise) is 10 seconds. For + // seconds, and the default (if you don't specify otherwise) is 10 seconds. For // more information, see Origin Connection Timeout // (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#origin-connection-timeout) // in the Amazon CloudFront Developer Guide. @@ -3284,7 +3280,7 @@ type OriginGroups struct { noSmithyDocumentSerde } -// An origin request policy. When it’s attached to a cache behavior, the origin +// An origin request policy. When it's attached to a cache behavior, the origin // request policy determines the values that CloudFront includes in requests that // it sends to the origin. Each request that CloudFront sends to the origin // includes the following: @@ -3301,7 +3297,7 @@ type OriginGroups struct { // items from the viewer request and, in the case of headers, additional ones that // are added by CloudFront. // -// CloudFront sends a request when it can’t find an +// CloudFront sends a request when it can't find an // object in its cache that matches the request. If you want to send values to the // origin and also include them in the cache key, use CachePolicy. type OriginRequestPolicy struct { @@ -3341,7 +3337,7 @@ type OriginRequestPolicy struct { // headers, additional ones that are added by CloudFront. // // CloudFront sends a -// request when it can’t find an object in its cache that matches the request. If +// request when it can't find an object in its cache that matches the request. If // you want to send values to the origin and also include them in the cache key, // use CachePolicy. type OriginRequestPolicyConfig struct { @@ -3530,9 +3526,9 @@ type Origins struct { // in the Amazon CloudFront Developer Guide. type OriginShield struct { - // A flag that specifies whether Origin Shield is enabled. When it’s enabled, + // A flag that specifies whether Origin Shield is enabled. When it's enabled, // CloudFront routes all requests through Origin Shield, which can help protect - // your origin. When it’s disabled, CloudFront might send requests directly to your + // your origin. When it's disabled, CloudFront might send requests directly to your // origin from multiple edge locations or regional edge caches. // // This member is required. @@ -3575,8 +3571,8 @@ type OriginSslProtocols struct { // CloudFront uses the cache key to find an object in its cache that it can return // to the viewer. The headers, cookies, and query strings that are included in the // cache key are automatically included in requests that CloudFront sends to the -// origin. CloudFront sends a request when it can’t find an object in its cache -// that matches the request’s cache key. If you want to send values to the origin +// origin. CloudFront sends a request when it can't find an object in its cache +// that matches the request's cache key. If you want to send values to the origin // but not include them in the cache key, use OriginRequestPolicy. type ParametersInCacheKeyAndForwardedToOrigin struct { @@ -3593,7 +3589,7 @@ type ParametersInCacheKeyAndForwardedToOrigin struct { // these fields is true and the viewer request includes the Accept-Encoding header, // then CloudFront does the following: // - // * Normalizes the value of the viewer’s + // * Normalizes the value of the viewer's // Accept-Encoding header // // * Includes the normalized header in the cache key @@ -3611,7 +3607,7 @@ type ParametersInCacheKeyAndForwardedToOrigin struct { // field is true, so including this header in an origin request policy has no // effect. If both of these fields are false, then CloudFront treats the // Accept-Encoding header the same as any other HTTP header in the viewer request. - // By default, it’s not included in the cache key and it’s not included in origin + // By default, it's not included in the cache key and it's not included in origin // requests. In this case, you can manually add Accept-Encoding to the headers // whitelist like any other HTTP header. // @@ -3638,7 +3634,7 @@ type ParametersInCacheKeyAndForwardedToOrigin struct { // fields is true and the viewer request includes the Accept-Encoding header, then // CloudFront does the following: // - // * Normalizes the value of the viewer’s + // * Normalizes the value of the viewer's // Accept-Encoding header // // * Includes the normalized header in the cache key @@ -3656,7 +3652,7 @@ type ParametersInCacheKeyAndForwardedToOrigin struct { // field is true, so including this header in an origin request policy has no // effect. If both of these fields are false, then CloudFront treats the // Accept-Encoding header the same as any other HTTP header in the viewer request. - // By default, it’s not included in the cache key and it’s not included in origin + // By default, it's not included in the cache key and it's not included in origin // requests. In this case, you can manually add Accept-Encoding to the headers // whitelist like any other HTTP header. EnableAcceptEncodingBrotli *bool @@ -3717,7 +3713,7 @@ type PublicKey struct { // (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html). type PublicKeyConfig struct { - // A string included in the request to help make sure that the request can’t be + // A string included in the request to help make sure that the request can't be // replayed. // // This member is required. @@ -3971,7 +3967,7 @@ type RealtimeMetricsSubscriptionConfig struct { // A response headers policy. A response headers policy contains information about // a set of HTTP response headers and their values. After you create a response // headers policy, you can use its ID to attach it to one or more cache behaviors -// in a CloudFront distribution. When it’s attached to a cache behavior, CloudFront +// in a CloudFront distribution. When it's attached to a cache behavior, CloudFront // adds the headers in the policy to HTTP responses that it sends for requests that // match the cache behavior. For more information, see Adding HTTP headers to // CloudFront responses @@ -3992,7 +3988,7 @@ type ResponseHeadersPolicy struct { // A response headers policy configuration. A response headers policy contains // information about a set of HTTP response headers and their values. CloudFront // adds the headers in the policy to HTTP responses that it sends for requests that - // match a cache behavior that’s associated with the policy. + // match a cache behavior that's associated with the policy. // // This member is required. ResponseHeadersPolicyConfig *ResponseHeadersPolicyConfig @@ -4250,7 +4246,7 @@ type ResponseHeadersPolicyCorsConfig struct { } // An HTTP response header name and its value. CloudFront includes this header in -// HTTP responses that it sends for requests that match a cache behavior that’s +// HTTP responses that it sends for requests that match a cache behavior that's // associated with this response headers policy. type ResponseHeadersPolicyCustomHeader struct { @@ -4275,7 +4271,7 @@ type ResponseHeadersPolicyCustomHeader struct { // A list of HTTP response header names and their values. CloudFront includes these // headers in HTTP responses that it sends for requests that match a cache behavior -// that’s associated with this response headers policy. +// that's associated with this response headers policy. type ResponseHeadersPolicyCustomHeadersConfig struct { // The number of HTTP response headers in the list. @@ -4290,7 +4286,7 @@ type ResponseHeadersPolicyCustomHeadersConfig struct { } // Determines whether CloudFront includes the X-Frame-Options HTTP response header -// and the header’s value. For more information about the X-Frame-Options HTTP +// and the header's value. For more information about the X-Frame-Options HTTP // response header, see X-Frame-Options // (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options) in // the MDN Web Docs. @@ -4340,7 +4336,7 @@ type ResponseHeadersPolicyList struct { } // Determines whether CloudFront includes the Referrer-Policy HTTP response header -// and the header’s value. For more information about the Referrer-Policy HTTP +// and the header's value. For more information about the Referrer-Policy HTTP // response header, see Referrer-Policy // (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) in // the MDN Web Docs. @@ -4405,28 +4401,28 @@ type ResponseHeadersPolicySecurityHeadersConfig struct { ContentTypeOptions *ResponseHeadersPolicyContentTypeOptions // Determines whether CloudFront includes the X-Frame-Options HTTP response header - // and the header’s value. For more information about the X-Frame-Options HTTP + // and the header's value. For more information about the X-Frame-Options HTTP // response header, see X-Frame-Options // (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options) in // the MDN Web Docs. FrameOptions *ResponseHeadersPolicyFrameOptions // Determines whether CloudFront includes the Referrer-Policy HTTP response header - // and the header’s value. For more information about the Referrer-Policy HTTP + // and the header's value. For more information about the Referrer-Policy HTTP // response header, see Referrer-Policy // (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) in // the MDN Web Docs. ReferrerPolicy *ResponseHeadersPolicyReferrerPolicy // Determines whether CloudFront includes the Strict-Transport-Security HTTP - // response header and the header’s value. For more information about the + // response header and the header's value. For more information about the // Strict-Transport-Security HTTP response header, see Strict-Transport-Security // (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) // in the MDN Web Docs. StrictTransportSecurity *ResponseHeadersPolicyStrictTransportSecurity // Determines whether CloudFront includes the X-XSS-Protection HTTP response header - // and the header’s value. For more information about the X-XSS-Protection HTTP + // and the header's value. For more information about the X-XSS-Protection HTTP // response header, see X-XSS-Protection // (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) in // the MDN Web Docs. @@ -4469,7 +4465,7 @@ type ResponseHeadersPolicyServerTimingHeadersConfig struct { } // Determines whether CloudFront includes the Strict-Transport-Security HTTP -// response header and the header’s value. For more information about the +// response header and the header's value. For more information about the // Strict-Transport-Security HTTP response header, see Strict-Transport-Security // (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) // in the MDN Web Docs. @@ -4517,7 +4513,7 @@ type ResponseHeadersPolicySummary struct { } // Determines whether CloudFront includes the X-XSS-Protection HTTP response header -// and the header’s value. For more information about the X-XSS-Protection HTTP +// and the header's value. For more information about the X-XSS-Protection HTTP // response header, see X-XSS-Protection // (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) in // the MDN Web Docs. @@ -4633,7 +4629,7 @@ type S3OriginConfig struct { type SessionStickinessConfig struct { // The amount of time after which you want sessions to cease if no requests are - // received.
Allowed values are 300–3600 seconds (5–60 minutes). The value must be + // received. Allowed values are 300–3600 seconds (5–60 minutes). The value must be // less than or equal to MaximumTTL. // // This member is required. @@ -5100,8 +5096,8 @@ type TrustedSigners struct { noSmithyDocumentSerde } -// A complex type that determines the distribution’s SSL/TLS configuration for -// communicating with viewers. If the distribution doesn’t use Aliases (also known +// A complex type that determines the distribution's SSL/TLS configuration for +// communicating with viewers. If the distribution doesn't use Aliases (also known // as alternate domain names or CNAMEs)—that is, if the distribution uses the // CloudFront domain name such as d111111abcdef8.cloudfront.net—set // CloudFrontDefaultCertificate to true and leave all other fields empty. If the @@ -5111,14 +5107,14 @@ type TrustedSigners struct { // * Which viewers the distribution // accepts HTTPS connections from: only viewers that support server name indication // (SNI) (https://en.wikipedia.org/wiki/Server_Name_Indication) (recommended), or -// all viewers including those that don’t support SNI. +// all viewers including those that don't support SNI. // // * To accept HTTPS // connections from only viewers that support SNI, set SSLSupportMethod to // sni-only. This is recommended. Most browsers and clients support SNI. // // * To -// accept HTTPS connections from all viewers, including those that don’t support +// accept HTTPS connections from all viewers, including those that don't support // SNI, set SSLSupportMethod to vip. This is not recommended, and results in // additional monthly charges from CloudFront. // @@ -5223,7 +5219,7 @@ type ViewerCertificate struct { // and Supported Protocols and Ciphers Between Viewers and CloudFront // (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html#secure-connections-supported-ciphers) // in the Amazon CloudFront Developer Guide. On the CloudFront console, this - // setting is called Security Policy. When you’re using SNI only (you set + // setting is called Security Policy. When you're using SNI only (you set // SSLSupportMethod to sni-only), you must specify TLSv1 or higher. If the // distribution uses the CloudFront domain name such as // d111111abcdef8.cloudfront.net (you set CloudFrontDefaultCertificate to true), @@ -5241,7 +5237,7 @@ type ViewerCertificate struct { // // * vip – The // distribution accepts HTTPS connections from all viewers including those that - // don’t support SNI. This is not recommended, and results in additional monthly + // don't support SNI. This is not recommended, and results in additional monthly // charges from CloudFront. // // * static-ip - Do not specify this value unless your @@ -5251,7 +5247,7 @@ type ViewerCertificate struct { // (https://console.aws.amazon.com/support/home). // // If the distribution uses the - // CloudFront domain name such as d111111abcdef8.cloudfront.net, don’t set a value + // CloudFront domain name such as d111111abcdef8.cloudfront.net, don't set a value // for this field. SSLSupportMethod SSLSupportMethod diff --git a/service/datasync/api_op_CreateTask.go b/service/datasync/api_op_CreateTask.go index 0472dd81be7..44cd2f9d710 100644 --- a/service/datasync/api_op_CreateTask.go +++ b/service/datasync/api_op_CreateTask.go @@ -14,17 +14,7 @@ import ( // Configures a task, which defines where and how DataSync transfers your data. A // task includes a source location, a destination location, and the preferences for // how and when you want to transfer your data (such as bandwidth limits, -// scheduling, among other options). When you create a task that transfers data -// between Amazon Web Services services in different Amazon Web Services Regions, -// one of your locations must reside in the Region where you're using DataSync. For -// more information, see the following topics: -// -// * Working with DataSync locations -// (https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html) -// -// * -// Configure DataSync task settings -// (https://docs.aws.amazon.com/datasync/latest/userguide/create-task.html) +// scheduling, among other options). func (c *Client) CreateTask(ctx context.Context, params *CreateTaskInput, optFns ...func(*Options)) (*CreateTaskOutput, error) { if params == nil { params = &CreateTaskInput{} @@ -58,31 +48,25 @@ type CreateTaskInput struct { // to monitor and log events in the task. CloudWatchLogGroupArn *string - // A list of filter rules that determines which files to exclude from a task. The - // list should contain a single filter string that consists of the patterns to - // exclude. The patterns are delimited by "|" (that is, a pipe), for example, - // "/folder1|/folder2". + // Specifies a list of filter rules that exclude specific data during your + // transfer. For more information and examples, see Filtering data transferred by + // DataSync (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). Excludes []types.FilterRule - // A list of filter rules that determines which files to include when running a - // task. The pattern contains a single filter string that consists of the patterns - // to include. The patterns are delimited by "|" (that is, a pipe), for example, - // "/folder1|/folder2". + // Specifies a list of filter rules that include specific data during your + // transfer. For more information and examples, see Filtering data transferred by + // DataSync (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). Includes []types.FilterRule // The name of a task. This value is a text reference that is used to identify the // task in the console. Name *string - // The set of configuration options that control the behavior of a single execution - // of the task that occurs when you call StartTaskExecution. You can configure - // these options to preserve metadata such as user ID (UID) and group ID (GID), - // file permissions, data integrity verification, and so on. For each individual - // task execution, you can override these options by specifying the OverrideOptions - // before starting the task execution. For more information, see the - // StartTaskExecution - // (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - // operation. + // Specifies the configuration options for a task. Some options include preserving + // file or object metadata and verifying data integrity. You can also override + // these options before starting an individual run of a task (also known as a task + // execution). For more information, see StartTaskExecution + // (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html). Options *types.Options // Specifies a schedule used to periodically transfer files from a source to a @@ -91,8 +75,9 @@ type CreateTaskInput struct { // (https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html). Schedule *types.TaskSchedule - // The key-value pair that represents the tag that you want to add to the resource. - // The value can be an empty string. + // Specifies the tags that you want to apply to the Amazon Resource Name (ARN) + // representing the task. Tags are key-value pairs that help you manage, filter, + // and search for your DataSync resources. Tags []types.TagListEntry noSmithyDocumentSerde diff --git a/service/datasync/api_op_DeleteTask.go b/service/datasync/api_op_DeleteTask.go index 30cffee7c4e..a5c79124ec0 100644 --- a/service/datasync/api_op_DeleteTask.go +++ b/service/datasync/api_op_DeleteTask.go @@ -10,7 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes a task. +// Deletes an DataSync task. func (c *Client) DeleteTask(ctx context.Context, params *DeleteTaskInput, optFns ...func(*Options)) (*DeleteTaskOutput, error) { if params == nil { params = &DeleteTaskInput{} @@ -29,7 +29,7 @@ func (c *Client) DeleteTask(ctx context.Context, params *DeleteTaskInput, optFns // DeleteTask type DeleteTaskInput struct { - // The Amazon Resource Name (ARN) of the task to delete. + // Specifies the Amazon Resource Name (ARN) of the task that you want to delete. // // This member is required. TaskArn *string diff --git a/service/datasync/api_op_DescribeTask.go b/service/datasync/api_op_DescribeTask.go index dfee7de4001..2c917ac82b0 100644 --- a/service/datasync/api_op_DescribeTask.go +++ b/service/datasync/api_op_DescribeTask.go @@ -50,15 +50,16 @@ type DescribeTaskOutput struct { // The time that the task was created. CreationTime *time.Time - // The Amazon Resource Name (ARN) of the task execution that is syncing files. + // The Amazon Resource Name (ARN) of the task execution that is transferring files. CurrentTaskExecutionArn *string // The Amazon Resource Name (ARN) of the Amazon Web Services storage resource's // location. DestinationLocationArn *string - // The Amazon Resource Names (ARNs) of the destination elastic network interfaces - // (ENIs) that were created for your subnet. + // The Amazon Resource Names (ARNs) of the network interfaces created for your + // destination location. For more information, see Network interface requirements + // (https://docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html#required-network-interfaces). DestinationNetworkInterfaceArns []string // Errors that DataSync encountered during execution of the task. You can use this @@ -69,29 +70,24 @@ type DescribeTaskOutput struct { // You can use this information to help troubleshoot issues. ErrorDetail *string - // A list of filter rules that determines which files to exclude from a task. The - // list should contain a single filter string that consists of the patterns to - // exclude. The patterns are delimited by "|" (that is, a pipe), for example, - // "/folder1|/folder2". + // A list of filter rules that exclude specific data during your transfer. For more + // information and examples, see Filtering data transferred by DataSync + // (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). Excludes []types.FilterRule - // A list of filter rules that determines which files to include when running a - // task. The pattern contains a single filter string that consists of the patterns - // to include. The patterns are delimited by "|" (that is, a pipe), for example, - // "/folder1|/folder2". + // A list of filter rules that include specific data during your transfer. For more + // information and examples, see Filtering data transferred by DataSync + // (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). Includes []types.FilterRule // The name of the task that was described. Name *string - // The set of configuration options that control the behavior of a single execution - // of the task that occurs when you call StartTaskExecution. You can configure - // these options to preserve metadata such as user ID (UID) and group (GID), file - // permissions, data integrity verification, and so on. For each individual task - // execution, you can override these options by specifying the overriding - // OverrideOptions value to StartTaskExecution - // (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - // operation. + // The configuration options that control the behavior of the StartTaskExecution + // operation. Some options include preserving file or object metadata and verifying + // data integrity. You can override these options for each task execution. For more + // information, see StartTaskExecution + // (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html). Options *types.Options // The schedule used to periodically transfer files from a source to a destination @@ -101,8 +97,9 @@ type DescribeTaskOutput struct { // The Amazon Resource Name (ARN) of the source file system's location. SourceLocationArn *string - // The Amazon Resource Names (ARNs) of the source elastic network interfaces (ENIs) - // that were created for your subnet. + // The Amazon Resource Names (ARNs) of the network interfaces created for your + // source location. For more information, see Network interface requirements + // (https://docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html#required-network-interfaces). SourceNetworkInterfaceArns []string // The status of the task that was described. For detailed information about task diff --git a/service/datasync/api_op_DescribeTaskExecution.go b/service/datasync/api_op_DescribeTaskExecution.go index e8962da7480..7c555603c8e 100644 --- a/service/datasync/api_op_DescribeTaskExecution.go +++ b/service/datasync/api_op_DescribeTaskExecution.go @@ -43,10 +43,12 @@ type DescribeTaskExecutionInput struct { type DescribeTaskExecutionOutput struct { // The physical number of bytes transferred over the network after compression was - // applied. In most cases, this number is less than BytesTransferred. + // applied. In most cases, this number is less than BytesTransferred unless the + // data isn't compressible. BytesCompressed int64 - // The physical number of bytes transferred over the network. + // The total number of bytes that are involved in the transfer. For the number of + // bytes sent over the network, see BytesCompressed. BytesTransferred int64 // The number of logical bytes written to the destination Amazon Web Services @@ -58,45 +60,37 @@ type DescribeTaskExecutionOutput struct { EstimatedBytesToTransfer int64 // The expected number of files that is to be transferred over the network. This - // value is calculated during the PREPARING phase, before the TRANSFERRING phase. - // This value is the expected number of files to be transferred. It's calculated - // based on comparing the content of the source and destination locations and - // finding the delta that needs to be transferred. + // value is calculated during the PREPARING phase before the TRANSFERRING phase of + // the task execution. This value is the expected number of files to be + // transferred. It's calculated based on comparing the content of the source and + // destination locations and finding the delta that needs to be transferred. EstimatedFilesToTransfer int64 - // A list of filter rules that determines which files to exclude from a task. The - // list should contain a single filter string that consists of the patterns to - // exclude. The patterns are delimited by "|" (that is, a pipe), for example: - // "/folder1|/folder2" + // A list of filter rules that exclude specific data during your transfer. For more + // information and examples, see Filtering data transferred by DataSync + // (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). Excludes []types.FilterRule // The actual number of files that was transferred over the network. This value is - // calculated and updated on an ongoing basis during the TRANSFERRING phase. It's - // updated periodically when each file is read from the source and sent over the - // network. If failures occur during a transfer, this value can be less than - // EstimatedFilesToTransfer. This value can also be greater than - // EstimatedFilesTransferred in some cases. This element is implementation-specific + // calculated and updated on an ongoing basis during the TRANSFERRING phase of the + // task execution. It's updated periodically when each file is read from the source + // and sent over the network. If failures occur during a transfer, this value can + // be less than EstimatedFilesToTransfer. In some cases, this value can also be + // greater than EstimatedFilesToTransfer. This element is implementation-specific // for some location types, so don't use it as an indicator for a correct file // number or to monitor your task execution. FilesTransferred int64 - // A list of filter rules that determines which files to include when running a - // task. The list should contain a single filter string that consists of the - // patterns to include. The patterns are delimited by "|" (that is, a pipe), for - // example: "/folder1|/folder2" + // A list of filter rules that include specific data during your transfer. For more + // information and examples, see Filtering data transferred by DataSync + // (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). Includes []types.FilterRule - // Represents the options that are available to control the behavior of a - // StartTaskExecution - // (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - // operation. Behavior includes preserving metadata such as user ID (UID), group ID - // (GID), and file permissions, and also overwriting files in the destination, data - // integrity verification, and so on. A task has a set of default options - // associated with it. If you don't specify an option in StartTaskExecution - // (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html), - // the default value is used. You can override the defaults options on each task - // execution by specifying an overriding Options value to StartTaskExecution - // (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html). + // Configures your DataSync task settings. These options include how DataSync + // handles files, objects, and their associated metadata. You also can specify how + // DataSync verifies data integrity, set bandwidth limits for your task, among + // other options. Each task setting has a default value. Unless you need to, you + // don't have to configure any of these Options before starting your task. Options *types.Options // The result of the task execution. diff --git a/service/datasync/api_op_ListTagsForResource.go b/service/datasync/api_op_ListTagsForResource.go index 1889ec383f1..eddab26cbcb 100644 --- a/service/datasync/api_op_ListTagsForResource.go +++ b/service/datasync/api_op_ListTagsForResource.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Returns all the tags associated with a specified resource. +// Returns all the tags associated with an Amazon Web Services resource. func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error) { if params == nil { params = &ListTagsForResourceInput{} @@ -31,16 +31,17 @@ func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForRes // ListTagsForResourceRequest type ListTagsForResourceInput struct { - // The Amazon Resource Name (ARN) of the resource whose tags to list. + // Specifies the Amazon Resource Name (ARN) of the resource that you want tag + // information on. // // This member is required. ResourceArn *string - // The maximum number of locations to return. + // Specifies how many results that you want in the response. MaxResults *int32 - // An opaque string that indicates the position at which to begin the next list of - // locations. + // Specifies an opaque string that indicates the position to begin the next list of + // results in the response. NextToken *string noSmithyDocumentSerde @@ -49,11 +50,11 @@ type ListTagsForResourceInput struct { // ListTagsForResourceResponse type ListTagsForResourceOutput struct { - // An opaque string that indicates the position at which to begin returning the - // next list of resource tags. + // The opaque string that indicates the position to begin the next list of results + // in the response. NextToken *string - // Array of resource tags. + // An array of tags applied to the specified resource. Tags []types.TagListEntry // Metadata pertaining to the operation's result. @@ -136,7 +137,7 @@ var _ ListTagsForResourceAPIClient = (*Client)(nil) // ListTagsForResourcePaginatorOptions is the paginator options for // ListTagsForResource type ListTagsForResourcePaginatorOptions struct { - // The maximum number of locations to return. + // Specifies how many results that you want in the response. Limit int32 // Set to true if pagination should stop if the service returns a pagination token diff --git a/service/datasync/api_op_StartTaskExecution.go b/service/datasync/api_op_StartTaskExecution.go index affb1640119..0b8e1af091b 100644 --- a/service/datasync/api_op_StartTaskExecution.go +++ b/service/datasync/api_op_StartTaskExecution.go @@ -11,12 +11,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Starts a specific invocation of a task. A TaskExecution value represents an -// individual run of a task. Each task can have at most one TaskExecution at a -// time. TaskExecution has the following transition phases: INITIALIZING | -// PREPARING | TRANSFERRING | VERIFYING | SUCCESS/FAILURE. For detailed -// information, see the Task Execution section in the Components and Terminology -// topic in the DataSync User Guide. +// Starts an DataSync task. For each task, you can only run one task execution at a +// time. There are several phases to a task execution. For more information, see +// Task execution statuses +// (https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html#understand-task-execution-statuses). func (c *Client) StartTaskExecution(ctx context.Context, params *StartTaskExecutionInput, optFns ...func(*Options)) (*StartTaskExecutionOutput, error) { if params == nil { params = &StartTaskExecutionInput{} @@ -35,43 +33,42 @@ func (c *Client) StartTaskExecution(ctx context.Context, params *StartTaskExecut // StartTaskExecutionRequest type StartTaskExecutionInput struct { - // The Amazon Resource Name (ARN) of the task to start. + // Specifies the Amazon Resource Name (ARN) of the task that you want to start. // // This member is required. TaskArn *string - // A list of filter rules that determines which files to exclude from a task. The - // list contains a single filter string that consists of the patterns to exclude. - // The patterns are delimited by "|" (that is, a pipe), for example, + // Specifies a list of filter rules that determines which files to exclude from a + // task. The list contains a single filter string that consists of the patterns to + // exclude. The patterns are delimited by "|" (that is, a pipe), for example, // "/folder1|/folder2". Excludes []types.FilterRule - // A list of filter rules that determines which files to include when running a - // task. The pattern should contain a single filter string that consists of the - // patterns to include. The patterns are delimited by "|" (that is, a pipe), for - // example, "/folder1|/folder2". + // Specifies a list of filter rules that determines which files to include when + // running a task. The pattern should contain a single filter string that consists + // of the patterns to include. The patterns are delimited by "|" (that is, a pipe), + // for example, "/folder1|/folder2". Includes []types.FilterRule - // Represents the options that are available to control the behavior of a - // StartTaskExecution - // (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - // operation. Behavior includes preserving metadata such as user ID (UID), group ID - // (GID), and file permissions, and also overwriting files in the destination, data - // integrity verification, and so on. A task has a set of default options - // associated with it. If you don't specify an option in StartTaskExecution - // (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html), - // the default value is used. You can override the defaults options on each task - // execution by specifying an overriding Options value to StartTaskExecution - // (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html). + // Configures your DataSync task settings. These options include how DataSync + // handles files, objects, and their associated metadata. You also can specify how + // DataSync verifies data integrity, set bandwidth limits for your task, among + // other options. Each task setting has a default value. Unless you need to, you + // don't have to configure any of these Options before starting your task. OverrideOptions *types.Options + // Specifies the tags that you want to apply to the Amazon Resource Name (ARN) + // representing the task execution. Tags are key-value pairs that help you manage, + // filter, and search for your DataSync resources. + Tags []types.TagListEntry + noSmithyDocumentSerde } // StartTaskExecutionResponse type StartTaskExecutionOutput struct { - // The Amazon Resource Name (ARN) of the specific task execution that was started. + // The ARN of the running task execution. TaskExecutionArn *string // Metadata pertaining to the operation's result. diff --git a/service/datasync/api_op_TagResource.go b/service/datasync/api_op_TagResource.go index 21932b75f7b..95557eaf630 100644 --- a/service/datasync/api_op_TagResource.go +++ b/service/datasync/api_op_TagResource.go @@ -11,7 +11,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Applies a key-value pair to an Amazon Web Services resource. +// Applies a tag to an Amazon Web Services resource. Tags are key-value pairs that +// can help you manage, filter, and search for your resources. These include +// DataSync resources, such as locations, tasks, and task executions. func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error) { if params == nil { params = &TagResourceInput{} @@ -30,12 +32,12 @@ func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optF // TagResourceRequest type TagResourceInput struct { - // The Amazon Resource Name (ARN) of the resource to apply the tag to. + // Specifies the Amazon Resource Name (ARN) of the resource to apply the tag to. // // This member is required. ResourceArn *string - // The tags to apply. + // Specifies the tags that you want to apply to the resource. // // This member is required. Tags []types.TagListEntry diff --git a/service/datasync/api_op_UntagResource.go b/service/datasync/api_op_UntagResource.go index fa144cebd69..6ca1ce8f990 100644 --- a/service/datasync/api_op_UntagResource.go +++ b/service/datasync/api_op_UntagResource.go @@ -10,7 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Removes a tag from an Amazon Web Services resource. +// Removes tags from an Amazon Web Services resource. func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error) { if params == nil { params = &UntagResourceInput{} @@ -29,12 +29,13 @@ func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, // UntagResourceRequest type UntagResourceInput struct { - // The keys in the key-value pair in the tag to remove. + // Specifies the keys in the tags that you want to remove. // // This member is required. Keys []string - // The Amazon Resource Name (ARN) of the resource to remove the tag from. + // Specifies the Amazon Resource Name (ARN) of the resource to remove the tags + // from. // // This member is required. ResourceArn *string diff --git a/service/datasync/api_op_UpdateTask.go b/service/datasync/api_op_UpdateTask.go index a8f96cc7e96..229bb6afe34 100644 --- a/service/datasync/api_op_UpdateTask.go +++ b/service/datasync/api_op_UpdateTask.go @@ -39,32 +39,24 @@ type UpdateTaskInput struct { // group. CloudWatchLogGroupArn *string - // A list of filter rules that determines which files to exclude from a task. The - // list should contain a single filter string that consists of the patterns to - // exclude. The patterns are delimited by "|" (that is, a pipe), for example, - // "/folder1|/folder2". + // Specifies a list of filter rules that exclude specific data during your + // transfer. For more information and examples, see Filtering data transferred by + // DataSync (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). Excludes []types.FilterRule - // A list of filter rules that determines which files to include when running a - // task. The pattern contains a single filter string that consists of the patterns - // to include. The patterns are delimited by "|" (that is, a pipe), for example, - // "/folder1|/folder2". + // Specifies a list of filter rules that include specific data during your + // transfer. For more information and examples, see Filtering data transferred by + // DataSync (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). Includes []types.FilterRule // The name of the task to update. Name *string - // Represents the options that are available to control the behavior of a - // StartTaskExecution - // (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - // operation. Behavior includes preserving metadata such as user ID (UID), group ID - // (GID), and file permissions, and also overwriting files in the destination, data - // integrity verification, and so on. A task has a set of default options - // associated with it. If you don't specify an option in StartTaskExecution - // (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html), - // the default value is used. You can override the defaults options on each task - // execution by specifying an overriding Options value to StartTaskExecution - // (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html). + // Configures your DataSync task settings. These options include how DataSync + // handles files, objects, and their associated metadata. You also can specify how + // DataSync verifies data integrity, set bandwidth limits for your task, among + // other options. Each task setting has a default value. Unless you need to, you + // don't have to configure any of these Options before starting your task. Options *types.Options // Specifies a schedule used to periodically transfer files from a source to a diff --git a/service/datasync/api_op_UpdateTaskExecution.go b/service/datasync/api_op_UpdateTaskExecution.go index 09494110263..781ff4b69ee 100644 --- a/service/datasync/api_op_UpdateTaskExecution.go +++ b/service/datasync/api_op_UpdateTaskExecution.go @@ -34,17 +34,11 @@ func (c *Client) UpdateTaskExecution(ctx context.Context, params *UpdateTaskExec type UpdateTaskExecutionInput struct { - // Represents the options that are available to control the behavior of a - // StartTaskExecution - // (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - // operation. Behavior includes preserving metadata such as user ID (UID), group ID - // (GID), and file permissions, and also overwriting files in the destination, data - // integrity verification, and so on. A task has a set of default options - // associated with it. If you don't specify an option in StartTaskExecution - // (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html), - // the default value is used. You can override the defaults options on each task - // execution by specifying an overriding Options value to StartTaskExecution - // (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html). + // Configures your DataSync task settings. These options include how DataSync + // handles files, objects, and their associated metadata. You also can specify how + // DataSync verifies data integrity, set bandwidth limits for your task, among + // other options. Each task setting has a default value. Unless you need to, you + // don't have to configure any of these Options before starting your task. // // This member is required. Options *types.Options diff --git a/service/datasync/internal/endpoints/endpoints.go b/service/datasync/internal/endpoints/endpoints.go index e7bcab2cf3f..0fe058929e2 100644 --- a/service/datasync/internal/endpoints/endpoints.go +++ b/service/datasync/internal/endpoints/endpoints.go @@ -315,6 +315,14 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.AwsCn, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "cn-north-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "cn-northwest-1", + }: endpoints.Endpoint{}, + }, }, { ID: "aws-iso", diff --git a/service/datasync/serializers.go b/service/datasync/serializers.go index 1169c10854f..d54b63dc533 100644 --- a/service/datasync/serializers.go +++ b/service/datasync/serializers.go @@ -3825,6 +3825,13 @@ func awsAwsjson11_serializeOpDocumentStartTaskExecutionInput(v *StartTaskExecuti } } + if v.Tags != nil { + ok := object.Key("Tags") + if err := awsAwsjson11_serializeDocumentInputTagList(v.Tags, ok); err != nil { + return err + } + } + if v.TaskArn != nil { ok := object.Key("TaskArn") ok.String(*v.TaskArn) diff --git a/service/datasync/types/enums.go b/service/datasync/types/enums.go index 2c7305f20ab..cf8ba729c2c 100644 --- a/service/datasync/types/enums.go +++ b/service/datasync/types/enums.go @@ -422,13 +422,14 @@ type S3StorageClass string // Enum values for S3StorageClass const ( - S3StorageClassStandard S3StorageClass = "STANDARD" - S3StorageClassStandardIa S3StorageClass = "STANDARD_IA" - S3StorageClassOnezoneIa S3StorageClass = "ONEZONE_IA" - S3StorageClassIntelligentTiering S3StorageClass = "INTELLIGENT_TIERING" - S3StorageClassGlacier S3StorageClass = "GLACIER" - S3StorageClassDeepArchive S3StorageClass = "DEEP_ARCHIVE" - S3StorageClassOutposts S3StorageClass = "OUTPOSTS" + S3StorageClassStandard S3StorageClass = "STANDARD" + S3StorageClassStandardIa S3StorageClass = "STANDARD_IA" + S3StorageClassOnezoneIa S3StorageClass = "ONEZONE_IA" + S3StorageClassIntelligentTiering S3StorageClass = "INTELLIGENT_TIERING" + S3StorageClassGlacier S3StorageClass = "GLACIER" + S3StorageClassDeepArchive S3StorageClass = "DEEP_ARCHIVE" + S3StorageClassOutposts S3StorageClass = "OUTPOSTS" + S3StorageClassGlacierInstantRetrieval S3StorageClass = "GLACIER_INSTANT_RETRIEVAL" ) // Values returns all known values for S3StorageClass. Note that this can be @@ -443,6 +444,7 @@ func (S3StorageClass) Values() []S3StorageClass { "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", + "GLACIER_INSTANT_RETRIEVAL", } } diff --git a/service/datasync/types/types.go b/service/datasync/types/types.go index 8573ed3fdd7..91fef311ed3 100644 --- a/service/datasync/types/types.go +++ b/service/datasync/types/types.go @@ -264,180 +264,171 @@ type OnPremConfig struct { noSmithyDocumentSerde } -// Represents the options that are available to control the behavior of a -// StartTaskExecution -// (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) -// operation. Behavior includes preserving metadata such as user ID (UID), group ID -// (GID), and file permissions, and also overwriting files in the destination, data -// integrity verification, and so on. A task has a set of default options -// associated with it. If you don't specify an option in StartTaskExecution -// (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html), -// the default value is used. You can override the defaults options on each task -// execution by specifying an overriding Options value to StartTaskExecution -// (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html). +// Configures your DataSync task settings. These options include how DataSync +// handles files, objects, and their associated metadata. You also can specify how +// DataSync verifies data integrity, set bandwidth limits for your task, among +// other options. Each task setting has a default value. Unless you need to, you +// don't have to configure any of these Options before starting your task. type Options struct { - // A file metadata value that shows the last time a file was accessed (that is, - // when the file was read or written to). If you set Atime to BEST_EFFORT, DataSync - // attempts to preserve the original Atime attribute on all source files (that is, - // the version before the PREPARING phase). However, Atime's behavior is not fully + // Specifies whether to preserve metadata indicating the last time a file was read + // or written to. If you set Atime to BEST_EFFORT, DataSync attempts to preserve + // the original Atime attribute on all source files (that is, the version before + // the PREPARING phase of the task execution). The behavior of Atime isn't fully // standard across platforms, so DataSync can only do this on a best-effort basis. // Default value: BEST_EFFORTBEST_EFFORT: Attempt to preserve the per-file Atime // value (recommended). NONE: Ignore Atime. If Atime is set to BEST_EFFORT, Mtime // must be set to PRESERVE. If Atime is set to NONE, Mtime must also be NONE. Atime Atime - // A value that limits the bandwidth used by DataSync. For example, if you want - // DataSync to use a maximum of 1 MB, set this value to 1048576 (=1024*1024). + // Limits the bandwidth used by a DataSync task. For example, if you want DataSync + // to use a maximum of 1 MB, set this value to 1048576 (=1024*1024). BytesPerSecond *int64 - // The POSIX group ID (GID) of the file's owners. For more information, see - // Metadata copied by DataSync + // Specifies the POSIX group ID (GID) of the file's owners. For more information, + // see Metadata copied by DataSync // (https://docs.aws.amazon.com/datasync/latest/userguide/special-files.html#metadata-copied). // Default value: INT_VALUE. This preserves the integer value of the ID. INT_VALUE: // Preserve the integer value of user ID (UID) and GID (recommended). NONE: Ignore // UID and GID. Gid Gid - // A value that determines the type of logs that DataSync publishes to a log stream - // in the Amazon CloudWatch log group that you provide. For more information about - // providing a log group for DataSync, see CloudWatchLogGroupArn + // Specifies the type of logs that DataSync publishes to a Amazon CloudWatch Logs + // log group. To specify the log group, see CloudWatchLogGroupArn // (https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateTask.html#DataSync-CreateTask-request-CloudWatchLogGroupArn). - // If set to OFF, no logs are published. BASIC publishes logs on errors for - // individual files transferred, and TRANSFER publishes logs for every file or - // object that is transferred and integrity checked. + // If you set LogLevel to OFF, no logs are published. BASIC publishes logs on + // errors for individual files transferred. TRANSFER publishes logs for every file + // or object that is transferred and integrity checked. LogLevel LogLevel - // A value that indicates the last time that a file was modified (that is, a file - // was written to) before the PREPARING phase. This option is required for cases - // when you need to run the same task more than one time. Default Value: + // Specifies whether to preserve metadata indicating the last time that a file was + // written to before the PREPARING phase of your task execution. This option is + // required when you need to run the a task more than once. Default Value: // PRESERVEPRESERVE: Preserve original Mtime (recommended) NONE: Ignore Mtime. If // Mtime is set to PRESERVE, Atime must be set to BEST_EFFORT. If Mtime is set to // NONE, Atime must also be set to NONE. Mtime Mtime - // Specifies whether object tags are maintained when transferring between object + // Specifies whether object tags are preserved when transferring between object // storage systems. If you want your DataSync task to ignore object tags, specify // the NONE value. Default Value: PRESERVE ObjectTags ObjectTags - // A value that determines whether files at the destination should be overwritten - // or preserved when copying files. If set to NEVER a destination file will not be - // replaced by a source file, even if the destination file differs from the source - // file. If you modify files in the destination and you sync the files, you can use - // this value to protect against overwriting those changes. Some storage classes - // have specific behaviors that can affect your S3 storage cost. For detailed + // Specifies whether data at the destination location should be overwritten or + // preserved. If set to NEVER, a destination file for example will not be replaced + // by a source file (even if the destination file differs from the source file). If + // you modify files in the destination and you sync the files, you can use this + // value to protect against overwriting those changes. Some storage classes have + // specific behaviors that can affect your Amazon S3 storage cost. For detailed // information, see Considerations when working with Amazon S3 storage classes in // DataSync - // (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes) - // in the DataSync User Guide. + // (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes). OverwriteMode OverwriteMode - // A value that determines which users or groups can access a file for a specific - // purpose such as reading, writing, or execution of the file. For more - // information, see Metadata copied by DataSync + // Specifies which users or groups can access a file for a specific purpose such as + // reading, writing, or execution of the file. For more information, see Metadata + // copied by DataSync // (https://docs.aws.amazon.com/datasync/latest/userguide/special-files.html#metadata-copied). // Default value: PRESERVEPRESERVE: Preserve POSIX-style permissions (recommended). // NONE: Ignore permissions. DataSync can preserve extant permissions of a source // location. PosixPermissions PosixPermissions - // A value that specifies whether files in the destination that don't exist in the - // source file system should be preserved. This option can affect your storage - // cost. If your task deletes objects, you might incur minimum storage duration - // charges for certain storage classes. For detailed information, see - // Considerations when working with Amazon S3 storage classes in DataSync - // (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes) - // in the DataSync User Guide. Default value: PRESERVEPRESERVE: Ignore such - // destination files (recommended). REMOVE: Delete destination files that aren’t - // present in the source. + // Specifies whether files in the destination location that don't exist in the + // source should be preserved. This option can affect your Amazon S3 storage cost. + // If your task deletes objects, you might incur minimum storage duration charges + // for certain storage classes. For detailed information, see Considerations when + // working with Amazon S3 storage classes in DataSync + // (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes). + // Default value: PRESERVEPRESERVE: Ignore such destination files (recommended). + // REMOVE: Delete destination files that aren’t present in the source. PreserveDeletedFiles PreserveDeletedFiles - // A value that determines whether DataSync should preserve the metadata of block - // and character devices in the source file system, and re-create the files with - // that device name and metadata on the destination. DataSync does not copy the - // contents of such devices, only the name and metadata. DataSync can't sync the - // actual contents of such devices, because they are nonterminal and don't return - // an end-of-file (EOF) marker. Default value: NONENONE: Ignore special devices - // (recommended). PRESERVE: Preserve character and block device metadata. This - // option isn't currently supported for Amazon EFS. + // Specifies whether DataSync should preserve the metadata of block and character + // devices in the source location and recreate the files with that device name and + // metadata on the destination. DataSync copies only the name and metadata of such + // devices. DataSync can't copy the actual contents of these devices because + // they're nonterminal and don't return an end-of-file (EOF) marker. Default value: + // NONENONE: Ignore special devices (recommended). PRESERVE: Preserve character and + // block device metadata. This option currently isn't supported for Amazon EFS. PreserveDevices PreserveDevices - // A value that determines which components of the SMB security descriptor are - // copied from source to destination objects. This value is only used for transfers - // between SMB and Amazon FSx for Windows File Server locations, or between two - // Amazon FSx for Windows File Server locations. For more information about how - // DataSync handles metadata, see How DataSync Handles Metadata and Special Files + // Specifies which components of the SMB security descriptor are copied from source + // to destination objects. This value is only used for transfers between SMB and + // Amazon FSx for Windows File Server locations or between two FSx for Windows File + // Server locations. For more information, see how DataSync handles metadata // (https://docs.aws.amazon.com/datasync/latest/userguide/special-files.html). // Default value: OWNER_DACLOWNER_DACL: For each copied object, DataSync copies the // following metadata: // - // * Object owner. + // * The object owner. // - // * NTFS discretionary access control lists - // (DACLs), which determine whether to grant access to an object. + // * NTFS discretionary access control + // lists (DACLs), which determine whether to grant access to an object. DataSync + // won't copy NTFS system access control lists (SACLs) with this + // option. // - // When choosing - // this option, DataSync does NOT copy the NTFS system access control lists - // (SACLs), which are used by administrators to log attempts to access a secured - // object. OWNER_DACL_SACL: For each copied object, DataSync copies the following + // OWNER_DACL_SACL: For each copied object, DataSync copies the following // metadata: // - // * Object owner. + // * The object owner. // - // * NTFS discretionary access control lists (DACLs), - // which determine whether to grant access to an object. + // * NTFS discretionary access control lists + // (DACLs), which determine whether to grant access to an object. // - // * NTFS system access - // control lists (SACLs), which are used by administrators to log attempts to - // access a secured object. + // * SACLs, which + // are used by administrators to log attempts to access a secured object. Copying + // SACLs requires granting additional permissions to the Windows user that DataSync + // uses to access your SMB location. For information about choosing a user that + // ensures sufficient permissions to files, folders, and metadata, see user. // - // Copying SACLs requires granting additional permissions - // to the Windows user that DataSync uses to access your SMB location. For - // information about choosing a user that ensures sufficient permissions to files, - // folders, and metadata, see user. NONE: None of the SMB security descriptor - // components are copied. Destination objects are owned by the user that was - // provided for accessing the destination location. DACLs and SACLs are set based - // on the destination server’s configuration. + // NONE: + // None of the SMB security descriptor components are copied. Destination objects + // are owned by the user that was provided for accessing the destination location. + // DACLs and SACLs are set based on the destination server’s configuration. SecurityDescriptorCopyFlags SmbSecurityDescriptorCopyFlags - // A value that determines whether tasks should be queued before executing the - // tasks. If set to ENABLED, the tasks will be queued. The default is ENABLED. If - // you use the same agent to run multiple tasks, you can enable the tasks to run in - // series. For more information, see Queueing task executions + // Specifies whether tasks should be queued before executing the tasks. The default + // is ENABLED, which means the tasks will be queued. If you use the same agent to + // run multiple tasks, you can enable the tasks to run in series. For more + // information, see Queueing task executions // (https://docs.aws.amazon.com/datasync/latest/userguide/run-task.html#queue-task-execution). TaskQueueing TaskQueueing - // A value that determines whether DataSync transfers only the data and metadata - // that differ between the source and the destination location, or whether DataSync - // transfers all the content from the source, without comparing to the destination - // location. CHANGED: DataSync copies only data or metadata that is new or - // different content from the source location to the destination location. ALL: - // DataSync copies all source location content to the destination, without - // comparing to existing content on the destination. + // Determines whether DataSync transfers only the data and metadata that differ + // between the source and the destination location or transfers all the content + // from the source (without comparing what's in the destination). CHANGED: DataSync + // copies only data or metadata that is new or different content from the source + // location to the destination location. ALL: DataSync copies all source location + // content to the destination (without comparing what's in the destination). TransferMode TransferMode - // The POSIX user ID (UID) of the file's owner. For more information, see Metadata - // copied by DataSync + // Specifies the POSIX user ID (UID) of the file's owner. For more information, see + // Metadata copied by DataSync // (https://docs.aws.amazon.com/datasync/latest/userguide/special-files.html#metadata-copied). // Default value: INT_VALUE. This preserves the integer value of the ID. INT_VALUE: // Preserve the integer value of UID and group ID (GID) (recommended). NONE: Ignore // UID and GID. Uid Uid - // A value that determines whether a data integrity verification should be - // performed at the end of a task execution after all data and metadata have been - // transferred. For more information, see Configure task settings - // (https://docs.aws.amazon.com/datasync/latest/userguide/create-task.html). - // Default value: POINT_IN_TIME_CONSISTENTONLY_FILES_TRANSFERRED (recommended): - // Perform verification only on files that were transferred. - // POINT_IN_TIME_CONSISTENT: Scan the entire source and entire destination at the - // end of the transfer to verify that source and destination are fully - // synchronized. This option isn't supported when transferring to S3 Glacier - // Flexible Retrieval or S3 Glacier Deep Archive storage classes. NONE: No - // additional verification is done at the end of the transfer, but all data - // transmissions are integrity-checked with checksum verification during the - // transfer. + // Specifies how and when DataSync checks the integrity of your data during a + // transfer. Default value: POINT_IN_TIME_CONSISTENTONLY_FILES_TRANSFERRED + // (recommended): DataSync calculates the checksum of transferred files and + // metadata at the source location. At the end of the transfer, DataSync then + // compares this checksum to the checksum calculated on those files at the + // destination. We recommend this option when transferring to S3 Glacier Flexible + // Retrieval or S3 Glacier Deep Archive storage classes. For more information, see + // Storage class considerations with Amazon S3 locations + // (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes). + // POINT_IN_TIME_CONSISTENT: At the end of the transfer, DataSync scans the entire + // source and destination to verify that both locations are fully synchronized. You + // can't use this option when transferring to S3 Glacier Flexible Retrieval or S3 + // Glacier Deep Archive storage classes. For more information, see Storage class + // considerations with Amazon S3 locations + // (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes). + // NONE: DataSync doesn't run additional verification at the end of the transfer. + // All data transmissions are still integrity-checked with checksum verification + // during the transfer. VerifyMode VerifyMode noSmithyDocumentSerde @@ -512,11 +503,8 @@ type SmbMountOptions struct { noSmithyDocumentSerde } -// Represents a single entry in a list of Amazon Web Services resource tags. -// TagListEntry returns an array that contains a list of tasks when the -// ListTagsForResource -// (https://docs.aws.amazon.com/datasync/latest/userguide/API_ListTagsForResource.html) -// operation is called. +// A key-value pair representing a single tag that's been applied to an Amazon Web +// Services resource. type TagListEntry struct { // The key for an Amazon Web Services resource tag. diff --git a/service/datasync/validators.go b/service/datasync/validators.go index 68850f87d15..3a9ca96d973 100644 --- a/service/datasync/validators.go +++ b/service/datasync/validators.go @@ -1903,6 +1903,11 @@ func validateOpStartTaskExecutionInput(v *StartTaskExecutionInput) error { if v.TaskArn == nil { invalidParams.Add(smithy.NewErrParamRequired("TaskArn")) } + if v.Tags != nil { + if err := validateInputTagList(v.Tags); err != nil { + invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/efs/api_op_PutLifecycleConfiguration.go b/service/efs/api_op_PutLifecycleConfiguration.go index acf8349ba05..375960d730f 100644 --- a/service/efs/api_op_PutLifecycleConfiguration.go +++ b/service/efs/api_op_PutLifecycleConfiguration.go @@ -11,22 +11,23 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Use this action to manage EFS lifecycle management and intelligent tiering. A -// LifecycleConfiguration consists of one or more LifecyclePolicy objects that +// Use this action to manage EFS lifecycle management and EFS Intelligent-Tiering. +// A LifecycleConfiguration consists of one or more LifecyclePolicy objects that // define the following: // // * EFS Lifecycle management - When Amazon EFS -// automatically transitions files in a file system into the lower-cost Infrequent -// Access (IA) storage class. To enable EFS Lifecycle management, set the value of -// TransitionToIA to one of the available options. +// automatically transitions files in a file system into the lower-cost EFS +// Infrequent Access (IA) storage class. To enable EFS Lifecycle management, set +// the value of TransitionToIA to one of the available options. // -// * EFS Intelligent tiering - -// When Amazon EFS automatically transitions files from IA back into the file -// system's primary storage class (Standard or One Zone Standard. To enable EFS -// Intelligent Tiering, set the value of TransitionToPrimaryStorageClass to -// AFTER_1_ACCESS. +// * EFS +// Intelligent-Tiering - When Amazon EFS automatically transitions files from IA +// back into the file system's primary storage class (EFS Standard or EFS One Zone +// Standard). To enable EFS Intelligent-Tiering, set the value of +// TransitionToPrimaryStorageClass to AFTER_1_ACCESS. // -// For more information, see EFS Lifecycle Management +// For more information, see +// EFS Lifecycle Management // (https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html). // // Each @@ -35,22 +36,22 @@ import ( // for the specified file system, a PutLifecycleConfiguration call modifies the // existing configuration. A PutLifecycleConfiguration call with an empty // LifecyclePolicies array in the request body deletes any existing -// LifecycleConfiguration and turns off lifecycle management and intelligent -// tiering for the file system. +// LifecycleConfiguration and turns off lifecycle management and EFS +// Intelligent-Tiering for the file system. // -// In the request, specify the following: +// In the request, specify the +// following: // -// * The ID -// for the file system for which you are enabling, disabling, or modifying -// lifecycle management and intelligent tiering. +// * The ID for the file system for which you are enabling, disabling, +// or modifying lifecycle management and EFS Intelligent-Tiering. // -// * A LifecyclePolicies array of -// LifecyclePolicy objects that define when files are moved into IA storage, and -// when they are moved back to Standard storage. Amazon EFS requires that each -// LifecyclePolicy object have only have a single transition, so the -// LifecyclePolicies array needs to be structured with separate LifecyclePolicy -// objects. See the example requests in the following section for more -// information. +// * A +// LifecyclePolicies array of LifecyclePolicy objects that define when files are +// moved into IA storage, and when they are moved back to Standard storage. Amazon +// EFS requires that each LifecyclePolicy object have only have a single +// transition, so the LifecyclePolicies array needs to be structured with separate +// LifecyclePolicy objects. See the example requests in the following section for +// more information. // // This operation requires permissions for the // elasticfilesystem:PutLifecycleConfiguration operation. To apply a diff --git a/service/efs/internal/endpoints/endpoints.go b/service/efs/internal/endpoints/endpoints.go index bacfeab31e3..7aeabd4a0b3 100644 --- a/service/efs/internal/endpoints/endpoints.go +++ b/service/efs/internal/endpoints/endpoints.go @@ -234,6 +234,15 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "elasticfilesystem-fips.eu-central-1.amazonaws.com", }, + endpoints.EndpointKey{ + Region: "eu-central-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-central-2", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "elasticfilesystem-fips.eu-central-2.amazonaws.com", + }, endpoints.EndpointKey{ Region: "eu-north-1", }: endpoints.Endpoint{}, @@ -378,6 +387,15 @@ var defaultPartitions = endpoints.Partitions{ }, Deprecated: aws.TrueTernary, }, + endpoints.EndpointKey{ + Region: "fips-eu-central-2", + }: endpoints.Endpoint{ + Hostname: "elasticfilesystem-fips.eu-central-2.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "eu-central-2", + }, + Deprecated: aws.TrueTernary, + }, endpoints.EndpointKey{ Region: "fips-eu-north-1", }: endpoints.Endpoint{ diff --git a/service/guardduty/api_op_CreateFilter.go b/service/guardduty/api_op_CreateFilter.go index 4e5ff19a844..8a427b10431 100644 --- a/service/guardduty/api_op_CreateFilter.go +++ b/service/guardduty/api_op_CreateFilter.go @@ -204,9 +204,9 @@ type CreateFilterInput struct { // This member is required. FindingCriteria *types.FindingCriteria - // The name of the filter. Minimum length of 3. Maximum length of 64. Valid - // characters include alphanumeric characters, dot (.), underscore (_), and dash - // (-). Spaces are not allowed. + // The name of the filter. Valid characters include period (.), underscore (_), + // dash (-), and alphanumeric characters. A whitespace is considered to be an + // invalid character. // // This member is required. Name *string @@ -218,7 +218,9 @@ type CreateFilterInput struct { // The idempotency token for the create request. ClientToken *string - // The description of the filter. + // The description of the filter. Valid special characters include period (.), + // underscore (_), dash (-), and whitespace. The new line character is considered + // to be an invalid input for description. Description *string // Specifies the position of the filter in the list of current filters. Also diff --git a/service/guardduty/api_op_UpdateFilter.go b/service/guardduty/api_op_UpdateFilter.go index e3dc828e048..89261e2bfc7 100644 --- a/service/guardduty/api_op_UpdateFilter.go +++ b/service/guardduty/api_op_UpdateFilter.go @@ -44,7 +44,9 @@ type UpdateFilterInput struct { // filter. Action types.FilterAction - // The description of the filter. + // The description of the filter. Valid special characters include period (.), + // underscore (_), dash (-), and whitespace. The new line character is considered + // to be an invalid input for description. Description *string // Represents the criteria to be used in the filter for querying findings. diff --git a/service/guardduty/doc.go b/service/guardduty/doc.go index 4ca6ca4fb4a..bbc8b15acc5 100644 --- a/service/guardduty/doc.go +++ b/service/guardduty/doc.go @@ -6,19 +6,19 @@ // Amazon GuardDuty is a continuous security monitoring service that analyzes and // processes the following data sources: VPC flow logs, Amazon Web Services // CloudTrail management event logs, CloudTrail S3 data event logs, EKS audit logs, -// and DNS logs. It uses threat intelligence feeds (such as lists of malicious IPs -// and domains) and machine learning to identify unexpected, potentially -// unauthorized, and malicious activity within your Amazon Web Services +// DNS logs, and Amazon EBS volume data. It uses threat intelligence feeds, such as +// lists of malicious IPs and domains, and machine learning to identify unexpected, +// potentially unauthorized, and malicious activity within your Amazon Web Services // environment. This can include issues like escalations of privileges, uses of -// exposed credentials, or communication with malicious IPs, URLs, or domains. For -// example, GuardDuty can detect compromised EC2 instances that serve malware or -// mine bitcoin. GuardDuty also monitors Amazon Web Services account access -// behavior for signs of compromise. Some examples of this are unauthorized -// infrastructure deployments such as EC2 instances deployed in a Region that has -// never been used, or unusual API calls like a password policy change to reduce -// password strength. GuardDuty informs you of the status of your Amazon Web -// Services environment by producing security findings that you can view in the -// GuardDuty console or through Amazon CloudWatch events. For more information, see -// the Amazon GuardDuty User Guide -// (https://docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html) . +// exposed credentials, or communication with malicious IPs, domains, or presence +// of malware on your Amazon EC2 instances and container workloads. For example, +// GuardDuty can detect compromised EC2 instances and container workloads serving +// malware, or mining bitcoin. GuardDuty also monitors Amazon Web Services account +// access behavior for signs of compromise, such as unauthorized infrastructure +// deployments like EC2 instances deployed in a Region that has never been used, or +// unusual API calls like a password policy change to reduce password strength. +// GuardDuty informs you about the status of your Amazon Web Services environment +// by producing security findings that you can view in the GuardDuty console or +// through Amazon EventBridge. For more information, see the Amazon GuardDuty User +// Guide (https://docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html) . package guardduty diff --git a/service/guardduty/types/types.go b/service/guardduty/types/types.go index 7cf84c67cd2..9cea8437e15 100644 --- a/service/guardduty/types/types.go +++ b/service/guardduty/types/types.go @@ -1738,7 +1738,7 @@ type Scan struct { // Represents total bytes that were scanned. TotalBytes int64 - // Represents the reason the scan was triggered. + // Specifies the reason why the scan was initiated. TriggerDetails *TriggerDetails noSmithyDocumentSerde diff --git a/service/iotfleetwise/deserializers.go b/service/iotfleetwise/deserializers.go index 0ec03dd0826..9b6436998b3 100644 --- a/service/iotfleetwise/deserializers.go +++ b/service/iotfleetwise/deserializers.go @@ -2620,6 +2620,9 @@ func awsAwsjson10_deserializeOpErrorGetModelManifest(response *smithyhttp.Respon case strings.EqualFold("ThrottlingException", errorCode): return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson10_deserializeErrorValidationException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -6109,6 +6112,9 @@ func awsAwsjson10_deserializeOpErrorUpdateSignalCatalog(response *smithyhttp.Res case strings.EqualFold("ThrottlingException", errorCode): return awsAwsjson10_deserializeErrorThrottlingException(response, errorBody) + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson10_deserializeErrorValidationException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, diff --git a/service/quicksight/internal/endpoints/endpoints.go b/service/quicksight/internal/endpoints/endpoints.go index c25460c925c..a86d9cd4cba 100644 --- a/service/quicksight/internal/endpoints/endpoints.go +++ b/service/quicksight/internal/endpoints/endpoints.go @@ -159,12 +159,18 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "eu-central-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-north-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-west-1", }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-west-2", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-3", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "sa-east-1", }: endpoints.Endpoint{}, diff --git a/service/sagemaker/api_op_CreateApp.go b/service/sagemaker/api_op_CreateApp.go index ed7b33cb851..255ef0f8063 100644 --- a/service/sagemaker/api_op_CreateApp.go +++ b/service/sagemaker/api_op_CreateApp.go @@ -55,14 +55,15 @@ type CreateAppInput struct { // the CreateApp call fails with a request validation error. ResourceSpec *types.ResourceSpec - // The name of the space. + // The name of the space. If this value is not set, then UserProfileName must be + // set. SpaceName *string // Each tag consists of a key and an optional value. Tag keys must be unique per // resource. Tags []types.Tag - // The user profile name. + // The user profile name. If this value is not set, then SpaceName must be set. UserProfileName *string noSmithyDocumentSerde diff --git a/service/sagemaker/api_op_DeleteApp.go b/service/sagemaker/api_op_DeleteApp.go index 2a256188002..ec548991730 100644 --- a/service/sagemaker/api_op_DeleteApp.go +++ b/service/sagemaker/api_op_DeleteApp.go @@ -44,10 +44,11 @@ type DeleteAppInput struct { // This member is required. DomainId *string - // The name of the space. + // The name of the space. If this value is not set, then UserProfileName must be + // set. SpaceName *string - // The user profile name. + // The user profile name. If this value is not set, then SpaceName must be set. UserProfileName *string noSmithyDocumentSerde diff --git a/service/sagemaker/api_op_DescribeApp.go b/service/sagemaker/api_op_DescribeApp.go index 792af91a242..2a0d2ad59a1 100644 --- a/service/sagemaker/api_op_DescribeApp.go +++ b/service/sagemaker/api_op_DescribeApp.go @@ -48,7 +48,7 @@ type DescribeAppInput struct { // The name of the space. SpaceName *string - // The user profile name. + // The user profile name. If this value is not set, then SpaceName must be set. UserProfileName *string noSmithyDocumentSerde @@ -86,7 +86,8 @@ type DescribeAppOutput struct { // created on the instance. ResourceSpec *types.ResourceSpec - // The name of the space. + // The name of the space. If this value is not set, then UserProfileName must be + // set. SpaceName *string // The status. diff --git a/service/sagemaker/api_op_ListApps.go b/service/sagemaker/api_op_ListApps.go index d5d2a0e0570..423d8fb15cc 100644 --- a/service/sagemaker/api_op_ListApps.go +++ b/service/sagemaker/api_op_ListApps.go @@ -46,10 +46,12 @@ type ListAppsInput struct { // The sort order for the results. The default is Ascending. SortOrder types.SortOrder - // A parameter to search by space name. + // A parameter to search by space name. If UserProfileNameEquals is set, then this + // value cannot be set. SpaceNameEquals *string - // A parameter to search by user profile name. + // A parameter to search by user profile name. If SpaceNameEquals is set, then this + // value cannot be set. UserProfileNameEquals *string noSmithyDocumentSerde diff --git a/service/sagemaker/deserializers.go b/service/sagemaker/deserializers.go index 7710ead3fce..efa11370257 100644 --- a/service/sagemaker/deserializers.go +++ b/service/sagemaker/deserializers.go @@ -46737,6 +46737,19 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobConfig(v **types.Hyp return err } + case "RandomSeed": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected RandomSeed to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.RandomSeed = ptr.Int32(int32(i64)) + } + case "ResourceLimits": if err := awsAwsjson11_deserializeDocumentResourceLimits(&sv.ResourceLimits, value); err != nil { return err diff --git a/service/sagemaker/serializers.go b/service/sagemaker/serializers.go index fbe76d16b5e..63c4cf3f246 100644 --- a/service/sagemaker/serializers.go +++ b/service/sagemaker/serializers.go @@ -19899,6 +19899,11 @@ func awsAwsjson11_serializeDocumentHyperParameterTuningJobConfig(v *types.HyperP } } + if v.RandomSeed != nil { + ok := object.Key("RandomSeed") + ok.Integer(*v.RandomSeed) + } + if v.ResourceLimits != nil { ok := object.Key("ResourceLimits") if err := awsAwsjson11_serializeDocumentResourceLimits(v.ResourceLimits, ok); err != nil { diff --git a/service/sagemaker/types/types.go b/service/sagemaker/types/types.go index c162bc397b7..6a635670478 100644 --- a/service/sagemaker/types/types.go +++ b/service/sagemaker/types/types.go @@ -6824,8 +6824,8 @@ type HyperParameterTuningInstanceConfig struct { // Configures a hyperparameter tuning job. type HyperParameterTuningJobConfig struct { - // The ResourceLimits object that specifies the maximum number of training jobs and - // parallel training jobs for this tuning job. + // The ResourceLimits object that specifies the maximum number of training and + // parallel training jobs that can be used for this hyperparameter tuning job. // // This member is required. ResourceLimits *ResourceLimits @@ -6838,14 +6838,21 @@ type HyperParameterTuningJobConfig struct { // This member is required. Strategy HyperParameterTuningJobStrategyType - // The HyperParameterTuningJobObjective object that specifies the objective metric - // for this tuning job. + // The HyperParameterTuningJobObjective specifies the objective metric used to + // evaluate the performance of training jobs launched by this tuning job. HyperParameterTuningJobObjective *HyperParameterTuningJobObjective // The ParameterRanges object that specifies the ranges of hyperparameters that - // this tuning job searches. + // this tuning job searches over to find the optimal configuration for the highest + // model performance against .your chosen objective metric. ParameterRanges *ParameterRanges + // A value used to initialize a pseudo-random number generator. Setting a random + // seed and using the same seed later for the same tuning job will allow + // hyperparameter optimization to find more a consistent hyperparameter + // configuration between the two runs. + RandomSeed *int32 + // The configuration for the Hyperband optimization strategy. This parameter should // be provided only if Hyperband is selected as the strategy for // HyperParameterTuningJobConfig. diff --git a/service/sagemakermetrics/internal/endpoints/endpoints.go b/service/sagemakermetrics/internal/endpoints/endpoints.go index c8fb3ea8902..541e8c34dce 100644 --- a/service/sagemakermetrics/internal/endpoints/endpoints.go +++ b/service/sagemakermetrics/internal/endpoints/endpoints.go @@ -333,6 +333,9 @@ var defaultPartitions = endpoints.Partitions{ RegionRegex: partitionRegexp.AwsUsGov, IsRegionalized: true, Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "us-gov-east-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "us-gov-west-1", }: endpoints.Endpoint{}, diff --git a/service/servicequotas/internal/endpoints/endpoints.go b/service/servicequotas/internal/endpoints/endpoints.go index 7aa438bff2b..3ddcbab7f5e 100644 --- a/service/servicequotas/internal/endpoints/endpoints.go +++ b/service/servicequotas/internal/endpoints/endpoints.go @@ -183,6 +183,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "eu-west-3", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "me-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{},