diff --git a/CHANGELOG.md b/CHANGELOG.md index eea567b8fb7..157a2f97608 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,34 @@ +# Release (2024-09-27) + +## General Highlights +* **Dependency Update**: Updated to the latest SDK module versions + +## Module Highlights +* `github.com/aws/aws-sdk-go-v2/service/customerprofiles`: [v1.41.0](service/customerprofiles/CHANGELOG.md#v1410-2024-09-27) + * **Feature**: Introduces optional RoleArn parameter for PutIntegration request and includes RoleArn in the response of PutIntegration, GetIntegration and ListIntegrations +* `github.com/aws/aws-sdk-go-v2/service/quicksight`: [v1.74.0](service/quicksight/CHANGELOG.md#v1740-2024-09-27) + * **Feature**: Adding personalization in QuickSight data stories. Admins can enable or disable personalization through QuickSight settings. +* `github.com/aws/aws-sdk-go-v2/service/securityhub`: [v1.53.3](service/securityhub/CHANGELOG.md#v1533-2024-09-27) + * **Documentation**: Documentation updates for AWS Security Hub +* `github.com/aws/aws-sdk-go-v2/service/sesv2`: [v1.35.0](service/sesv2/CHANGELOG.md#v1350-2024-09-27) + * **Feature**: This release adds support for engagement tracking over Https using custom domains. + +# Release (2024-09-26) + +## Module Highlights +* `github.com/aws/aws-sdk-go-v2/service/chatbot`: [v1.7.0](service/chatbot/CHANGELOG.md#v170-2024-09-26) + * **Feature**: Return State and StateReason fields for Chatbot Channel Configurations. +* `github.com/aws/aws-sdk-go-v2/service/lambda`: [v1.62.0](service/lambda/CHANGELOG.md#v1620-2024-09-26) + * **Feature**: Reverting Lambda resource-based policy and block public access APIs. +* `github.com/aws/aws-sdk-go-v2/service/organizations`: [v1.33.0](service/organizations/CHANGELOG.md#v1330-2024-09-26) + * **Feature**: Add support for policy operations on the CHATBOT_POLICY policy type. +* `github.com/aws/aws-sdk-go-v2/service/pcs`: [v1.1.3](service/pcs/CHANGELOG.md#v113-2024-09-26) + * **Documentation**: AWS PCS API documentation - Edited the description of the iamInstanceProfileArn parameter of the CreateComputeNodeGroup and UpdateComputeNodeGroup actions; edited the description of the SlurmCustomSetting data type to list the supported parameters for clusters and compute node groups. +* `github.com/aws/aws-sdk-go-v2/service/rdsdata`: [v1.24.3](service/rdsdata/CHANGELOG.md#v1243-2024-09-26) + * **Documentation**: Documentation update for RDS Data API to reflect support for Aurora MySQL Serverless v2 and Provisioned DB clusters. +* `github.com/aws/aws-sdk-go-v2/service/sagemaker`: [v1.161.0](service/sagemaker/CHANGELOG.md#v11610-2024-09-26) + * **Feature**: Adding `TagPropagation` attribute to Sagemaker API + # Release (2024-09-25) ## General Highlights diff --git a/codegen/sdk-codegen/aws-models/chatbot.json b/codegen/sdk-codegen/aws-models/chatbot.json index 1940cb5dca6..6b634fabe6d 100644 --- a/codegen/sdk-codegen/aws-models/chatbot.json +++ b/codegen/sdk-codegen/aws-models/chatbot.json @@ -112,6 +112,18 @@ "traits": { "smithy.api#documentation": "

A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

" } + }, + "State": { + "target": "com.amazonaws.chatbot#ResourceState", + "traits": { + "smithy.api#documentation": "

Either ENABLED or DISABLED. The resource returns DISABLED if the organization's AWS Chatbot policy has explicitly denied that configuration.\n\t For example, if Amazon Chime is disabled.

" + } + }, + "StateReason": { + "target": "com.amazonaws.chatbot#String", + "traits": { + "smithy.api#documentation": "

Provided if State is DISABLED. Provides context as to why the resource is disabled.

" + } } }, "traits": { @@ -177,6 +189,18 @@ "traits": { "smithy.api#documentation": "

The name of the Microsoft Teams Team.

" } + }, + "State": { + "target": "com.amazonaws.chatbot#ResourceState", + "traits": { + "smithy.api#documentation": "

Either ENABLED or DISABLED. The resource returns DISABLED if the organization's AWS Chatbot policy has explicitly denied that configuration.\n\t For example, if Amazon Chime is disabled.

" + } + }, + "StateReason": { + "target": "com.amazonaws.chatbot#String", + "traits": { + "smithy.api#documentation": "

Provided if State is DISABLED. Provides context as to why the resource is disabled.

" + } } }, "traits": { @@ -2030,6 +2054,12 @@ "smithy.api#httpError": 404 } }, + "com.amazonaws.chatbot#ResourceState": { + "type": "string", + "traits": { + "smithy.api#pattern": "^(ENABLED|DISABLED)$" + } + }, "com.amazonaws.chatbot#ServiceUnavailableException": { "type": "structure", "members": { @@ -2124,6 +2154,18 @@ "traits": { "smithy.api#documentation": "

A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

" } + }, + "State": { + "target": "com.amazonaws.chatbot#ResourceState", + "traits": { + "smithy.api#documentation": "

Either ENABLED or DISABLED. The resource returns DISABLED if the organization's AWS Chatbot policy has explicitly denied that configuration.\n\t For example, if Amazon Chime is disabled.

" + } + }, + "StateReason": { + "target": "com.amazonaws.chatbot#String", + "traits": { + "smithy.api#documentation": "

Provided if State is DISABLED. Provides context as to why the resource is disabled.

" + } } }, "traits": { @@ -2249,6 +2291,18 @@ "smithy.api#documentation": "

The name of the Slack workspace.

", "smithy.api#required": {} } + }, + "State": { + "target": "com.amazonaws.chatbot#ResourceState", + "traits": { + "smithy.api#documentation": "

Either ENABLED or DISABLED. The resource returns DISABLED if the organization's AWS Chatbot policy has explicitly denied that configuration.\n\t For example, if Amazon Chime is disabled.

" + } + }, + "StateReason": { + "target": "com.amazonaws.chatbot#String", + "traits": { + "smithy.api#documentation": "

Provided if State is DISABLED. Provides context as to why the resource is disabled.

" + } } }, "traits": { @@ -2267,6 +2321,9 @@ "target": "com.amazonaws.chatbot#Arn" } }, + "com.amazonaws.chatbot#String": { + "type": "string" + }, "com.amazonaws.chatbot#Tag": { "type": "structure", "members": { @@ -2500,6 +2557,18 @@ "traits": { "smithy.api#documentation": "

A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

" } + }, + "State": { + "target": "com.amazonaws.chatbot#ResourceState", + "traits": { + "smithy.api#documentation": "

Either ENABLED or DISABLED. The resource returns DISABLED if the organization's AWS Chatbot policy has explicitly denied that configuration.\n\t For example, if Amazon Chime is disabled.

" + } + }, + "StateReason": { + "target": "com.amazonaws.chatbot#String", + "traits": { + "smithy.api#documentation": "

Provided if State is DISABLED. Provides context as to why the resource is disabled.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/customer-profiles.json b/codegen/sdk-codegen/aws-models/customer-profiles.json index 47768919795..3c6672f0a15 100644 --- a/codegen/sdk-codegen/aws-models/customer-profiles.json +++ b/codegen/sdk-codegen/aws-models/customer-profiles.json @@ -1624,7 +1624,7 @@ "name": "profile" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Connect Customer Profiles\n

Amazon Connect Customer Profiles is a unified customer profile for your contact\n center that has pre-built connectors powered by AppFlow that make it easy to combine\n customer information from third party applications, such as Salesforce (CRM), ServiceNow\n (ITSM), and your enterprise resource planning (ERP), with contact history from your Amazon Connect contact center.

\n

For more information about the Amazon Connect Customer Profiles feature, see Use Customer\n Profiles in the Amazon Connect Administrator's Guide.

", + "smithy.api#documentation": "Amazon Connect Customer Profiles\n \n

Amazon Connect Customer Profiles is a unified customer profile for your contact\n center that has pre-built connectors powered by AppFlow that make it easy to combine\n customer information from third party applications, such as Salesforce (CRM), ServiceNow\n (ITSM), and your enterprise resource planning (ERP), with contact history from your Amazon Connect contact center.

\n

For more information about the Amazon Connect Customer Profiles feature, see Use Customer\n Profiles in the Amazon Connect Administrator's Guide.

", "smithy.api#title": "Amazon Connect Customer Profiles", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -4524,6 +4524,12 @@ "traits": { "smithy.api#documentation": "

Boolean that shows if the Flow that's associated with the Integration is created in\n Amazon Appflow, or with ObjectTypeName equals _unstructured via API/CLI in\n flowDefinition.

" } + }, + "RoleArn": { + "target": "com.amazonaws.customerprofiles#RoleArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make\n Customer Profiles requests on your behalf.

" + } } }, "traits": { @@ -6200,6 +6206,12 @@ "traits": { "smithy.api#documentation": "

Boolean that shows if the Flow that's associated with the Integration is created in\n Amazon Appflow, or with ObjectTypeName equals _unstructured via API/CLI in\n flowDefinition.

" } + }, + "RoleArn": { + "target": "com.amazonaws.customerprofiles#RoleArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make\n Customer Profiles requests on your behalf.

" + } } }, "traits": { @@ -7922,6 +7934,12 @@ "traits": { "smithy.api#documentation": "

A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an ObjectTypeName (template) used to ingest the event.\nIt supports the following event types: SegmentIdentify, ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, \nShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders.

" } + }, + "RoleArn": { + "target": "com.amazonaws.customerprofiles#RoleArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make\n Customer Profiles requests on your behalf.

" + } } }, "traits": { @@ -7988,6 +8006,12 @@ "traits": { "smithy.api#documentation": "

Boolean that shows if the Flow that's associated with the Integration is created in\n Amazon Appflow, or with ObjectTypeName equals _unstructured via API/CLI in\n flowDefinition.

" } + }, + "RoleArn": { + "target": "com.amazonaws.customerprofiles#RoleArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make\n Customer Profiles requests on your behalf.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/lambda.json b/codegen/sdk-codegen/aws-models/lambda.json index 9e4dec4c63d..674144fde12 100644 --- a/codegen/sdk-codegen/aws-models/lambda.json +++ b/codegen/sdk-codegen/aws-models/lambda.json @@ -84,9 +84,6 @@ { "target": "com.amazonaws.lambda#DeleteProvisionedConcurrencyConfig" }, - { - "target": "com.amazonaws.lambda#DeleteResourcePolicy" - }, { "target": "com.amazonaws.lambda#GetAccountSettings" }, @@ -135,12 +132,6 @@ { "target": "com.amazonaws.lambda#GetProvisionedConcurrencyConfig" }, - { - "target": "com.amazonaws.lambda#GetPublicAccessBlockConfig" - }, - { - "target": "com.amazonaws.lambda#GetResourcePolicy" - }, { "target": "com.amazonaws.lambda#GetRuntimeManagementConfig" }, @@ -210,12 +201,6 @@ { "target": "com.amazonaws.lambda#PutProvisionedConcurrencyConfig" }, - { - "target": "com.amazonaws.lambda#PutPublicAccessBlockConfig" - }, - { - "target": "com.amazonaws.lambda#PutResourcePolicy" - }, { "target": "com.amazonaws.lambda#PutRuntimeManagementConfig" }, @@ -1771,9 +1756,6 @@ { "target": "com.amazonaws.lambda#PreconditionFailedException" }, - { - "target": "com.amazonaws.lambda#PublicPolicyException" - }, { "target": "com.amazonaws.lambda#ResourceConflictException" }, @@ -1788,7 +1770,7 @@ } ], "traits": { - "smithy.api#documentation": "

Grants a principal \n permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict\n access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name\n (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies\n to version $LATEST.

\n

To grant permission to another account, specify the account ID as the Principal. To grant\n permission to an organization defined in Organizations, specify the organization ID as the\n PrincipalOrgID. For Amazon Web Servicesservices, the principal is a domain-style identifier that\n the service defines, such as s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Servicesservices, you can also specify the ARN of the associated resource as the SourceArn. If\n you grant permission to a service principal without specifying the source, other accounts could potentially\n configure resources in their account to invoke your Lambda function.

\n

This operation adds a statement to a resource-based permissions policy for the function. For more information\n about function policies, see Using resource-based policies for Lambda.

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

Grants a principal \n permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict\n access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name\n (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies\n to version $LATEST.

\n

To grant permission to another account, specify the account ID as the Principal. To grant\n permission to an organization defined in Organizations, specify the organization ID as the\n PrincipalOrgID. For Amazon Web Services services, the principal is a domain-style identifier that\n the service defines, such as s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services services, you can also specify the ARN of the associated resource as the SourceArn. If\n you grant permission to a service principal without specifying the source, other accounts could potentially\n configure resources in their account to invoke your Lambda function.

\n

This operation adds a statement to a resource-based permissions policy for the function. For more information\n about function policies, see Using resource-based policies for Lambda.

", "smithy.api#examples": [ { "title": "To grant Amazon S3 permission to invoke a function", @@ -1854,20 +1836,20 @@ "Principal": { "target": "com.amazonaws.lambda#Principal", "traits": { - "smithy.api#documentation": "

The Amazon Web Servicesservice, Amazon Web Services account, IAM user, or IAM role that invokes the function. If you specify a\n service, use SourceArn or SourceAccount to limit who can invoke the function through\n that service.

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

The Amazon Web Services service, Amazon Web Services account, IAM user, or IAM role that invokes the function. If you specify a\n service, use SourceArn or SourceAccount to limit who can invoke the function through\n that service.

", "smithy.api#required": {} } }, "SourceArn": { "target": "com.amazonaws.lambda#Arn", "traits": { - "smithy.api#documentation": "

For Amazon Web Servicesservices, the ARN of the Amazon Web Services resource that invokes the function. For\n example, an Amazon S3 bucket or Amazon SNS topic.

\n

Note that Lambda configures the comparison using the StringLike operator.

" + "smithy.api#documentation": "

For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For\n example, an Amazon S3 bucket or Amazon SNS topic.

\n

Note that Lambda configures the comparison using the StringLike operator.

" } }, "SourceAccount": { "target": "com.amazonaws.lambda#SourceOwner", "traits": { - "smithy.api#documentation": "

For Amazon Web Servicesservice, the ID of the Amazon Web Services account that owns the resource. Use this\n together with SourceArn to ensure that the specified account owns the resource. It is possible for an\n Amazon S3 bucket to be deleted by its owner and recreated by another account.

" + "smithy.api#documentation": "

For Amazon Web Services service, the ID of the Amazon Web Services account that owns the resource. Use this\n together with SourceArn to ensure that the specified account owns the resource. It is possible for an\n Amazon S3 bucket to be deleted by its owner and recreated by another account.

" } }, "EventSourceToken": { @@ -2836,7 +2818,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a Lambda function. To create a function, you need a deployment package and an execution role. The\n deployment package is a .zip file archive or container image that contains your function code. The execution role\n grants the function permission to use Amazon Web Servicesservices, such as Amazon CloudWatch Logs for log\n streaming and X-Ray for request tracing.

\n

If the deployment package is a container\n image, then you set the package type to Image. For a container image, the code property\n must include the URI of a container image in the Amazon ECR registry. You do not need to specify the\n handler and runtime properties.

\n

If the deployment package is a .zip file archive, then\n you set the package type to Zip. For a .zip file archive, the code property specifies the location of\n the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must\n be compatible with the target instruction set architecture of the function (x86-64 or\n arm64). If you do not specify the architecture, then the default value is\n x86-64.

\n

When you create a function, Lambda provisions an instance of the function and its supporting\n resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't\n invoke or modify the function. The State, StateReason, and StateReasonCode\n fields in the response from GetFunctionConfiguration indicate when the function is ready to\n invoke. For more information, see Lambda function states.

\n

A function has an unpublished version, and can have published versions and aliases. The unpublished version\n changes when you update your function's code and configuration. A published version is a snapshot of your function\n code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be\n changed to map to a different version. Use the Publish parameter to create version 1 of\n your function from its initial configuration.

\n

The other parameters let you configure version-specific and function-level settings. You can modify\n version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply\n to both the unpublished and published versions of the function, and include tags (TagResource)\n and per-function concurrency limits (PutFunctionConcurrency).

\n

You can use code signing if your deployment package is a .zip file archive. To enable code signing for this\n function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with\n UpdateFunctionCode, Lambda checks that the code package has a valid signature from\n a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted\n publishers for this function.

\n

If another Amazon Web Services account or an Amazon Web Servicesservice invokes your function, use AddPermission to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.

\n

To invoke your function directly, use Invoke. To invoke your function in response to events\n in other Amazon Web Servicesservices, create an event source mapping (CreateEventSourceMapping),\n or configure a function trigger in the other service. For more information, see Invoking Lambda\n functions.

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

Creates a Lambda function. To create a function, you need a deployment package and an execution role. The\n deployment package is a .zip file archive or container image that contains your function code. The execution role\n grants the function permission to use Amazon Web Services services, such as Amazon CloudWatch Logs for log\n streaming and X-Ray for request tracing.

\n

If the deployment package is a container\n image, then you set the package type to Image. For a container image, the code property\n must include the URI of a container image in the Amazon ECR registry. You do not need to specify the\n handler and runtime properties.

\n

If the deployment package is a .zip file archive, then\n you set the package type to Zip. For a .zip file archive, the code property specifies the location of\n the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must\n be compatible with the target instruction set architecture of the function (x86-64 or\n arm64). If you do not specify the architecture, then the default value is\n x86-64.

\n

When you create a function, Lambda provisions an instance of the function and its supporting\n resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't\n invoke or modify the function. The State, StateReason, and StateReasonCode\n fields in the response from GetFunctionConfiguration indicate when the function is ready to\n invoke. For more information, see Lambda function states.

\n

A function has an unpublished version, and can have published versions and aliases. The unpublished version\n changes when you update your function's code and configuration. A published version is a snapshot of your function\n code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be\n changed to map to a different version. Use the Publish parameter to create version 1 of\n your function from its initial configuration.

\n

The other parameters let you configure version-specific and function-level settings. You can modify\n version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply\n to both the unpublished and published versions of the function, and include tags (TagResource)\n and per-function concurrency limits (PutFunctionConcurrency).

\n

You can use code signing if your deployment package is a .zip file archive. To enable code signing for this\n function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with\n UpdateFunctionCode, Lambda checks that the code package has a valid signature from\n a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted\n publishers for this function.

\n

If another Amazon Web Services account or an Amazon Web Services service invokes your function, use AddPermission to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.

\n

To invoke your function directly, use Invoke. To invoke your function in response to events\n in other Amazon Web Services services, create an event source mapping (CreateEventSourceMapping),\n or configure a function trigger in the other service. For more information, see Invoking Lambda\n functions.

", "smithy.api#examples": [ { "title": "To create a function", @@ -3409,7 +3391,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter.\n Otherwise, all versions and aliases are deleted. This doesn't require the user to have explicit\n permissions for DeleteAlias.

\n

To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Servicesservices and resources that invoke your function\n directly, delete the trigger in the service where you originally configured it.

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

Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter.\n Otherwise, all versions and aliases are deleted. This doesn't require the user to have explicit\n permissions for DeleteAlias.

\n

To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services services and resources that invoke your function\n directly, delete the trigger in the service where you originally configured it.

", "smithy.api#examples": [ { "title": "To delete a version of a Lambda function", @@ -3811,66 +3793,6 @@ "smithy.api#input": {} } }, - "com.amazonaws.lambda#DeleteResourcePolicy": { - "type": "operation", - "input": { - "target": "com.amazonaws.lambda#DeleteResourcePolicyRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.lambda#InvalidParameterValueException" - }, - { - "target": "com.amazonaws.lambda#PreconditionFailedException" - }, - { - "target": "com.amazonaws.lambda#ResourceConflictException" - }, - { - "target": "com.amazonaws.lambda#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lambda#ServiceException" - }, - { - "target": "com.amazonaws.lambda#TooManyRequestsException" - } - ], - "traits": { - "smithy.api#documentation": "\n

The option to create and modify full JSON resource-based policies, and to use the PutResourcePolicy, GetResourcePolicy, and DeleteResourcePolicy APIs, won't be \n available in all Amazon Web Services Regions until September 30, 2024.

\n
\n

Deletes a resource-based policy from a function.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/2024-09-16/resource-policy/{ResourceArn}", - "code": 204 - } - } - }, - "com.amazonaws.lambda#DeleteResourcePolicyRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.lambda#PolicyResourceArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the function you want to delete the policy from. You can use either a qualified or an unqualified ARN, \n but the value you specify must be a complete ARN and wildcard characters are not accepted.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "RevisionId": { - "target": "com.amazonaws.lambda#RevisionId", - "traits": { - "smithy.api#documentation": "

Delete the existing policy only if its revision ID matches the string you specify. To find the revision ID of the policy currently attached \n to your function, use the GetResourcePolicy action.

", - "smithy.api#httpQuery": "RevisionId" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, "com.amazonaws.lambda#Description": { "type": "string", "traits": { @@ -6639,134 +6561,6 @@ "smithy.api#output": {} } }, - "com.amazonaws.lambda#GetPublicAccessBlockConfig": { - "type": "operation", - "input": { - "target": "com.amazonaws.lambda#GetPublicAccessBlockConfigRequest" - }, - "output": { - "target": "com.amazonaws.lambda#GetPublicAccessBlockConfigResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lambda#InvalidParameterValueException" - }, - { - "target": "com.amazonaws.lambda#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lambda#ServiceException" - }, - { - "target": "com.amazonaws.lambda#TooManyRequestsException" - } - ], - "traits": { - "smithy.api#documentation": "\n

The option to configure public-access settings, and to use the PutPublicAccessBlock and GetPublicAccessBlock APIs, won't be \n available in all Amazon Web Services Regions until September 30, 2024.

\n
\n

Retrieve the public-access settings for a function.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2024-09-16/public-access-block/{ResourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.lambda#GetPublicAccessBlockConfigRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.lambda#PublicAccessBlockResourceArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the function you want to retrieve public-access settings for.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lambda#GetPublicAccessBlockConfigResponse": { - "type": "structure", - "members": { - "PublicAccessBlockConfig": { - "target": "com.amazonaws.lambda#PublicAccessBlockConfig", - "traits": { - "smithy.api#documentation": "

The public-access settings configured for the function you specified

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lambda#GetResourcePolicy": { - "type": "operation", - "input": { - "target": "com.amazonaws.lambda#GetResourcePolicyRequest" - }, - "output": { - "target": "com.amazonaws.lambda#GetResourcePolicyResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lambda#InvalidParameterValueException" - }, - { - "target": "com.amazonaws.lambda#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lambda#ServiceException" - }, - { - "target": "com.amazonaws.lambda#TooManyRequestsException" - } - ], - "traits": { - "smithy.api#documentation": "\n

The option to create and modify full JSON resource-based policies, and to use the PutResourcePolicy, GetResourcePolicy, and DeleteResourcePolicy APIs, won't be \n available in all Amazon Web Services Regions until September 30, 2024.

\n
\n

Retrieves the resource-based policy attached to a function.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2024-09-16/resource-policy/{ResourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.lambda#GetResourcePolicyRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.lambda#PolicyResourceArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the function you want to retrieve the policy for. You can use either a qualified or an unqualified ARN, \n but the value you specify must be a complete ARN and wildcard characters are not accepted.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lambda#GetResourcePolicyResponse": { - "type": "structure", - "members": { - "Policy": { - "target": "com.amazonaws.lambda#ResourcePolicy", - "traits": { - "smithy.api#documentation": "

The resource-based policy attached to the function you specified.

" - } - }, - "RevisionId": { - "target": "com.amazonaws.lambda#RevisionId", - "traits": { - "smithy.api#documentation": "

The revision ID of the policy.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, "com.amazonaws.lambda#GetRuntimeManagementConfig": { "type": "operation", "input": { @@ -9326,7 +9120,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a function, event source mapping, or code signing configuration's tags. You can\n also view funciton tags with GetFunction.

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

Returns a function, event source mapping, or code signing configuration's tags. You can\n also view function tags with GetFunction.

", "smithy.api#examples": [ { "title": "To retrieve the list of tags for a Lambda function", @@ -9891,16 +9685,6 @@ "smithy.api#httpError": 400 } }, - "com.amazonaws.lambda#PolicyResourceArn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - }, - "smithy.api#pattern": "^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_]+(:(\\$LATEST|[a-zA-Z0-9-_])+)?$" - } - }, "com.amazonaws.lambda#PositiveInteger": { "type": "integer", "traits": { @@ -10042,55 +9826,6 @@ } } }, - "com.amazonaws.lambda#PublicAccessBlockConfig": { - "type": "structure", - "members": { - "BlockPublicPolicy": { - "target": "com.amazonaws.lambda#NullableBoolean", - "traits": { - "smithy.api#documentation": "

To block the creation of resource-based policies that would grant public access to your function, set BlockPublicPolicy \n to true. To allow the creation of resource-based policies that would grant public access to your function, set BlockPublicPolicy \n to false.

" - } - }, - "RestrictPublicResource": { - "target": "com.amazonaws.lambda#NullableBoolean", - "traits": { - "smithy.api#documentation": "

To block public access to your function, even if its resource-based policy allows it, set RestrictPublicResource to true. To \n allow public access to a function with a resource-based policy that permits it, set RestrictPublicResource to false.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An object that defines the public-access settings for a function.

" - } - }, - "com.amazonaws.lambda#PublicAccessBlockResourceArn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 170 - }, - "smithy.api#pattern": "^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_]+$" - } - }, - "com.amazonaws.lambda#PublicPolicyException": { - "type": "structure", - "members": { - "Type": { - "target": "com.amazonaws.lambda#String", - "traits": { - "smithy.api#documentation": "

The exception type.

" - } - }, - "Message": { - "target": "com.amazonaws.lambda#String" - } - }, - "traits": { - "smithy.api#documentation": "

Lambda prevented your policy from being created because it would grant public access to your function. If you intended to \n create a public policy, use the PutPublicAccessBlockConfig API action to configure your function's public-access settings \n to allow public policies.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, "com.amazonaws.lambda#PublishLayerVersion": { "type": "operation", "input": { @@ -10807,169 +10542,6 @@ "smithy.api#output": {} } }, - "com.amazonaws.lambda#PutPublicAccessBlockConfig": { - "type": "operation", - "input": { - "target": "com.amazonaws.lambda#PutPublicAccessBlockConfigRequest" - }, - "output": { - "target": "com.amazonaws.lambda#PutPublicAccessBlockConfigResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lambda#InvalidParameterValueException" - }, - { - "target": "com.amazonaws.lambda#ResourceConflictException" - }, - { - "target": "com.amazonaws.lambda#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lambda#ServiceException" - }, - { - "target": "com.amazonaws.lambda#TooManyRequestsException" - } - ], - "traits": { - "smithy.api#documentation": "\n

The option to configure public-access settings, and to use the PutPublicAccessBlock and GetPublicAccessBlock APIs, won't be \n available in all Amazon Web Services Regions until September 30, 2024.

\n
\n

Configure your function's public-access settings.

\n

To control public access to a Lambda function, you can choose whether to allow the creation of \n resource-based policies that \n allow public access to that function. You can also block public access to a function, even if it has an existing resource-based \n policy that allows it.

", - "smithy.api#http": { - "method": "PUT", - "uri": "/2024-09-16/public-access-block/{ResourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.lambda#PutPublicAccessBlockConfigRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.lambda#PublicAccessBlockResourceArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the function you want to configure public-access settings for. Public-access settings \n are applied at the function level, so you can't apply different settings to function versions or aliases.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "PublicAccessBlockConfig": { - "target": "com.amazonaws.lambda#PublicAccessBlockConfig", - "traits": { - "smithy.api#documentation": "

An object defining the public-access settings you want to apply.

\n

To block the creation of resource-based policies that would grant public access to your function, set BlockPublicPolicy \n to true. To allow the creation of resource-based policies that would grant public access to your function, set BlockPublicPolicy \n to false.

\n

To block public access to your function, even if its resource-based policy allows it, set RestrictPublicResource to true. To \n allow public access to a function with a resource-based policy that permits it, set RestrictPublicResource to false.

\n

The default setting for both BlockPublicPolicy and RestrictPublicResource is true.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lambda#PutPublicAccessBlockConfigResponse": { - "type": "structure", - "members": { - "PublicAccessBlockConfig": { - "target": "com.amazonaws.lambda#PublicAccessBlockConfig", - "traits": { - "smithy.api#documentation": "

The public-access settings Lambda applied to your function.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lambda#PutResourcePolicy": { - "type": "operation", - "input": { - "target": "com.amazonaws.lambda#PutResourcePolicyRequest" - }, - "output": { - "target": "com.amazonaws.lambda#PutResourcePolicyResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lambda#InvalidParameterValueException" - }, - { - "target": "com.amazonaws.lambda#PolicyLengthExceededException" - }, - { - "target": "com.amazonaws.lambda#PreconditionFailedException" - }, - { - "target": "com.amazonaws.lambda#PublicPolicyException" - }, - { - "target": "com.amazonaws.lambda#ResourceConflictException" - }, - { - "target": "com.amazonaws.lambda#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lambda#ServiceException" - }, - { - "target": "com.amazonaws.lambda#TooManyRequestsException" - } - ], - "traits": { - "smithy.api#documentation": "\n

The option to create and modify full JSON resource-based policies, and to use the PutResourcePolicy, GetResourcePolicy, and DeleteResourcePolicy APIs, won't be \n available in all Amazon Web Services Regions until September 30, 2024.

\n
\n

Adds a resource-based policy \n to a function. You can use resource-based policies to grant access to other \n Amazon Web Services accounts, \n organizations, or \n services. Resource-based policies \n apply to a single function, version, or alias.

\n \n

Adding a resource-based policy using this API action replaces any existing policy you've previously created. This means that if \n you've previously added resource-based permissions to a function using the AddPermission action, those \n permissions will be overwritten by your new policy.

\n
", - "smithy.api#http": { - "method": "PUT", - "uri": "/2024-09-16/resource-policy/{ResourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.lambda#PutResourcePolicyRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.lambda#PolicyResourceArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the function you want to add the policy to. You can use either a qualified or an unqualified ARN, \n but the value you specify must be a complete ARN and wildcard characters are not accepted.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Policy": { - "target": "com.amazonaws.lambda#ResourcePolicy", - "traits": { - "smithy.api#documentation": "

The JSON resource-based policy you want to add to your function.

\n

To learn more about creating resource-based policies for controlling access to \n Lambda, see Working with resource-based IAM policies in Lambda in the \n Lambda Developer Guide.

", - "smithy.api#required": {} - } - }, - "RevisionId": { - "target": "com.amazonaws.lambda#RevisionId", - "traits": { - "smithy.api#documentation": "

Replace the existing policy only if its revision ID matches the string you specify. To find the revision ID of the policy currently attached \n to your function, use the GetResourcePolicy action.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lambda#PutResourcePolicyResponse": { - "type": "structure", - "members": { - "Policy": { - "target": "com.amazonaws.lambda#ResourcePolicy", - "traits": { - "smithy.api#documentation": "

The policy Lambda added to your function.

" - } - }, - "RevisionId": { - "target": "com.amazonaws.lambda#RevisionId", - "traits": { - "smithy.api#documentation": "

The revision ID of the policy Lambda added to your function.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, "com.amazonaws.lambda#PutRuntimeManagementConfig": { "type": "operation", "input": { @@ -11239,9 +10811,6 @@ { "target": "com.amazonaws.lambda#PreconditionFailedException" }, - { - "target": "com.amazonaws.lambda#PublicPolicyException" - }, { "target": "com.amazonaws.lambda#ResourceNotFoundException" }, @@ -11253,7 +10822,7 @@ } ], "traits": { - "smithy.api#documentation": "

Revokes function-use permission from an Amazon Web Servicesservice or another Amazon Web Services account. You\n can get the ID of the statement from the output of GetPolicy.

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

Revokes function-use permission from an Amazon Web Services service or another Amazon Web Services account. You\n can get the ID of the statement from the output of GetPolicy.

", "smithy.api#examples": [ { "title": "To remove a Lambda function's permissions", @@ -11416,16 +10985,6 @@ "smithy.api#httpError": 502 } }, - "com.amazonaws.lambda#ResourcePolicy": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 20480 - }, - "smithy.api#pattern": "^[\\s\\S]+$" - } - }, "com.amazonaws.lambda#ResponseStreamingInvocationType": { "type": "enum", "members": { @@ -11443,16 +11002,6 @@ } } }, - "com.amazonaws.lambda#RevisionId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 36, - "max": 36 - }, - "smithy.api#pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" - } - }, "com.amazonaws.lambda#RoleArn": { "type": "string", "traits": { @@ -13227,7 +12776,7 @@ } ], "traits": { - "smithy.api#documentation": "

Modify the version-specific settings of a Lambda function.

\n

When you update a function, Lambda provisions an instance of the function and its supporting\n resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify\n the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason,\n and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration\n indicate when the update is complete and the function is processing events with the new configuration. For more\n information, see Lambda\n function states.

\n

These settings can vary between versions of a function and are locked when you publish a version. You can't\n modify the configuration of a published version, only the unpublished version.

\n

To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions\n to an Amazon Web Services account or Amazon Web Servicesservice, use AddPermission.

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

Modify the version-specific settings of a Lambda function.

\n

When you update a function, Lambda provisions an instance of the function and its supporting\n resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify\n the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason,\n and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration\n indicate when the update is complete and the function is processing events with the new configuration. For more\n information, see Lambda\n function states.

\n

These settings can vary between versions of a function and are locked when you publish a version. You can't\n modify the configuration of a published version, only the unpublished version.

\n

To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions\n to an Amazon Web Services account or Amazon Web Services service, use AddPermission.

", "smithy.api#examples": [ { "title": "To update a Lambda function's configuration", diff --git a/codegen/sdk-codegen/aws-models/organizations.json b/codegen/sdk-codegen/aws-models/organizations.json index c2b0af0ddb8..9efaec2e810 100644 --- a/codegen/sdk-codegen/aws-models/organizations.json +++ b/codegen/sdk-codegen/aws-models/organizations.json @@ -1902,7 +1902,7 @@ } ], "traits": { - "smithy.api#documentation": "

Attaches a policy to a root, an organizational unit (OU), or an individual account.\n How the policy affects accounts depends on the type of policy. Refer to the\n Organizations User Guide for information about each policy type:

\n \n

This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an Amazon Web Services service.

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

Attaches a policy to a root, an organizational unit (OU), or an individual account.\n How the policy affects accounts depends on the type of policy. Refer to the\n Organizations User Guide for information about each policy type:

\n \n

This operation can be called only from the organization's\nmanagement account or by a member account that is a delegated administrator for an Amazon Web Services service.

", "smithy.api#examples": [ { "title": "To attach a policy to an account", @@ -3129,7 +3129,7 @@ "Type": { "target": "com.amazonaws.organizations#PolicyType", "traits": { - "smithy.api#documentation": "

The type of policy to create. You can specify one of the following values:

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

The type of policy to create. You can specify one of the following values:

\n ", "smithy.api#required": {} } }, @@ -3837,7 +3837,7 @@ "PolicyType": { "target": "com.amazonaws.organizations#EffectivePolicyType", "traits": { - "smithy.api#documentation": "

The type of policy that you want information about. You can specify one of the\n following values:

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

The type of policy that you want information about. You can specify one of the\n following values:

\n ", "smithy.api#required": {} } }, @@ -4478,7 +4478,7 @@ "PolicyType": { "target": "com.amazonaws.organizations#PolicyType", "traits": { - "smithy.api#documentation": "

The policy type that you want to disable in this root. You can specify one of the\n following values:

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

The policy type that you want to disable in this root. You can specify one of the\n following values:

\n ", "smithy.api#required": {} } } @@ -4630,6 +4630,12 @@ "traits": { "smithy.api#enumValue": "AISERVICES_OPT_OUT_POLICY" } + }, + "CHATBOT_POLICY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHATBOT_POLICY" + } } } }, @@ -4867,7 +4873,7 @@ "PolicyType": { "target": "com.amazonaws.organizations#PolicyType", "traits": { - "smithy.api#documentation": "

The policy type that you want to enable. You can specify one of the following\n values:

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

The policy type that you want to enable. You can specify one of the following\n values:

\n ", "smithy.api#required": {} } } @@ -7116,7 +7122,7 @@ "Filter": { "target": "com.amazonaws.organizations#PolicyType", "traits": { - "smithy.api#documentation": "

The type of policy that you want to include in the returned list. You must specify one\n of the following values:

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

The type of policy that you want to include in the returned list. You must specify one\n of the following values:

\n ", "smithy.api#required": {} } }, @@ -7163,7 +7169,7 @@ "Filter": { "target": "com.amazonaws.organizations#PolicyType", "traits": { - "smithy.api#documentation": "

Specifies the type of policy that you want to include in the response. You must\n specify one of the following values:

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

Specifies the type of policy that you want to include in the response. You must\n specify one of the following values:

\n ", "smithy.api#required": {} } }, @@ -8107,6 +8113,12 @@ "traits": { "smithy.api#enumValue": "AISERVICES_OPT_OUT_POLICY" } + }, + "CHATBOT_POLICY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHATBOT_POLICY" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/pcs.json b/codegen/sdk-codegen/aws-models/pcs.json index 9b954eeee93..b823ea8f277 100644 --- a/codegen/sdk-codegen/aws-models/pcs.json +++ b/codegen/sdk-codegen/aws-models/pcs.json @@ -1156,7 +1156,7 @@ "iamInstanceProfileArn": { "target": "com.amazonaws.pcs#InstanceProfileArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the \n IAM instance profile used to pass an IAM role when launching EC2 instances. The role contained in your instance profile must have\n pcs:RegisterComputeNodeGroupInstance permissions attached to provision instances\n correctly.

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

The Amazon Resource Name (ARN) of the IAM instance \n profile used to pass an IAM role when launching EC2 instances. The role contained \n in your instance profile must have the pcs:RegisterComputeNodeGroupInstance\n permission. The resource identifier of the ARN must start with \n AWSPCS or it must have /aws-pcs/ in its path.

\n

\n Examples\n

\n ", "smithy.api#required": {} } }, @@ -1642,7 +1642,7 @@ "iamInstanceProfileArn": { "target": "com.amazonaws.pcs#InstanceProfileArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the \n IAM instance profile used to pass an IAM role when launching EC2 instances. The role contained in your instance profile must have\n pcs:RegisterComputeNodeGroupInstance permissions attached in order to\n provision instances correctly. The resource identifier of the ARN must start with \n AWSPCS. For example, arn:aws:iam:123456789012:instance-profile/AWSPCSMyComputeNodeInstanceProfile.\n

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

The Amazon Resource Name (ARN) of the IAM instance \n profile used to pass an IAM role when launching EC2 instances. The role contained \n in your instance profile must have the pcs:RegisterComputeNodeGroupInstance\n permission. The resource identifier of the ARN must start with \n AWSPCS or it must have /aws-pcs/ in its path.

\n

\n Examples\n

\n ", "smithy.api#required": {} } }, @@ -3362,7 +3362,7 @@ "parameterName": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

Amazon Web Services PCS supports configuration of the following Slurm parameters: \n Prolog\n , \n Epilog\n , and \n SelectTypeParameters\n .

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

Amazon Web Services PCS supports configuration of the following Slurm parameters:

\n ", "smithy.api#required": {} } }, @@ -3722,7 +3722,7 @@ "iamInstanceProfileArn": { "target": "com.amazonaws.pcs#InstanceProfileArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the \n IAM instance profile used to pass an IAM role when launching EC2 instances. The role contained in your instance profile must have\n pcs:RegisterComputeNodeGroupInstance permissions attached to provision instances\n correctly.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM instance \n profile used to pass an IAM role when launching EC2 instances. The role contained \n in your instance profile must have the pcs:RegisterComputeNodeGroupInstance\n permission. The resource identifier of the ARN must start with \n AWSPCS or it must have /aws-pcs/ in its path.

\n

\n Examples\n

\n " } }, "slurmConfiguration": { diff --git a/codegen/sdk-codegen/aws-models/quicksight.json b/codegen/sdk-codegen/aws-models/quicksight.json index 2a69f098a82..a90b562f5b4 100644 --- a/codegen/sdk-codegen/aws-models/quicksight.json +++ b/codegen/sdk-codegen/aws-models/quicksight.json @@ -20450,6 +20450,87 @@ "smithy.api#output": {} } }, + "com.amazonaws.quicksight#DescribeQPersonalizationConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.quicksight#DescribeQPersonalizationConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.quicksight#DescribeQPersonalizationConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.quicksight#AccessDeniedException" + }, + { + "target": "com.amazonaws.quicksight#ConflictException" + }, + { + "target": "com.amazonaws.quicksight#InternalFailureException" + }, + { + "target": "com.amazonaws.quicksight#InvalidParameterValueException" + }, + { + "target": "com.amazonaws.quicksight#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.quicksight#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

Describes a personalization configuration.

", + "smithy.api#http": { + "method": "GET", + "uri": "/accounts/{AwsAccountId}/q-personalization-configuration", + "code": 200 + } + } + }, + "com.amazonaws.quicksight#DescribeQPersonalizationConfigurationRequest": { + "type": "structure", + "members": { + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon Web Services account that contains the personalization configuration that the user wants described.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.quicksight#DescribeQPersonalizationConfigurationResponse": { + "type": "structure", + "members": { + "PersonalizationMode": { + "target": "com.amazonaws.quicksight#PersonalizationMode", + "traits": { + "smithy.api#documentation": "

A value that indicates whether personalization is enabled or not.

" + } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services request ID for this operation.

" + } + }, + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.quicksight#DescribeRefreshSchedule": { "type": "operation", "input": { @@ -36483,6 +36564,23 @@ } } }, + "com.amazonaws.quicksight#PersonalizationMode": { + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } + } + }, "com.amazonaws.quicksight#PhysicalTable": { "type": "union", "members": { @@ -38319,6 +38417,9 @@ { "target": "com.amazonaws.quicksight#DescribeNamespace" }, + { + "target": "com.amazonaws.quicksight#DescribeQPersonalizationConfiguration" + }, { "target": "com.amazonaws.quicksight#DescribeRefreshSchedule" }, @@ -38574,6 +38675,9 @@ { "target": "com.amazonaws.quicksight#UpdatePublicSharingSettings" }, + { + "target": "com.amazonaws.quicksight#UpdateQPersonalizationConfiguration" + }, { "target": "com.amazonaws.quicksight#UpdateRefreshSchedule" }, @@ -53441,6 +53545,97 @@ "smithy.api#output": {} } }, + "com.amazonaws.quicksight#UpdateQPersonalizationConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.quicksight#UpdateQPersonalizationConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.quicksight#UpdateQPersonalizationConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.quicksight#AccessDeniedException" + }, + { + "target": "com.amazonaws.quicksight#ConflictException" + }, + { + "target": "com.amazonaws.quicksight#InternalFailureException" + }, + { + "target": "com.amazonaws.quicksight#InvalidParameterValueException" + }, + { + "target": "com.amazonaws.quicksight#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.quicksight#ResourceUnavailableException" + }, + { + "target": "com.amazonaws.quicksight#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates a personalization configuration.

", + "smithy.api#http": { + "method": "PUT", + "uri": "/accounts/{AwsAccountId}/q-personalization-configuration", + "code": 200 + } + } + }, + "com.amazonaws.quicksight#UpdateQPersonalizationConfigurationRequest": { + "type": "structure", + "members": { + "AwsAccountId": { + "target": "com.amazonaws.quicksight#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon Web Services account account that contains the personalization configuration that the user wants to update.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "PersonalizationMode": { + "target": "com.amazonaws.quicksight#PersonalizationMode", + "traits": { + "smithy.api#documentation": "

An option to allow Amazon QuickSight to customize data stories with user specific metadata, specifically location and job information, in your IAM Identity Center instance.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.quicksight#UpdateQPersonalizationConfigurationResponse": { + "type": "structure", + "members": { + "PersonalizationMode": { + "target": "com.amazonaws.quicksight#PersonalizationMode", + "traits": { + "smithy.api#documentation": "

The personalization mode that is used for the personalization configuration.

" + } + }, + "RequestId": { + "target": "com.amazonaws.quicksight#String", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services request ID for this operation.

" + } + }, + "Status": { + "target": "com.amazonaws.quicksight#StatusCode", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The HTTP status of the request.

", + "smithy.api#httpResponseCode": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.quicksight#UpdateRefreshSchedule": { "type": "operation", "input": { diff --git a/codegen/sdk-codegen/aws-models/rds-data.json b/codegen/sdk-codegen/aws-models/rds-data.json index 16cdd4cdd46..4f627530b2d 100644 --- a/codegen/sdk-codegen/aws-models/rds-data.json +++ b/codegen/sdk-codegen/aws-models/rds-data.json @@ -267,7 +267,7 @@ } ], "traits": { - "smithy.api#documentation": "

Starts a SQL transaction.

\n \n

A transaction can run for a maximum of 24 hours. A transaction is terminated and rolled back automatically after 24\n hours.

\n

A transaction times out if no calls use its transaction ID in three minutes. If a transaction times out before it's\n committed, it's rolled back automatically.

\n

DDL statements inside a transaction cause an implicit commit. We recommend that you run each DDL statement in a separate\n ExecuteStatement call with continueAfterTimeout enabled.

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

Starts a SQL transaction.

\n \n

A transaction can run for a maximum of 24 hours. A transaction is terminated and rolled back automatically after 24\n hours.

\n

A transaction times out if no calls use its transaction ID in three minutes. If a transaction times out before it's\n committed, it's rolled back automatically.

\n

For Aurora MySQL, DDL statements inside a transaction cause an implicit commit. We recommend that you run each MySQL DDL statement in a separate\n ExecuteStatement call with continueAfterTimeout enabled.

\n
", "smithy.api#http": { "code": 200, "method": "POST", @@ -661,7 +661,7 @@ "message": "The ExecuteSql API is deprecated, please use the ExecuteStatement API.", "since": "2019-03-21" }, - "smithy.api#documentation": "

Runs one or more SQL statements.

\n \n

This operation isn't supported for Aurora PostgreSQL Serverless v2 and provisioned DB clusters, and for Aurora Serverless v1 DB clusters, \n the operation is deprecated. Use the BatchExecuteStatement or ExecuteStatement operation.

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

Runs one or more SQL statements.

\n \n

This operation isn't supported for Aurora Serverless v2 and provisioned DB clusters.\n For Aurora Serverless v1 DB clusters, the operation is deprecated.\n Use the BatchExecuteStatement or ExecuteStatement operation.

\n
", "smithy.api#http": { "code": 200, "method": "POST", @@ -1115,7 +1115,7 @@ }, "aws.protocols#restJson1": {}, "smithy.api#cors": {}, - "smithy.api#documentation": "RDS Data API\n

Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora DB cluster. To run these\n statements, you use the RDS Data API (Data API).

\n

Data API is available with the following types of Aurora databases:

\n \n

For more information about the Data API, see\n Using RDS Data API\n in the Amazon Aurora User Guide.

", + "smithy.api#documentation": "RDS Data API\n

Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora DB cluster. To run these\n statements, you use the RDS Data API (Data API).

\n

Data API is available with the following types of Aurora databases:

\n \n

For more information about the Data API, see\n Using RDS Data API\n in the Amazon Aurora User Guide.

", "smithy.api#title": "AWS RDS DataService", "smithy.rules#endpointRuleSet": { "version": "1.0", diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json index 274f94fe93d..25883e7aeee 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.json @@ -9913,6 +9913,12 @@ "smithy.api#documentation": "

The entity that creates and manages the required security groups for inter-app\n communication in VPCOnly mode. Required when\n CreateDomain.AppNetworkAccessType is VPCOnly and\n DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is\n provided. If setting up the domain for use with RStudio, this value must be set to\n Service.

" } }, + "TagPropagation": { + "target": "com.amazonaws.sagemaker#TagPropagation", + "traits": { + "smithy.api#documentation": "

Indicates whether custom tag propagation is supported for the domain. Defaults to DISABLED.

" + } + }, "DefaultSpaceSettings": { "target": "com.amazonaws.sagemaker#DefaultSpaceSettings", "traits": { @@ -19338,6 +19344,12 @@ "smithy.api#documentation": "

The entity that creates and manages the required security groups for inter-app\n communication in VPCOnly mode. Required when\n CreateDomain.AppNetworkAccessType is VPCOnly and\n DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is\n provided.

" } }, + "TagPropagation": { + "target": "com.amazonaws.sagemaker#TagPropagation", + "traits": { + "smithy.api#documentation": "

Indicates whether custom tag propagation is supported for the domain.

" + } + }, "DefaultSpaceSettings": { "target": "com.amazonaws.sagemaker#DefaultSpaceSettings", "traits": { @@ -62994,6 +63006,23 @@ } } }, + "com.amazonaws.sagemaker#TagPropagation": { + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } + } + }, "com.amazonaws.sagemaker#TagValue": { "type": "string", "traits": { @@ -68150,6 +68179,12 @@ "traits": { "smithy.api#documentation": "

Specifies the VPC used for non-EFS traffic.

\n \n

This configuration can only be modified if there are no apps in the\n InService, Pending, or Deleting state. The\n configuration cannot be updated if\n DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is already\n set or DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is\n provided as part of the same request.

" } + }, + "TagPropagation": { + "target": "com.amazonaws.sagemaker#TagPropagation", + "traits": { + "smithy.api#documentation": "

Indicates whether custom tag propagation is supported for the domain. Defaults to DISABLED.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/securityhub.json b/codegen/sdk-codegen/aws-models/securityhub.json index e431233ae1d..ea5821d1a02 100644 --- a/codegen/sdk-codegen/aws-models/securityhub.json +++ b/codegen/sdk-codegen/aws-models/securityhub.json @@ -55,7 +55,7 @@ } ], "traits": { - "smithy.api#documentation": "

Accepts the invitation to be a member account and be monitored by the Security Hub administrator\n account that the invitation was sent from.

\n

This operation is only used by member accounts that are not added through\n Organizations.

\n

When the member account accepts the invitation, permission is granted to the administrator\n account to view findings generated in the member account.

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

We recommend using Organizations instead of Security Hub invitations to manage your member accounts. \n For information, see Managing Security Hub administrator and member accounts with Organizations \n in the Security Hub User Guide.

\n
\n

Accepts the invitation to be a member account and be monitored by the Security Hub administrator\n account that the invitation was sent from.

\n

This operation is only used by member accounts that are not added through\n Organizations.

\n

When the member account accepts the invitation, permission is granted to the administrator\n account to view findings generated in the member account.

", "smithy.api#examples": [ { "title": "To accept an invitation be a member account", @@ -674,7 +674,7 @@ "Type": { "target": "com.amazonaws.securityhub#AutomationRulesActionType", "traits": { - "smithy.api#documentation": "

\n Specifies that the rule action should update the Types finding field. The Types \n finding field classifies findings in the format of namespace/category/classifier. For more information, see\n Types taxonomy for ASFF in \n the Security Hub User Guide.\n

" + "smithy.api#documentation": "

\n Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.\n

" } }, "FindingFieldsUpdate": { @@ -685,7 +685,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n One or more actions to update finding fields if a finding matches the defined criteria \n of the rule.\n

" + "smithy.api#documentation": "

\n One or more actions that Security Hub takes when a finding matches the defined criteria \n of a rule.\n

" } }, "com.amazonaws.securityhub#AutomationRulesActionType": { @@ -958,7 +958,7 @@ "ResourceId": { "target": "com.amazonaws.securityhub#StringFilterList", "traits": { - "smithy.api#documentation": "

\n The identifier for the given resource type. For Amazon Web Services resources that are identified by \n Amazon Resource Names (ARNs), this is the ARN. For Amazon Web Services resources that lack ARNs, \n this is the identifier as defined by the Amazon Web Servicesservice that created the resource. \n For non-Amazon Web Services resources, this is a unique identifier that is associated with the \n resource.\n

\n

\n \t\tArray Members: Minimum number of 1 item. Maximum number of 100 items.\n \t

" + "smithy.api#documentation": "

\n The identifier for the given resource type. For Amazon Web Services resources that are identified by \n Amazon Resource Names (ARNs), this is the ARN. For Amazon Web Services resources that lack ARNs, \n this is the identifier as defined by the Amazon Web Services service that created the resource. \n For non-Amazon Web Services resources, this is a unique identifier that is associated with the \n resource.\n

\n

\n \t\tArray Members: Minimum number of 1 item. Maximum number of 100 items.\n \t

" } }, "ResourcePartition": { @@ -2986,7 +2986,7 @@ "Lifecycle": { "target": "com.amazonaws.securityhub#AwsBackupBackupPlanLifecycleDetails", "traits": { - "smithy.api#documentation": "

Defines when a protected resource is transitioned to cold storage and when it expires.\n Backup transitions and expires backups automatically according to the\n lifecycle that you define. If you do not specify a lifecycle, Backup applies\n the lifecycle policy of the source backup to the destination backup.

\n

Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.

" + "smithy.api#documentation": "

Defines when a protected resource is transitioned to cold storage and when it expires.\n Backup transitions and expires backups automatically according to the\n lifecycle that you define. If you don't specify a lifecycle, Backup applies\n the lifecycle policy of the source backup to the destination backup.

\n

Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.

" } } }, @@ -3054,7 +3054,7 @@ "Lifecycle": { "target": "com.amazonaws.securityhub#AwsBackupBackupPlanLifecycleDetails", "traits": { - "smithy.api#documentation": "

Defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define. If you do not specify a lifecycle, Backup applies the lifecycle policy of the source backup to the destination backup.

\n

Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.

" + "smithy.api#documentation": "

Defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define. If you don't specify a lifecycle, Backup applies the lifecycle policy of the source backup to the destination backup.

\n

Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.

" } } }, @@ -3086,7 +3086,7 @@ "EncryptionKeyArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

The unique ARN associated with the server-side encryption key. You can specify a key to encrypt your backups from services that support \nfull Backup management. If you do not specify a key, Backup creates an KMS key for you by default.\n

" + "smithy.api#documentation": "

The unique ARN associated with the server-side encryption key. You can specify a key to encrypt your backups from services that support \nfull Backup management. If you don't specify a key, Backup creates an KMS key for you by default.\n

" } }, "Notifications": { @@ -9342,7 +9342,7 @@ "SchedulingStrategy": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

The scheduling strategy to use for the service.

\n

The REPLICA scheduling strategy places and maintains the desired number of tasks across the cluster. By default, the service scheduler spreads tasks across Availability Zones. Task placement strategies and constraints are used to customize task placement decisions.

\n

The DAEMON scheduling strategy deploys exactly one task on each active container instance that meets all of the task placement constraints that are specified in the cluster. The service scheduler also evaluates the task placement constraints for running tasks and stops tasks that do not meet the placement constraints.

\n

Valid values: REPLICA | DAEMON\n

" + "smithy.api#documentation": "

The scheduling strategy to use for the service.

\n

The REPLICA scheduling strategy places and maintains the desired number of tasks across the cluster. By default, the service scheduler spreads tasks across Availability Zones. Task placement strategies and constraints are used to customize task placement decisions.

\n

The DAEMON scheduling strategy deploys exactly one task on each active container instance that meets all of the task placement constraints that are specified in the cluster. The service scheduler also evaluates the task placement constraints for running tasks and stops tasks that don't meet the placement constraints.

\n

Valid values: REPLICA | DAEMON\n

" } }, "ServiceArn": { @@ -15149,7 +15149,7 @@ "DBName": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

The meaning of this parameter differs according to the database engine you use.

\n

\n MySQL, MariaDB, SQL Server, PostgreSQL\n

\n

Contains the name of the initial database of this instance that was provided at create\n time, if one was specified when the DB instance was created. This same name is returned for\n the life of the DB instance.

\n

\n Oracle\n

\n

Contains the Oracle System ID (SID) of the created DB instance. Not shown when the\n returned parameters do not apply to an Oracle DB instance.

" + "smithy.api#documentation": "

The meaning of this parameter differs according to the database engine you use.

\n

\n MySQL, MariaDB, SQL Server, PostgreSQL\n

\n

Contains the name of the initial database of this instance that was provided at create\n time, if one was specified when the DB instance was created. This same name is returned for\n the life of the DB instance.

\n

\n Oracle\n

\n

Contains the Oracle System ID (SID) of the created DB instance. Not shown when the\n returned parameters don't apply to an Oracle DB instance.

" } }, "DeletionProtection": { @@ -18983,7 +18983,7 @@ "WorkflowStatus": { "target": "com.amazonaws.securityhub#StringFilterList", "traits": { - "smithy.api#documentation": "

The status of the investigation into a finding. Allowed values are the following.

\n " + "smithy.api#documentation": "

The status of the investigation into a finding. Allowed values are the following.

\n " } }, "RecordState": { @@ -19082,7 +19082,7 @@ "ComplianceSecurityControlId": { "target": "com.amazonaws.securityhub#StringFilterList", "traits": { - "smithy.api#documentation": "

\n The unique identifier of a control across standards. Values for this field typically consist of an \n Amazon Web Servicesservice and a number, such as APIGateway.5.\n

" + "smithy.api#documentation": "

\n The unique identifier of a control across standards. Values for this field typically consist of an \n Amazon Web Services service and a number, such as APIGateway.5.\n

" } }, "ComplianceAssociatedStandardsId": { @@ -20188,13 +20188,13 @@ "OverrideAction": { "target": "com.amazonaws.securityhub#WafOverrideAction", "traits": { - "smithy.api#documentation": "

Use the OverrideAction to test your RuleGroup.

\n

Any rule in a RuleGroup can potentially block a request. If you set the OverrideAction to\n None, the RuleGroup blocks a request if any individual rule in the RuleGroup\n matches the request and is configured to block that request.

\n

However, if you first want to test the RuleGroup,\n set the OverrideAction to Count. The RuleGroup\n then overrides any block action specified by individual rules contained within the group.\n Instead of blocking matching requests, those requests are counted.

\n

\n ActivatedRule|OverrideAction applies only when updating or\n adding a RuleGroup\n to a web ACL. In this case you do not use ActivatedRule\n Action. For all other update requests,\n ActivatedRule\n Action is used instead of ActivatedRule\n OverrideAction.

" + "smithy.api#documentation": "

Use the OverrideAction to test your RuleGroup.

\n

Any rule in a RuleGroup can potentially block a request. If you set the OverrideAction to\n None, the RuleGroup blocks a request if any individual rule in the RuleGroup\n matches the request and is configured to block that request.

\n

However, if you first want to test the RuleGroup,\n set the OverrideAction to Count. The RuleGroup\n then overrides any block action specified by individual rules contained within the group.\n Instead of blocking matching requests, those requests are counted.

\n

\n ActivatedRule|OverrideAction applies only when updating or\n adding a RuleGroup\n to a web ACL. In this case you don't use ActivatedRule\n Action. For all other update requests,\n ActivatedRule\n Action is used instead of ActivatedRule\n OverrideAction.

" } }, "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#documentation": "

Specifies the order in which the rules in a web\n ACL are evaluated. Rules with a lower value for Priority are\n evaluated before rules with a higher value. The value must be a unique integer. If you add\n multiple rules to a web ACL, the values do not need to be consecutive.

" + "smithy.api#documentation": "

Specifies the order in which the rules in a web\n ACL are evaluated. Rules with a lower value for Priority are\n evaluated before rules with a higher value. The value must be a unique integer. If you add\n multiple rules to a web ACL, the values don't need to be consecutive.

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

Used by Security Hub customers to update information about their investigation into a finding.\n Requested by administrator accounts or member accounts. Administrator accounts can update findings for\n their account and their member accounts. Member accounts can update findings for their\n account.

\n

Updates from BatchUpdateFindings do not affect the value of\n UpdatedAt for a finding.

\n

Administrator and member accounts can use BatchUpdateFindings to update the\n following finding fields and objects.

\n \n

You can configure IAM policies to restrict access to fields and field values. For\n example, you might not want member accounts to be able to suppress findings or change the\n finding severity. See Configuring access to BatchUpdateFindings in the\n Security Hub User Guide.

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

Used by Security Hub customers to update information about their investigation into a finding.\n Requested by administrator accounts or member accounts. Administrator accounts can update findings for\n their account and their member accounts. Member accounts can update findings for their\n account.

\n

Updates from BatchUpdateFindings don't affect the value of\n UpdatedAt for a finding.

\n

Administrator and member accounts can use BatchUpdateFindings to update the\n following finding fields and objects.

\n \n

You can configure IAM policies to restrict access to fields and field values. For\n example, you might not want member accounts to be able to suppress findings or change the\n finding severity. See Configuring access to BatchUpdateFindings in the\n Security Hub User Guide.

", "smithy.api#examples": [ { "title": "To update Security Hub findings", @@ -22198,7 +22198,7 @@ "SecurityControlId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

\n Typically provides the unique identifier of a control across standards. For Security Hub controls, this field consists of an \n Amazon Web Servicesservice and a unique number, such as APIGateway.5.\n

" + "smithy.api#documentation": "

\n Typically provides the unique identifier of a control across standards. For Security Hub controls, this field consists of an \n Amazon Web Services service and a unique number, such as APIGateway.5.\n

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

Used to enable finding aggregation. Must be called from the aggregation Region.

\n

For more details about cross-Region replication, see Configuring finding aggregation in the Security Hub User Guide.\n

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

The aggregation Region is now called the home Region.

\n
\n

Used to enable cross-Region aggregation. This operation can be invoked from the home Region only.

\n

For information about how cross-Region aggregation works, see Understanding cross-Region aggregation in Security Hub in the Security Hub User Guide.\n

", "smithy.api#examples": [ { "title": "To enable cross-Region aggregation", @@ -23102,7 +23102,7 @@ "Regions": { "target": "com.amazonaws.securityhub#StringList", "traits": { - "smithy.api#documentation": "

If RegionLinkingMode is ALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.

\n

If RegionLinkingMode is SPECIFIED_REGIONS, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.\n

\n

An InvalidInputException error results if you populate this field while RegionLinkingMode is \n NO_REGIONS.

" + "smithy.api#documentation": "

If RegionLinkingMode is ALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that don't replicate and send findings to the home Region.

\n

If RegionLinkingMode is SPECIFIED_REGIONS, then this is a space-separated list of Regions that do replicate and send findings to the home Region.\n

\n

An InvalidInputException error results if you populate this field while RegionLinkingMode is \n NO_REGIONS.

" } } }, @@ -23116,13 +23116,13 @@ "FindingAggregatorArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

The ARN of the finding aggregator. You use the finding aggregator ARN to retrieve details for, update, and stop finding aggregation.

" + "smithy.api#documentation": "

The ARN of the finding aggregator. You use the finding aggregator ARN to retrieve details for, update, and stop cross-Region aggregation.

" } }, "FindingAggregationRegion": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

The aggregation Region.

" + "smithy.api#documentation": "

The home Region. Findings generated in linked Regions are replicated and sent to the home Region.

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

Creates a member association in Security Hub between the specified accounts and the account\n used to make the request, which is the administrator account. If you are integrated with\n Organizations, then the administrator account is designated by the organization management account.

\n

\n CreateMembers is always used to add accounts that are not organization\n members.

\n

For accounts that are managed using Organizations, CreateMembers is only used\n in the following cases:

\n \n

This action can only be used by an account that has Security Hub enabled. To enable Security Hub, you\n can use the EnableSecurityHub operation.

\n

For accounts that are not organization members, you create the account association and\n then send an invitation to the member account. To send the invitation, you use the\n InviteMembers operation. If the account owner accepts\n the invitation, the account becomes a member account in Security Hub.

\n

Accounts that are managed using Organizations do not receive an invitation. They\n automatically become a member account in Security Hub.

\n \n

A permissions policy is added that permits the administrator account to view the findings\n generated in the member account.

\n

To remove the association between the administrator and member accounts, use the DisassociateFromMasterAccount or DisassociateMembers operation.

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

Creates a member association in Security Hub between the specified accounts and the account\n used to make the request, which is the administrator account. If you are integrated with\n Organizations, then the administrator account is designated by the organization management account.

\n

\n CreateMembers is always used to add accounts that are not organization\n members.

\n

For accounts that are managed using Organizations, CreateMembers is only used\n in the following cases:

\n \n

This action can only be used by an account that has Security Hub enabled. To enable Security Hub, you\n can use the EnableSecurityHub operation.

\n

For accounts that are not organization members, you create the account association and\n then send an invitation to the member account. To send the invitation, you use the\n InviteMembers operation. If the account owner accepts\n the invitation, the account becomes a member account in Security Hub.

\n

Accounts that are managed using Organizations don't receive an invitation. They\n automatically become a member account in Security Hub.

\n \n

A permissions policy is added that permits the administrator account to view the findings\n generated in the member account.

\n

To remove the association between the administrator and member accounts, use the DisassociateFromMasterAccount or DisassociateMembers operation.

", "smithy.api#examples": [ { "title": "To add a member account", @@ -23560,7 +23560,7 @@ } ], "traits": { - "smithy.api#documentation": "

Declines invitations to become a member account.

\n

A prospective member account uses this operation to decline an invitation to become a member.

\n

This operation is only called by member accounts that aren't part of an organization.\n Organization accounts don't receive invitations.

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

We recommend using Organizations instead of Security Hub invitations to manage your member accounts. \n For information, see Managing Security Hub administrator and member accounts with Organizations \n in the Security Hub User Guide.

\n
\n

Declines invitations to become a Security Hub member account.

\n

A prospective member account uses this operation to decline an invitation to become a member.

\n

Only member accounts that aren't part of an Amazon Web Services organization should use this operation.\n Organization accounts don't receive invitations.

", "smithy.api#examples": [ { "title": "To decline invitation to become a member account", @@ -23789,7 +23789,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a finding aggregator. When you delete the finding aggregator, you stop finding aggregation.

\n

When you stop finding aggregation, findings that were already aggregated to the aggregation Region are still visible from the aggregation Region. New findings and finding updates are not aggregated.\n

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

The aggregation Region is now called the home Region.

\n
\n

Deletes a finding aggregator. When you delete the finding aggregator, you stop cross-Region aggregation. Finding replication stops \noccurring from the linked Regions to the home Region.

\n

When you stop cross-Region aggregation, findings that were already replicated and sent to the home Region are still visible from \n the home Region. However, new findings and finding updates are no longer replicated and sent to the home Region.\n

", "smithy.api#examples": [ { "title": "To delete a finding aggregator", @@ -23933,7 +23933,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes invitations received by the Amazon Web Services account to become a member account.

\n

A Security Hub administrator account can use this operation to delete invitations sent to one or more member accounts.

\n

This operation is only used to delete invitations that are sent to member accounts that aren't part of an organization.\n Organization accounts don't receive invitations.

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

We recommend using Organizations instead of Security Hub invitations to manage your member accounts. \n For information, see Managing Security Hub administrator and member accounts with Organizations \n in the Security Hub User Guide.

\n
\n

Deletes invitations to become a Security Hub member account.

\n

A Security Hub administrator account can use this operation to delete invitations sent to one or more prospective member accounts.

\n

This operation is only used to delete invitations that are sent to prospective member accounts that aren't part of an Amazon Web Services organization.\n Organization accounts don't receive invitations.

", "smithy.api#examples": [ { "title": "To delete a custom insight", @@ -24370,7 +24370,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns information about product integrations in Security Hub.

\n

You can optionally provide an integration ARN. If you provide an integration ARN, then\n the results only include that integration.

\n

If you do not provide an integration ARN, then the results include all of the available\n product integrations.

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

Returns information about product integrations in Security Hub.

\n

You can optionally provide an integration ARN. If you provide an integration ARN, then\n the results only include that integration.

\n

If you don't provide an integration ARN, then the results include all of the available\n product integrations.

", "smithy.api#examples": [ { "title": "To get information about Security Hub integrations", @@ -25291,7 +25291,7 @@ "EnableDefaultStandards": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#documentation": "

Whether to enable the security standards that Security Hub has designated as automatically\n enabled. If you do not provide a value for EnableDefaultStandards, it is set\n to true. To not enable the automatically enabled standards, set\n EnableDefaultStandards to false.

" + "smithy.api#documentation": "

Whether to enable the security standards that Security Hub has designated as automatically\n enabled. If you don't provide a value for EnableDefaultStandards, it is set\n to true. To not enable the automatically enabled standards, set\n EnableDefaultStandards to false.

" } }, "ControlFindingGenerator": { @@ -25428,7 +25428,7 @@ } }, "traits": { - "smithy.api#documentation": "

A finding aggregator. A finding aggregator contains the configuration for finding aggregation.

" + "smithy.api#documentation": "

A finding aggregator is a Security Hub resource that specifies cross-Region aggregation settings, including the \nhome Region and any linked Regions.

" } }, "com.amazonaws.securityhub#FindingAggregatorList": { @@ -25458,7 +25458,7 @@ "UpdateSource": { "target": "com.amazonaws.securityhub#FindingHistoryUpdateSource", "traits": { - "smithy.api#documentation": "

Identifies the source of the event that changed the finding. For example, an integrated\n Amazon Web Servicesservice or third-party partner integration may call \n BatchImportFindings\n , or an Security Hub customer\n may call \n BatchUpdateFindings\n .

" + "smithy.api#documentation": "

Identifies the source of the event that changed the finding. For example, an integrated\n Amazon Web Services service or third-party partner integration may call \n BatchImportFindings\n , or an Security Hub customer\n may call \n BatchUpdateFindings\n .

" } }, "Updates": { @@ -25516,7 +25516,7 @@ "Type": { "target": "com.amazonaws.securityhub#FindingHistoryUpdateSourceType", "traits": { - "smithy.api#documentation": "

\n Describes the type of finding change event, such as a call to \n BatchImportFindings\n (by an integrated Amazon Web Servicesservice or third party partner integration) or \n BatchUpdateFindings\n (by a Security Hub customer). \n

" + "smithy.api#documentation": "

\n Describes the type of finding change event, such as a call to \n BatchImportFindings\n (by an integrated Amazon Web Services service or third party partner integration) or \n BatchUpdateFindings\n (by a Security Hub customer). \n

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

Returns the current finding aggregation configuration.

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

The aggregation Region is now called the home Region.

\n
\n

Returns the current configuration in the calling account for cross-Region aggregation. A finding aggregator is a resource that establishes \nthe home Region and any linked Regions.

", "smithy.api#examples": [ { "title": "To get cross-Region aggregation details", @@ -26276,7 +26276,7 @@ "FindingAggregationRegion": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

The aggregation Region.

" + "smithy.api#documentation": "

The home Region. Findings generated in linked Regions are replicated and sent to the home Region.

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

Returns a list of findings that match the specified criteria.

\n

If finding aggregation is enabled, then when you call GetFindings from the aggregation Region, the results include all of the matching findings from both the aggregation Region and the linked Regions.

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

Returns a list of findings that match the specified criteria.

\n

If cross-Region aggregation is enabled, then when you call GetFindings from the home Region, the results include all of the matching findings from both the home Region and linked Regions.

", "smithy.api#examples": [ { "title": "To get a list of findings", @@ -26761,7 +26761,7 @@ "InsightArns": { "target": "com.amazonaws.securityhub#ArnList", "traits": { - "smithy.api#documentation": "

The ARNs of the insights to describe. If you do not provide any insight ARNs, then\n GetInsights returns all of your custom insights. It does not return any\n managed insights.

" + "smithy.api#documentation": "

The ARNs of the insights to describe. If you don't provide any insight ARNs, then\n GetInsights returns all of your custom insights. It does not return any\n managed insights.

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

Returns the count of all Security Hub membership invitations that were sent to the\n current member account, not including the currently accepted invitation.

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

We recommend using Organizations instead of Security Hub invitations to manage your member accounts. \n For information, see Managing Security Hub administrator and member accounts with Organizations \n in the Security Hub User Guide.

\n
\n

Returns the count of all Security Hub membership invitations that were sent to the\n calling member account, not including the currently accepted invitation.

", "smithy.api#examples": [ { "title": "To get a count of membership invitations", @@ -27463,7 +27463,7 @@ } ], "traits": { - "smithy.api#documentation": "

Invites other Amazon Web Services accounts to become member accounts for the Security Hub administrator account that\n the invitation is sent from.

\n

This operation is only used to invite accounts that do not belong to an organization.\n Organization accounts do not receive invitations.

\n

Before you can use this action to invite a member, you must first use the CreateMembers action to create the member account in Security Hub.

\n

When the account owner enables Security Hub and accepts the invitation to become a member\n account, the administrator account can view the findings generated from the member account.

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

We recommend using Organizations instead of Security Hub invitations to manage your member accounts. \n For information, see Managing Security Hub administrator and member accounts with Organizations \n in the Security Hub User Guide.

\n
\n

Invites other Amazon Web Services accounts to become member accounts for the Security Hub administrator account that\n the invitation is sent from.

\n

This operation is only used to invite accounts that don't belong to an Amazon Web Services organization.\n Organization accounts don't receive invitations.

\n

Before you can use this action to invite a member, you must first use the CreateMembers action to create the member account in Security Hub.

\n

When the account owner enables Security Hub and accepts the invitation to become a member\n account, the administrator account can view the findings generated in the member account.

", "smithy.api#examples": [ { "title": "To invite accounts to become members", @@ -28078,7 +28078,7 @@ } ], "traits": { - "smithy.api#documentation": "

If finding aggregation is enabled, then ListFindingAggregators returns the ARN of the finding aggregator. You can run this operation from any Region.

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

If cross-Region aggregation is enabled, then ListFindingAggregators returns the Amazon Resource Name (ARN) \nof the finding aggregator. You can run this operation from any Amazon Web Services Region.

", "smithy.api#examples": [ { "title": "To update the enablement status of a standard control", @@ -28170,7 +28170,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.

\n

This operation is only used by accounts that are managed by invitation.\n Accounts that are managed using the integration with Organizations do not receive invitations.

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

We recommend using Organizations instead of Security Hub invitations to manage your member accounts. \n For information, see Managing Security Hub administrator and member accounts with Organizations \n in the Security Hub User Guide.

\n
\n

Lists all Security Hub membership invitations that were sent to the calling account.

\n

Only accounts that are managed by invitation can use this operation.\n Accounts that are managed using the integration with Organizations don't receive invitations.

", "smithy.api#http": { "method": "GET", "uri": "/invitations", @@ -29732,7 +29732,7 @@ "SecurityHub": { "target": "com.amazonaws.securityhub#SecurityHubPolicy", "traits": { - "smithy.api#documentation": "

\n The Amazon Web Servicesservice that the configuration policy applies to.\n

" + "smithy.api#documentation": "

\n The Amazon Web Services service that the configuration policy applies to.\n

" } } }, @@ -30927,7 +30927,7 @@ "DestinationPrefixListId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

\n The prefix of the destination Amazon Web Servicesservice.\n

" + "smithy.api#documentation": "

\n The prefix of the destination Amazon Web Services service.\n

" } }, "EgressOnlyInternetGatewayId": { @@ -31534,7 +31534,7 @@ "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

\n The unique identifier of a security control across standards. Values for this field typically consist of an Amazon Web Servicesservice name and a \n number, such as APIGateway.3.\n

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

\n The unique identifier of a security control across standards. Values for this field typically consist of an Amazon Web Services service name and a \n number, such as APIGateway.3.\n

", "smithy.api#required": {} } }, @@ -31642,7 +31642,7 @@ "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

\n The unique identifier of a security control across standards. Values for this field typically consist of an \n Amazon Web Servicesservice name and a number (for example, APIGateway.3). This parameter differs from \n SecurityControlArn, which is a unique Amazon Resource Name (ARN) assigned to a control. The \n ARN references the security control ID (for example, arn:aws:securityhub:eu-central-1:123456789012:security-control/APIGateway.3).\n

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

\n The unique identifier of a security control across standards. Values for this field typically consist of an \n Amazon Web Services service name and a number (for example, APIGateway.3). This parameter differs from \n SecurityControlArn, which is a unique Amazon Resource Name (ARN) assigned to a control. The \n ARN references the security control ID (for example, arn:aws:securityhub:eu-central-1:123456789012:security-control/APIGateway.3).\n

", "smithy.api#required": {} } }, @@ -32038,7 +32038,7 @@ "name": "securityhub" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Security Hub provides you with a comprehensive view of your security state in Amazon Web Services and helps \n you assess your Amazon Web Services environment against security industry standards and best practices.

\n

Security Hub collects security data across Amazon Web Services accounts, Amazon Web Servicesservices, and \n supported third-party products and helps you analyze your security trends and identify the highest priority security \n issues.

\n

To help you manage the security state of your organization, Security Hub supports multiple security standards. \n These include the Amazon Web Services Foundational Security Best Practices (FSBP) standard developed by Amazon Web Services, \n and external compliance frameworks such as the Center for Internet Security (CIS), the Payment Card Industry Data \n Security Standard (PCI DSS), and the National Institute of Standards and Technology (NIST). Each standard includes \n several security controls, each of which represents a security best practice. Security Hub runs checks against \n security controls and generates control findings to help you assess your compliance against security best practices.

\n

In addition to generating control findings, Security Hub also receives findings from other Amazon Web Servicesservices, \n such as Amazon GuardDuty and Amazon Inspector, and \n supported third-party products. This gives you a single pane of glass into a variety of security-related issues. You \n can also send Security Hub findings to other Amazon Web Servicesservices and supported third-party products.

\n

Security Hub offers automation features that help you triage and remediate security issues. For example, \n you can use automation rules to automatically update critical findings when a security check fails. You can also leverage the integration with \n Amazon EventBridge to trigger automatic responses to specific findings.

\n

This guide, the Security Hub API Reference, provides\n information about the Security Hub API. This includes supported resources, HTTP methods, parameters,\n and schemas. If you're new to Security Hub, you might find it helpful to also review the \n Security Hub User Guide\n . The\n user guide explains key concepts and provides procedures\n that demonstrate how to use Security Hub features. It also provides information about topics such as\n integrating Security Hub with other Amazon Web Servicesservices.

\n

In addition to interacting with Security Hub by making calls to the Security Hub API, you can\n use a current version of an Amazon Web Services command line tool or SDK. Amazon Web Services provides tools \n and SDKs that consist of libraries and sample code for various languages and platforms, such as PowerShell,\n Java, Go, Python, C++, and .NET. These tools and SDKs provide convenient, programmatic access to\n Security Hub and other Amazon Web Servicesservices . They also handle tasks such as signing requests, \n managing errors, and retrying requests automatically. For information about installing and using the Amazon Web Services tools\n and SDKs, see Tools to Build on Amazon Web Services.

\n

With the exception of operations that are related to central configuration, Security Hub API requests are executed only in\n the Amazon Web Services Region that is currently active or in the specific Amazon Web Services Region that you specify in your request. Any configuration or settings change\n that results from the operation is applied only to that Region. To make the same change in\n other Regions, call the same API operation in each Region in which you want to apply the change. When you use central configuration, \nAPI requests for enabling Security Hub, standards, and controls are executed in the home Region and all linked Regions. For a list of \ncentral configuration operations, see the Central configuration \nterms and concepts section of the Security Hub User Guide.

\n

The following throttling limits apply to Security Hub API operations.

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

Security Hub provides you with a comprehensive view of your security state in Amazon Web Services and helps \n you assess your Amazon Web Services environment against security industry standards and best practices.

\n

Security Hub collects security data across Amazon Web Services accounts, Amazon Web Services services, and \n supported third-party products and helps you analyze your security trends and identify the highest priority security \n issues.

\n

To help you manage the security state of your organization, Security Hub supports multiple security standards. \n These include the Amazon Web Services Foundational Security Best Practices (FSBP) standard developed by Amazon Web Services, \n and external compliance frameworks such as the Center for Internet Security (CIS), the Payment Card Industry Data \n Security Standard (PCI DSS), and the National Institute of Standards and Technology (NIST). Each standard includes \n several security controls, each of which represents a security best practice. Security Hub runs checks against \n security controls and generates control findings to help you assess your compliance against security best practices.

\n

In addition to generating control findings, Security Hub also receives findings from other Amazon Web Services services, \n such as Amazon GuardDuty and Amazon Inspector, and \n supported third-party products. This gives you a single pane of glass into a variety of security-related issues. You \n can also send Security Hub findings to other Amazon Web Services services and supported third-party products.

\n

Security Hub offers automation features that help you triage and remediate security issues. For example, \n you can use automation rules to automatically update critical findings when a security check fails. You can also leverage the integration with \n Amazon EventBridge to trigger automatic responses to specific findings.

\n

This guide, the Security Hub API Reference, provides\n information about the Security Hub API. This includes supported resources, HTTP methods, parameters,\n and schemas. If you're new to Security Hub, you might find it helpful to also review the \n Security Hub User Guide\n . The\n user guide explains key concepts and provides procedures\n that demonstrate how to use Security Hub features. It also provides information about topics such as\n integrating Security Hub with other Amazon Web Services services.

\n

In addition to interacting with Security Hub by making calls to the Security Hub API, you can\n use a current version of an Amazon Web Services command line tool or SDK. Amazon Web Services provides tools \n and SDKs that consist of libraries and sample code for various languages and platforms, such as PowerShell,\n Java, Go, Python, C++, and .NET. These tools and SDKs provide convenient, programmatic access to\n Security Hub and other Amazon Web Services services . They also handle tasks such as signing requests, \n managing errors, and retrying requests automatically. For information about installing and using the Amazon Web Services tools\n and SDKs, see Tools to Build on Amazon Web Services.

\n

With the exception of operations that are related to central configuration, Security Hub API requests are executed only in\n the Amazon Web Services Region that is currently active or in the specific Amazon Web Services Region that you specify in your request. Any configuration or settings change\n that results from the operation is applied only to that Region. To make the same change in\n other Regions, call the same API operation in each Region in which you want to apply the change. When you use central configuration, \nAPI requests for enabling Security Hub, standards, and controls are executed in the home Region and all linked Regions. For a list of \ncentral configuration operations, see the Central configuration \nterms and concepts section of the Security Hub User Guide.

\n

The following throttling limits apply to Security Hub API operations.

\n ", "smithy.api#title": "AWS SecurityHub", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -33123,13 +33123,13 @@ "Label": { "target": "com.amazonaws.securityhub#SeverityLabel", "traits": { - "smithy.api#documentation": "

The severity value of the finding. The allowed values are the following.

\n \n

If you provide Normalized and do not provide Label, then\n Label is set automatically as follows.

\n " + "smithy.api#documentation": "

The severity value of the finding. The allowed values are the following.

\n \n

If you provide Normalized and don't provide Label, then\n Label is set automatically as follows.

\n " } }, "Normalized": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#documentation": "

Deprecated. The normalized severity of a finding.\n Instead of providing Normalized, provide Label.

\n

The value of Normalized can be an integer between 0 and 100.

\n

If you provide Label and do not provide Normalized, then\n Normalized is set automatically as follows.

\n " + "smithy.api#documentation": "

Deprecated. The normalized severity of a finding.\n Instead of providing Normalized, provide Label.

\n

The value of Normalized can be an integer between 0 and 100.

\n

If you provide Label and don't provide Normalized, then\n Normalized is set automatically as follows.

\n " } }, "Original": { @@ -33213,7 +33213,7 @@ "Normalized": { "target": "com.amazonaws.securityhub#RatioScale", "traits": { - "smithy.api#documentation": "

The normalized severity for the finding. This attribute is to be deprecated in favor of\n Label.

\n

If you provide Normalized and do not provide Label,\n Label is set automatically as follows.

\n " + "smithy.api#documentation": "

The normalized severity for the finding. This attribute is to be deprecated in favor of\n Label.

\n

If you provide Normalized and don't provide Label,\n Label is set automatically as follows.

\n " } }, "Product": { @@ -33492,7 +33492,7 @@ "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

\n The unique identifier of a security control across standards. Values for this field typically consist of an Amazon Web Servicesservice \n name and a number, such as APIGateway.3.\n

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

\n The unique identifier of a security control across standards. Values for this field typically consist of an Amazon Web Services service \n name and a number, such as APIGateway.3.\n

", "smithy.api#required": {} } }, @@ -33610,7 +33610,7 @@ "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

\n A unique standard-agnostic identifier for a control. Values for this field typically consist of an \n Amazon Web Servicesservice and a number, such as APIGateway.5. This field doesn't reference a specific standard.\n

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

\n A unique standard-agnostic identifier for a control. Values for this field typically consist of an \n Amazon Web Services service and a number, such as APIGateway.5. This field doesn't reference a specific standard.\n

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

Updates the finding aggregation configuration. Used to update the Region linking mode and the list of included or excluded Regions. You cannot use UpdateFindingAggregator to change the aggregation Region.

\n

You must run UpdateFindingAggregator from the current aggregation Region.\n

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

The aggregation Region is now called the home Region.

\n
\n

Updates cross-Region aggregation settings. You can use this operation to update the Region linking mode and the list \n of included or excluded Amazon Web Services Regions. However, you can't use this operation to change the home Region.

\n

You can invoke this operation from the current home Region only.\n

", "smithy.api#examples": [ { "title": "To update cross-Region aggregation settings", @@ -35414,7 +35414,7 @@ "Regions": { "target": "com.amazonaws.securityhub#StringList", "traits": { - "smithy.api#documentation": "

If RegionLinkingMode is ALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.

\n

If RegionLinkingMode is SPECIFIED_REGIONS, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.

\n

An InvalidInputException error results if you populate this field while RegionLinkingMode is \n NO_REGIONS.

" + "smithy.api#documentation": "

If RegionLinkingMode is ALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that don't replicate and send findings to the home Region.

\n

If RegionLinkingMode is SPECIFIED_REGIONS, then this is a space-separated list of Regions that do replicate and send findings to the home Region.

\n

An InvalidInputException error results if you populate this field while RegionLinkingMode is \n NO_REGIONS.

" } } }, @@ -35434,7 +35434,7 @@ "FindingAggregationRegion": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

The aggregation Region.

" + "smithy.api#documentation": "

The home Region. Findings generated in linked Regions are replicated and sent to the home Region.

" } }, "RegionLinkingMode": { @@ -36343,7 +36343,7 @@ "Status": { "target": "com.amazonaws.securityhub#WorkflowStatus", "traits": { - "smithy.api#documentation": "

The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to SUPPRESSED or RESOLVED does not prevent a new finding for the same issue.

\n

The allowed values are the following.

\n " + "smithy.api#documentation": "

The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to SUPPRESSED or RESOLVED does not prevent a new finding for the same issue.

\n

The allowed values are the following.

\n " } } }, @@ -36426,7 +36426,7 @@ "Status": { "target": "com.amazonaws.securityhub#WorkflowStatus", "traits": { - "smithy.api#documentation": "

The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to SUPPRESSED or RESOLVED does not prevent a new finding for the same issue.

\n

The allowed values are the following.

\n " + "smithy.api#documentation": "

The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to SUPPRESSED or RESOLVED does not prevent a new finding for the same issue.

\n

The allowed values are the following.

\n " } } }, diff --git a/codegen/sdk-codegen/aws-models/sesv2.json b/codegen/sdk-codegen/aws-models/sesv2.json index 98594547b26..6d5b05b4276 100644 --- a/codegen/sdk-codegen/aws-models/sesv2.json +++ b/codegen/sdk-codegen/aws-models/sesv2.json @@ -5696,6 +5696,32 @@ "smithy.api#documentation": "

An object containing additional settings for your VDM configuration as applicable to\n the Guardian.

" } }, + "com.amazonaws.sesv2#HttpsPolicy": { + "type": "enum", + "members": { + "REQUIRE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REQUIRE" + } + }, + "REQUIRE_OPEN_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REQUIRE_OPEN_ONLY" + } + }, + "OPTIONAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIONAL" + } + } + }, + "traits": { + "smithy.api#documentation": "

The https policy to use for tracking open and click events. If the value is OPTIONAL or HttpsPolicy is not\n specified, the open trackers use HTTP and click tracker use the original protocol of the link.\n If the value is REQUIRE, both open and click tracker uses HTTPS and if the value is REQUIRE_OPEN_ONLY\n open tracker uses HTTPS and link tracker is same as original protocol of the link.\n

" + } + }, "com.amazonaws.sesv2#Identity": { "type": "string", "traits": { @@ -8693,6 +8719,9 @@ "traits": { "smithy.api#documentation": "

The domain to use to track open and click events.

" } + }, + "HttpsPolicy": { + "target": "com.amazonaws.sesv2#HttpsPolicy" } }, "traits": { @@ -11953,6 +11982,12 @@ "smithy.api#documentation": "

The domain to use for tracking open and click events.

", "smithy.api#required": {} } + }, + "HttpsPolicy": { + "target": "com.amazonaws.sesv2#HttpsPolicy", + "traits": { + "smithy.api#documentation": "

The https policy to use for tracking open and click events.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/worklink.json b/codegen/sdk-codegen/aws-models/worklink.json deleted file mode 100644 index 5ef9ccf2c6b..00000000000 --- a/codegen/sdk-codegen/aws-models/worklink.json +++ /dev/null @@ -1,3965 +0,0 @@ -{ - "smithy": "2.0", - "metadata": { - "suppressions": [ - { - "id": "HttpMethodSemantics", - "namespace": "*" - }, - { - "id": "HttpResponseCodeSemantics", - "namespace": "*" - }, - { - "id": "PaginatedTrait", - "namespace": "*" - }, - { - "id": "HttpHeaderTrait", - "namespace": "*" - }, - { - "id": "HttpUriConflict", - "namespace": "*" - }, - { - "id": "Service", - "namespace": "*" - } - ] - }, - "shapes": { - "com.amazonaws.worklink#AcmCertificateArn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]+:[\\w+=,.@-]+(/[\\w+=/,.@-]+)*$" - } - }, - "com.amazonaws.worklink#AssociateDomain": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#AssociateDomainRequest" - }, - "output": { - "target": "com.amazonaws.worklink#AssociateDomainResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceAlreadyExistsException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Specifies a domain to be associated to Amazon WorkLink.

", - "smithy.api#http": { - "method": "POST", - "uri": "/associateDomain", - "code": 200 - } - } - }, - "com.amazonaws.worklink#AssociateDomainRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

", - "smithy.api#required": {} - } - }, - "DomainName": { - "target": "com.amazonaws.worklink#DomainName", - "traits": { - "smithy.api#documentation": "

The fully qualified domain name (FQDN).

", - "smithy.api#required": {} - } - }, - "DisplayName": { - "target": "com.amazonaws.worklink#DisplayName", - "traits": { - "smithy.api#documentation": "

The name to display.

" - } - }, - "AcmCertificateArn": { - "target": "com.amazonaws.worklink#AcmCertificateArn", - "traits": { - "smithy.api#documentation": "

The ARN of an issued ACM certificate that is valid for the domain being associated.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#AssociateDomainResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#AssociateWebsiteAuthorizationProvider": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#AssociateWebsiteAuthorizationProviderRequest" - }, - "output": { - "target": "com.amazonaws.worklink#AssociateWebsiteAuthorizationProviderResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceAlreadyExistsException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Associates a website authorization provider with a specified fleet. This is used to authorize users against associated websites in the company network.

", - "smithy.api#http": { - "method": "POST", - "uri": "/associateWebsiteAuthorizationProvider", - "code": 200 - } - } - }, - "com.amazonaws.worklink#AssociateWebsiteAuthorizationProviderRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "AuthorizationProviderType": { - "target": "com.amazonaws.worklink#AuthorizationProviderType", - "traits": { - "smithy.api#documentation": "

The authorization provider type.

", - "smithy.api#required": {} - } - }, - "DomainName": { - "target": "com.amazonaws.worklink#DomainName", - "traits": { - "smithy.api#documentation": "

The domain name of the authorization provider. This applies only to SAML-based\n authorization providers.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#AssociateWebsiteAuthorizationProviderResponse": { - "type": "structure", - "members": { - "AuthorizationProviderId": { - "target": "com.amazonaws.worklink#Id", - "traits": { - "smithy.api#documentation": "

A unique identifier for the authorization provider.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#AssociateWebsiteCertificateAuthority": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#AssociateWebsiteCertificateAuthorityRequest" - }, - "output": { - "target": "com.amazonaws.worklink#AssociateWebsiteCertificateAuthorityResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceAlreadyExistsException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Imports the root certificate of a certificate authority (CA) used to obtain TLS\n certificates used by associated websites within the company network.

", - "smithy.api#http": { - "method": "POST", - "uri": "/associateWebsiteCertificateAuthority", - "code": 200 - } - } - }, - "com.amazonaws.worklink#AssociateWebsiteCertificateAuthorityRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "Certificate": { - "target": "com.amazonaws.worklink#Certificate", - "traits": { - "smithy.api#documentation": "

The root certificate of the CA.

", - "smithy.api#required": {} - } - }, - "DisplayName": { - "target": "com.amazonaws.worklink#DisplayName", - "traits": { - "smithy.api#documentation": "

The certificate name to display.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#AssociateWebsiteCertificateAuthorityResponse": { - "type": "structure", - "members": { - "WebsiteCaId": { - "target": "com.amazonaws.worklink#Id", - "traits": { - "smithy.api#documentation": "

A unique identifier for the CA.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#AuditStreamArn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:aws:kinesis:.+:[0-9]{12}:stream/AmazonWorkLink-.*$" - } - }, - "com.amazonaws.worklink#AuthorizationProviderType": { - "type": "enum", - "members": { - "SAML": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SAML" - } - } - } - }, - "com.amazonaws.worklink#Boolean": { - "type": "boolean" - }, - "com.amazonaws.worklink#Certificate": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 8192 - }, - "smithy.api#pattern": "^-{5}BEGIN CERTIFICATE-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END CERTIFICATE-{5}(\\u000D?\\u000A)?$" - } - }, - "com.amazonaws.worklink#CertificateChain": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 32768 - }, - "smithy.api#pattern": "^(-{5}BEGIN CERTIFICATE-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END CERTIFICATE-{5}\\u000D?\\u000A)*-{5}BEGIN CERTIFICATE-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END CERTIFICATE-{5}(\\u000D?\\u000A)?$" - } - }, - "com.amazonaws.worklink#CompanyCode": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 32 - } - } - }, - "com.amazonaws.worklink#CreateFleet": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#CreateFleetRequest" - }, - "output": { - "target": "com.amazonaws.worklink#CreateFleetResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceAlreadyExistsException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Creates a fleet. A fleet consists of resources and the configuration that delivers\n associated websites to authorized users who download and set up the Amazon WorkLink app.

", - "smithy.api#http": { - "method": "POST", - "uri": "/createFleet", - "code": 200 - } - } - }, - "com.amazonaws.worklink#CreateFleetRequest": { - "type": "structure", - "members": { - "FleetName": { - "target": "com.amazonaws.worklink#FleetName", - "traits": { - "smithy.api#documentation": "

A unique name for the fleet.

", - "smithy.api#required": {} - } - }, - "DisplayName": { - "target": "com.amazonaws.worklink#DisplayName", - "traits": { - "smithy.api#documentation": "

The fleet name to display.

" - } - }, - "OptimizeForEndUserLocation": { - "target": "com.amazonaws.worklink#Boolean", - "traits": { - "smithy.api#documentation": "

The option to optimize for better performance by routing traffic through the closest\n AWS Region to users, which may be outside of your home Region.

" - } - }, - "Tags": { - "target": "com.amazonaws.worklink#TagMap", - "traits": { - "smithy.api#documentation": "

The tags to add to the resource. A tag is a key-value pair.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#CreateFleetResponse": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#DateTime": { - "type": "timestamp" - }, - "com.amazonaws.worklink#DeleteFleet": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#DeleteFleetRequest" - }, - "output": { - "target": "com.amazonaws.worklink#DeleteFleetResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Deletes a fleet. Prevents users from accessing previously associated websites.

", - "smithy.api#http": { - "method": "POST", - "uri": "/deleteFleet", - "code": 200 - } - } - }, - "com.amazonaws.worklink#DeleteFleetRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#DeleteFleetResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#DescribeAuditStreamConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#DescribeAuditStreamConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.worklink#DescribeAuditStreamConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Describes the configuration for delivering audit streams to the customer account.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeAuditStreamConfiguration", - "code": 200 - } - } - }, - "com.amazonaws.worklink#DescribeAuditStreamConfigurationRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#DescribeAuditStreamConfigurationResponse": { - "type": "structure", - "members": { - "AuditStreamArn": { - "target": "com.amazonaws.worklink#AuditStreamArn", - "traits": { - "smithy.api#documentation": "

The ARN of the Amazon Kinesis data stream that will receive the audit events.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#DescribeCompanyNetworkConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#DescribeCompanyNetworkConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.worklink#DescribeCompanyNetworkConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Describes the networking configuration to access the internal websites associated with\n the specified fleet.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeCompanyNetworkConfiguration", - "code": 200 - } - } - }, - "com.amazonaws.worklink#DescribeCompanyNetworkConfigurationRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#DescribeCompanyNetworkConfigurationResponse": { - "type": "structure", - "members": { - "VpcId": { - "target": "com.amazonaws.worklink#VpcId", - "traits": { - "smithy.api#documentation": "

The VPC with connectivity to associated websites.

" - } - }, - "SubnetIds": { - "target": "com.amazonaws.worklink#SubnetIds", - "traits": { - "smithy.api#documentation": "

The subnets used for X-ENI connections from Amazon WorkLink rendering containers.

" - } - }, - "SecurityGroupIds": { - "target": "com.amazonaws.worklink#SecurityGroupIds", - "traits": { - "smithy.api#documentation": "

The security groups associated with access to the provided subnets.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#DescribeDevice": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#DescribeDeviceRequest" - }, - "output": { - "target": "com.amazonaws.worklink#DescribeDeviceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Provides information about a user's device.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeDevice", - "code": 200 - } - } - }, - "com.amazonaws.worklink#DescribeDevicePolicyConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#DescribeDevicePolicyConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.worklink#DescribeDevicePolicyConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Describes the device policy configuration for the specified fleet.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeDevicePolicyConfiguration", - "code": 200 - } - } - }, - "com.amazonaws.worklink#DescribeDevicePolicyConfigurationRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#DescribeDevicePolicyConfigurationResponse": { - "type": "structure", - "members": { - "DeviceCaCertificate": { - "target": "com.amazonaws.worklink#Certificate", - "traits": { - "smithy.api#documentation": "

The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#DescribeDeviceRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "DeviceId": { - "target": "com.amazonaws.worklink#Id", - "traits": { - "smithy.api#documentation": "

A unique identifier for a registered user's device.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#DescribeDeviceResponse": { - "type": "structure", - "members": { - "Status": { - "target": "com.amazonaws.worklink#DeviceStatus", - "traits": { - "smithy.api#documentation": "

The current state of the device.

" - } - }, - "Model": { - "target": "com.amazonaws.worklink#DeviceModel", - "traits": { - "smithy.api#documentation": "

The model of the device.

" - } - }, - "Manufacturer": { - "target": "com.amazonaws.worklink#DeviceManufacturer", - "traits": { - "smithy.api#documentation": "

The manufacturer of the device.

" - } - }, - "OperatingSystem": { - "target": "com.amazonaws.worklink#DeviceOperatingSystemName", - "traits": { - "smithy.api#documentation": "

The operating system of the device.

" - } - }, - "OperatingSystemVersion": { - "target": "com.amazonaws.worklink#DeviceOperatingSystemVersion", - "traits": { - "smithy.api#documentation": "

The operating system version of the device.

" - } - }, - "PatchLevel": { - "target": "com.amazonaws.worklink#DevicePatchLevel", - "traits": { - "smithy.api#documentation": "

The operating system patch level of the device.

" - } - }, - "FirstAccessedTime": { - "target": "com.amazonaws.worklink#DateTime", - "traits": { - "smithy.api#documentation": "

The date that the device first signed in to Amazon WorkLink.

" - } - }, - "LastAccessedTime": { - "target": "com.amazonaws.worklink#DateTime", - "traits": { - "smithy.api#documentation": "

The date that the device last accessed Amazon WorkLink.

" - } - }, - "Username": { - "target": "com.amazonaws.worklink#Username", - "traits": { - "smithy.api#documentation": "

The user name associated with the device.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#DescribeDomain": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#DescribeDomainRequest" - }, - "output": { - "target": "com.amazonaws.worklink#DescribeDomainResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Provides information about the domain.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeDomain", - "code": 200 - } - } - }, - "com.amazonaws.worklink#DescribeDomainRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "DomainName": { - "target": "com.amazonaws.worklink#DomainName", - "traits": { - "smithy.api#documentation": "

The name of the domain.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#DescribeDomainResponse": { - "type": "structure", - "members": { - "DomainName": { - "target": "com.amazonaws.worklink#DomainName", - "traits": { - "smithy.api#documentation": "

The name of the domain.

" - } - }, - "DisplayName": { - "target": "com.amazonaws.worklink#DisplayName", - "traits": { - "smithy.api#documentation": "

The name to display.

" - } - }, - "CreatedTime": { - "target": "com.amazonaws.worklink#DateTime", - "traits": { - "smithy.api#documentation": "

The time that the domain was added.

" - } - }, - "DomainStatus": { - "target": "com.amazonaws.worklink#DomainStatus", - "traits": { - "smithy.api#documentation": "

The current state for the domain.

" - } - }, - "AcmCertificateArn": { - "target": "com.amazonaws.worklink#AcmCertificateArn", - "traits": { - "smithy.api#documentation": "

The ARN of an issued ACM certificate that is valid for the domain being associated.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#DescribeFleetMetadata": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#DescribeFleetMetadataRequest" - }, - "output": { - "target": "com.amazonaws.worklink#DescribeFleetMetadataResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Provides basic information for the specified fleet, excluding identity provider,\n networking, and device configuration details.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeFleetMetadata", - "code": 200 - } - } - }, - "com.amazonaws.worklink#DescribeFleetMetadataRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#DescribeFleetMetadataResponse": { - "type": "structure", - "members": { - "CreatedTime": { - "target": "com.amazonaws.worklink#DateTime", - "traits": { - "smithy.api#documentation": "

The time that the fleet was created.

" - } - }, - "LastUpdatedTime": { - "target": "com.amazonaws.worklink#DateTime", - "traits": { - "smithy.api#documentation": "

The time that the fleet was last updated.

" - } - }, - "FleetName": { - "target": "com.amazonaws.worklink#FleetName", - "traits": { - "smithy.api#documentation": "

The name of the fleet.

" - } - }, - "DisplayName": { - "target": "com.amazonaws.worklink#DisplayName", - "traits": { - "smithy.api#documentation": "

The name to display.

" - } - }, - "OptimizeForEndUserLocation": { - "target": "com.amazonaws.worklink#Boolean", - "traits": { - "smithy.api#documentation": "

The option to optimize for better performance by routing traffic through the closest\n AWS Region to users, which may be outside of your home Region.

" - } - }, - "CompanyCode": { - "target": "com.amazonaws.worklink#CompanyCode", - "traits": { - "smithy.api#documentation": "

The identifier used by users to sign in to the Amazon WorkLink app.

" - } - }, - "FleetStatus": { - "target": "com.amazonaws.worklink#FleetStatus", - "traits": { - "smithy.api#documentation": "

The current state of the fleet.

" - } - }, - "Tags": { - "target": "com.amazonaws.worklink#TagMap", - "traits": { - "smithy.api#documentation": "

The tags attached to the resource. A tag is a key-value pair.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#DescribeIdentityProviderConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#DescribeIdentityProviderConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.worklink#DescribeIdentityProviderConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Describes the identity provider configuration of the specified fleet.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeIdentityProviderConfiguration", - "code": 200 - } - } - }, - "com.amazonaws.worklink#DescribeIdentityProviderConfigurationRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#DescribeIdentityProviderConfigurationResponse": { - "type": "structure", - "members": { - "IdentityProviderType": { - "target": "com.amazonaws.worklink#IdentityProviderType", - "traits": { - "smithy.api#documentation": "

The type of identity provider.

" - } - }, - "ServiceProviderSamlMetadata": { - "target": "com.amazonaws.worklink#SamlMetadata", - "traits": { - "smithy.api#documentation": "

The SAML metadata document uploaded to the user’s identity provider.

" - } - }, - "IdentityProviderSamlMetadata": { - "target": "com.amazonaws.worklink#SamlMetadata", - "traits": { - "smithy.api#documentation": "

The SAML metadata document provided by the user’s identity provider.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#DescribeWebsiteCertificateAuthority": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#DescribeWebsiteCertificateAuthorityRequest" - }, - "output": { - "target": "com.amazonaws.worklink#DescribeWebsiteCertificateAuthorityResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Provides information about the certificate authority.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeWebsiteCertificateAuthority", - "code": 200 - } - } - }, - "com.amazonaws.worklink#DescribeWebsiteCertificateAuthorityRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "WebsiteCaId": { - "target": "com.amazonaws.worklink#Id", - "traits": { - "smithy.api#documentation": "

A unique identifier for the certificate authority.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#DescribeWebsiteCertificateAuthorityResponse": { - "type": "structure", - "members": { - "Certificate": { - "target": "com.amazonaws.worklink#Certificate", - "traits": { - "smithy.api#documentation": "

The root certificate of the certificate authority.

" - } - }, - "CreatedTime": { - "target": "com.amazonaws.worklink#DateTime", - "traits": { - "smithy.api#documentation": "

The time that the certificate authority was added.

" - } - }, - "DisplayName": { - "target": "com.amazonaws.worklink#DisplayName", - "traits": { - "smithy.api#documentation": "

The certificate name to display.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#DeviceManufacturer": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.worklink#DeviceModel": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.worklink#DeviceOperatingSystemName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.worklink#DeviceOperatingSystemVersion": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.worklink#DevicePatchLevel": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.worklink#DeviceStatus": { - "type": "enum", - "members": { - "ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTIVE" - } - }, - "SIGNED_OUT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SIGNED_OUT" - } - } - } - }, - "com.amazonaws.worklink#DeviceSummary": { - "type": "structure", - "members": { - "DeviceId": { - "target": "com.amazonaws.worklink#Id", - "traits": { - "smithy.api#documentation": "

The ID of the device.

" - } - }, - "DeviceStatus": { - "target": "com.amazonaws.worklink#DeviceStatus", - "traits": { - "smithy.api#documentation": "

The status of the device.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The summary of devices.

" - } - }, - "com.amazonaws.worklink#DeviceSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.worklink#DeviceSummary" - } - }, - "com.amazonaws.worklink#DisassociateDomain": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#DisassociateDomainRequest" - }, - "output": { - "target": "com.amazonaws.worklink#DisassociateDomainResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Disassociates a domain from Amazon WorkLink. End users lose the ability to access the domain with Amazon WorkLink.

", - "smithy.api#http": { - "method": "POST", - "uri": "/disassociateDomain", - "code": 200 - } - } - }, - "com.amazonaws.worklink#DisassociateDomainRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "DomainName": { - "target": "com.amazonaws.worklink#DomainName", - "traits": { - "smithy.api#documentation": "

The name of the domain.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#DisassociateDomainResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#DisassociateWebsiteAuthorizationProvider": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#DisassociateWebsiteAuthorizationProviderRequest" - }, - "output": { - "target": "com.amazonaws.worklink#DisassociateWebsiteAuthorizationProviderResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceAlreadyExistsException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Disassociates a website authorization provider from a specified fleet. After the\n disassociation, users can't load any associated websites that require this authorization\n provider.

", - "smithy.api#http": { - "method": "POST", - "uri": "/disassociateWebsiteAuthorizationProvider", - "code": 200 - } - } - }, - "com.amazonaws.worklink#DisassociateWebsiteAuthorizationProviderRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "AuthorizationProviderId": { - "target": "com.amazonaws.worklink#Id", - "traits": { - "smithy.api#documentation": "

A unique identifier for the authorization provider.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#DisassociateWebsiteAuthorizationProviderResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#DisassociateWebsiteCertificateAuthority": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#DisassociateWebsiteCertificateAuthorityRequest" - }, - "output": { - "target": "com.amazonaws.worklink#DisassociateWebsiteCertificateAuthorityResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Removes a certificate authority (CA).

", - "smithy.api#http": { - "method": "POST", - "uri": "/disassociateWebsiteCertificateAuthority", - "code": 200 - } - } - }, - "com.amazonaws.worklink#DisassociateWebsiteCertificateAuthorityRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "WebsiteCaId": { - "target": "com.amazonaws.worklink#Id", - "traits": { - "smithy.api#documentation": "

A unique identifier for the CA.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#DisassociateWebsiteCertificateAuthorityResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#DisplayName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.worklink#DomainName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 253 - }, - "smithy.api#pattern": "^[a-zA-Z0-9]?((?!-)([A-Za-z0-9-]*[A-Za-z0-9])\\.)+[a-zA-Z0-9]+$" - } - }, - "com.amazonaws.worklink#DomainStatus": { - "type": "enum", - "members": { - "PENDING_VALIDATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PENDING_VALIDATION" - } - }, - "ASSOCIATING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ASSOCIATING" - } - }, - "ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTIVE" - } - }, - "INACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INACTIVE" - } - }, - "DISASSOCIATING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DISASSOCIATING" - } - }, - "DISASSOCIATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DISASSOCIATED" - } - }, - "FAILED_TO_ASSOCIATE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED_TO_ASSOCIATE" - } - }, - "FAILED_TO_DISASSOCIATE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED_TO_DISASSOCIATE" - } - } - } - }, - "com.amazonaws.worklink#DomainSummary": { - "type": "structure", - "members": { - "DomainName": { - "target": "com.amazonaws.worklink#DomainName", - "traits": { - "smithy.api#documentation": "

The name of the domain.

", - "smithy.api#required": {} - } - }, - "DisplayName": { - "target": "com.amazonaws.worklink#DisplayName", - "traits": { - "smithy.api#documentation": "

The name to display.

" - } - }, - "CreatedTime": { - "target": "com.amazonaws.worklink#DateTime", - "traits": { - "smithy.api#documentation": "

The time that the domain was created.

", - "smithy.api#required": {} - } - }, - "DomainStatus": { - "target": "com.amazonaws.worklink#DomainStatus", - "traits": { - "smithy.api#documentation": "

The status of the domain.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The summary of the domain.

" - } - }, - "com.amazonaws.worklink#DomainSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.worklink#DomainSummary" - } - }, - "com.amazonaws.worklink#ExceptionMessage": { - "type": "string" - }, - "com.amazonaws.worklink#FleetArn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 20, - "max": 2048 - } - } - }, - "com.amazonaws.worklink#FleetName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 48 - }, - "smithy.api#pattern": "^[a-z0-9](?:[a-z0-9\\-]{0,46}[a-z0-9])?$" - } - }, - "com.amazonaws.worklink#FleetStatus": { - "type": "enum", - "members": { - "CREATING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATING" - } - }, - "ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTIVE" - } - }, - "DELETING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETING" - } - }, - "DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETED" - } - }, - "FAILED_TO_CREATE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED_TO_CREATE" - } - }, - "FAILED_TO_DELETE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED_TO_DELETE" - } - } - } - }, - "com.amazonaws.worklink#FleetSummary": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

" - } - }, - "CreatedTime": { - "target": "com.amazonaws.worklink#DateTime", - "traits": { - "smithy.api#documentation": "

The time when the fleet was created.

" - } - }, - "LastUpdatedTime": { - "target": "com.amazonaws.worklink#DateTime", - "traits": { - "smithy.api#documentation": "

The time when the fleet was last updated.

" - } - }, - "FleetName": { - "target": "com.amazonaws.worklink#FleetName", - "traits": { - "smithy.api#documentation": "

The name of the fleet.

" - } - }, - "DisplayName": { - "target": "com.amazonaws.worklink#DisplayName", - "traits": { - "smithy.api#documentation": "

The name of the fleet to display.

" - } - }, - "CompanyCode": { - "target": "com.amazonaws.worklink#CompanyCode", - "traits": { - "smithy.api#documentation": "

The identifier used by users to sign into the Amazon WorkLink app.

" - } - }, - "FleetStatus": { - "target": "com.amazonaws.worklink#FleetStatus", - "traits": { - "smithy.api#documentation": "

The status of the fleet.

" - } - }, - "Tags": { - "target": "com.amazonaws.worklink#TagMap", - "traits": { - "smithy.api#documentation": "

The tags attached to the resource. A tag is a key-value pair.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The summary of the fleet.

" - } - }, - "com.amazonaws.worklink#FleetSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.worklink#FleetSummary" - } - }, - "com.amazonaws.worklink#Id": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.worklink#IdentityProviderType": { - "type": "enum", - "members": { - "SAML": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SAML" - } - } - } - }, - "com.amazonaws.worklink#InternalServerErrorException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.worklink#ExceptionMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The service is temporarily unavailable.

", - "smithy.api#error": "server", - "smithy.api#httpError": 500 - } - }, - "com.amazonaws.worklink#InvalidRequestException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.worklink#ExceptionMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The request is not valid.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.worklink#ListDevices": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#ListDevicesRequest" - }, - "output": { - "target": "com.amazonaws.worklink#ListDevicesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Retrieves a list of devices registered with the specified fleet.

", - "smithy.api#http": { - "method": "POST", - "uri": "/listDevices", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.worklink#ListDevicesRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "NextToken": { - "target": "com.amazonaws.worklink#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token used to retrieve the next page of results for this operation. If\n this value is null, it retrieves the first page.

" - } - }, - "MaxResults": { - "target": "com.amazonaws.worklink#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to be included in the next page.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#ListDevicesResponse": { - "type": "structure", - "members": { - "Devices": { - "target": "com.amazonaws.worklink#DeviceSummaryList", - "traits": { - "smithy.api#documentation": "

Information about the devices.

" - } - }, - "NextToken": { - "target": "com.amazonaws.worklink#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token used to retrieve the next page of results for this operation. If\n there are no more pages, this value is null.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#ListDomains": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#ListDomainsRequest" - }, - "output": { - "target": "com.amazonaws.worklink#ListDomainsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Retrieves a list of domains associated to a specified fleet.

", - "smithy.api#http": { - "method": "POST", - "uri": "/listDomains", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.worklink#ListDomainsRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "NextToken": { - "target": "com.amazonaws.worklink#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token used to retrieve the next page of results for this operation. If\n this value is null, it retrieves the first page.

" - } - }, - "MaxResults": { - "target": "com.amazonaws.worklink#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to be included in the next page.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#ListDomainsResponse": { - "type": "structure", - "members": { - "Domains": { - "target": "com.amazonaws.worklink#DomainSummaryList", - "traits": { - "smithy.api#documentation": "

Information about the domains.

" - } - }, - "NextToken": { - "target": "com.amazonaws.worklink#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token used to retrieve the next page of results for this operation. If\n there are no more pages, this value is null.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#ListFleets": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#ListFleetsRequest" - }, - "output": { - "target": "com.amazonaws.worklink#ListFleetsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Retrieves a list of fleets for the current account and Region.

", - "smithy.api#http": { - "method": "POST", - "uri": "/listFleets", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.worklink#ListFleetsRequest": { - "type": "structure", - "members": { - "NextToken": { - "target": "com.amazonaws.worklink#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token used to retrieve the next page of results for this operation. If\n this value is null, it retrieves the first page.

" - } - }, - "MaxResults": { - "target": "com.amazonaws.worklink#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to be included in the next page.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#ListFleetsResponse": { - "type": "structure", - "members": { - "FleetSummaryList": { - "target": "com.amazonaws.worklink#FleetSummaryList", - "traits": { - "smithy.api#documentation": "

The summary list of the fleets.

" - } - }, - "NextToken": { - "target": "com.amazonaws.worklink#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token used to retrieve the next page of results for this operation. If\n there are no more pages, this value is null.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#ListTagsForResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#ListTagsForResourceRequest" - }, - "output": { - "target": "com.amazonaws.worklink#ListTagsForResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InvalidRequestException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Retrieves a list of tags for the specified resource.

", - "smithy.api#http": { - "method": "GET", - "uri": "/tags/{ResourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.worklink#ListTagsForResourceRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#ListTagsForResourceResponse": { - "type": "structure", - "members": { - "Tags": { - "target": "com.amazonaws.worklink#TagMap", - "traits": { - "smithy.api#documentation": "

The tags attached to the resource. A tag is a key-value pair.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#ListWebsiteAuthorizationProviders": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#ListWebsiteAuthorizationProvidersRequest" - }, - "output": { - "target": "com.amazonaws.worklink#ListWebsiteAuthorizationProvidersResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Retrieves a list of website authorization providers associated with a specified fleet.

", - "smithy.api#http": { - "method": "POST", - "uri": "/listWebsiteAuthorizationProviders", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.worklink#ListWebsiteAuthorizationProvidersRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "NextToken": { - "target": "com.amazonaws.worklink#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

" - } - }, - "MaxResults": { - "target": "com.amazonaws.worklink#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to be included in the next page.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#ListWebsiteAuthorizationProvidersResponse": { - "type": "structure", - "members": { - "WebsiteAuthorizationProviders": { - "target": "com.amazonaws.worklink#WebsiteAuthorizationProvidersSummaryList", - "traits": { - "smithy.api#documentation": "

The website authorization providers.

" - } - }, - "NextToken": { - "target": "com.amazonaws.worklink#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#ListWebsiteCertificateAuthorities": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#ListWebsiteCertificateAuthoritiesRequest" - }, - "output": { - "target": "com.amazonaws.worklink#ListWebsiteCertificateAuthoritiesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Retrieves a list of certificate authorities added for the current account and\n Region.

", - "smithy.api#http": { - "method": "POST", - "uri": "/listWebsiteCertificateAuthorities", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.worklink#ListWebsiteCertificateAuthoritiesRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.worklink#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to be included in the next page.

" - } - }, - "NextToken": { - "target": "com.amazonaws.worklink#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token used to retrieve the next page of results for this operation. If\n this value is null, it retrieves the first page.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#ListWebsiteCertificateAuthoritiesResponse": { - "type": "structure", - "members": { - "WebsiteCertificateAuthorities": { - "target": "com.amazonaws.worklink#WebsiteCaSummaryList", - "traits": { - "smithy.api#documentation": "

Information about the certificates.

" - } - }, - "NextToken": { - "target": "com.amazonaws.worklink#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token used to retrieve the next page of results for this operation. If\n there are no more pages, this value is null.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1 - } - } - }, - "com.amazonaws.worklink#NextToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 4096 - }, - "smithy.api#pattern": "^[\\w\\-]+$" - } - }, - "com.amazonaws.worklink#ResourceAlreadyExistsException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.worklink#ExceptionMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The resource already exists.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.worklink#ResourceNotFoundException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.worklink#ExceptionMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The requested resource was not found.

", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, - "com.amazonaws.worklink#RestoreDomainAccess": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#RestoreDomainAccessRequest" - }, - "output": { - "target": "com.amazonaws.worklink#RestoreDomainAccessResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Moves a domain to ACTIVE status if it was in the INACTIVE status.

", - "smithy.api#http": { - "method": "POST", - "uri": "/restoreDomainAccess", - "code": 200 - } - } - }, - "com.amazonaws.worklink#RestoreDomainAccessRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "DomainName": { - "target": "com.amazonaws.worklink#DomainName", - "traits": { - "smithy.api#documentation": "

The name of the domain.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#RestoreDomainAccessResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#RevokeDomainAccess": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#RevokeDomainAccessRequest" - }, - "output": { - "target": "com.amazonaws.worklink#RevokeDomainAccessResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Moves a domain to INACTIVE status if it was in the ACTIVE status.

", - "smithy.api#http": { - "method": "POST", - "uri": "/revokeDomainAccess", - "code": 200 - } - } - }, - "com.amazonaws.worklink#RevokeDomainAccessRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "DomainName": { - "target": "com.amazonaws.worklink#DomainName", - "traits": { - "smithy.api#documentation": "

The name of the domain.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#RevokeDomainAccessResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#SamlMetadata": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 204800 - } - } - }, - "com.amazonaws.worklink#SecurityGroupId": { - "type": "string", - "traits": { - "smithy.api#pattern": "^sg-([0-9a-f]{8}|[0-9a-f]{17})$" - } - }, - "com.amazonaws.worklink#SecurityGroupIds": { - "type": "list", - "member": { - "target": "com.amazonaws.worklink#SecurityGroupId" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 5 - } - } - }, - "com.amazonaws.worklink#SignOutUser": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#SignOutUserRequest" - }, - "output": { - "target": "com.amazonaws.worklink#SignOutUserResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Signs the user out from all of their devices. The user can sign in again if they have\n valid credentials.

", - "smithy.api#http": { - "method": "POST", - "uri": "/signOutUser", - "code": 200 - } - } - }, - "com.amazonaws.worklink#SignOutUserRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "Username": { - "target": "com.amazonaws.worklink#Username", - "traits": { - "smithy.api#documentation": "

The name of the user.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#SignOutUserResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#SubnetId": { - "type": "string", - "traits": { - "smithy.api#pattern": "^subnet-([0-9a-f]{8}|[0-9a-f]{17})$" - } - }, - "com.amazonaws.worklink#SubnetIds": { - "type": "list", - "member": { - "target": "com.amazonaws.worklink#SubnetId" - } - }, - "com.amazonaws.worklink#TagKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$" - } - }, - "com.amazonaws.worklink#TagKeyList": { - "type": "list", - "member": { - "target": "com.amazonaws.worklink#TagKey" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.worklink#TagMap": { - "type": "map", - "key": { - "target": "com.amazonaws.worklink#TagKey" - }, - "value": { - "target": "com.amazonaws.worklink#TagValue" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.worklink#TagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#TagResourceRequest" - }, - "output": { - "target": "com.amazonaws.worklink#TagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InvalidRequestException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Adds or overwrites one or more tags for the specified resource, such as a fleet. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.

", - "smithy.api#http": { - "method": "POST", - "uri": "/tags/{ResourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.worklink#TagResourceRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Tags": { - "target": "com.amazonaws.worklink#TagMap", - "traits": { - "smithy.api#documentation": "

The tags to add to the resource. A tag is a key-value pair.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#TagResourceResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#TagValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - } - } - }, - "com.amazonaws.worklink#TooManyRequestsException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.worklink#ExceptionMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The number of requests exceeds the limit.

", - "smithy.api#error": "client", - "smithy.api#httpError": 429 - } - }, - "com.amazonaws.worklink#UnauthorizedException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.worklink#ExceptionMessage" - } - }, - "traits": { - "smithy.api#documentation": "

You are not authorized to perform this action.

", - "smithy.api#error": "client", - "smithy.api#httpError": 403 - } - }, - "com.amazonaws.worklink#UntagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#UntagResourceRequest" - }, - "output": { - "target": "com.amazonaws.worklink#UntagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InvalidRequestException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Removes one or more tags from the specified resource.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/tags/{ResourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.worklink#UntagResourceRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "TagKeys": { - "target": "com.amazonaws.worklink#TagKeyList", - "traits": { - "smithy.api#documentation": "

The list of tag keys to remove from the resource.

", - "smithy.api#httpQuery": "tagKeys", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#UntagResourceResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#UpdateAuditStreamConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#UpdateAuditStreamConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.worklink#UpdateAuditStreamConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Updates the audit stream configuration for the fleet.

", - "smithy.api#http": { - "method": "POST", - "uri": "/updateAuditStreamConfiguration", - "code": 200 - } - } - }, - "com.amazonaws.worklink#UpdateAuditStreamConfigurationRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "AuditStreamArn": { - "target": "com.amazonaws.worklink#AuditStreamArn", - "traits": { - "smithy.api#documentation": "

The ARN of the Amazon Kinesis data stream that receives the audit events.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#UpdateAuditStreamConfigurationResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#UpdateCompanyNetworkConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#UpdateCompanyNetworkConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.worklink#UpdateCompanyNetworkConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Updates the company network configuration for the fleet.

", - "smithy.api#http": { - "method": "POST", - "uri": "/updateCompanyNetworkConfiguration", - "code": 200 - } - } - }, - "com.amazonaws.worklink#UpdateCompanyNetworkConfigurationRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "VpcId": { - "target": "com.amazonaws.worklink#VpcId", - "traits": { - "smithy.api#documentation": "

The VPC with connectivity to associated websites.

", - "smithy.api#required": {} - } - }, - "SubnetIds": { - "target": "com.amazonaws.worklink#SubnetIds", - "traits": { - "smithy.api#documentation": "

The subnets used for X-ENI connections from Amazon WorkLink rendering containers.

", - "smithy.api#required": {} - } - }, - "SecurityGroupIds": { - "target": "com.amazonaws.worklink#SecurityGroupIds", - "traits": { - "smithy.api#documentation": "

The security groups associated with access to the provided subnets.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#UpdateCompanyNetworkConfigurationResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#UpdateDevicePolicyConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#UpdateDevicePolicyConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.worklink#UpdateDevicePolicyConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Updates the device policy configuration for the fleet.

", - "smithy.api#http": { - "method": "POST", - "uri": "/updateDevicePolicyConfiguration", - "code": 200 - } - } - }, - "com.amazonaws.worklink#UpdateDevicePolicyConfigurationRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "DeviceCaCertificate": { - "target": "com.amazonaws.worklink#CertificateChain", - "traits": { - "smithy.api#documentation": "

The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#UpdateDevicePolicyConfigurationResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#UpdateDomainMetadata": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#UpdateDomainMetadataRequest" - }, - "output": { - "target": "com.amazonaws.worklink#UpdateDomainMetadataResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Updates domain metadata, such as DisplayName.

", - "smithy.api#http": { - "method": "POST", - "uri": "/updateDomainMetadata", - "code": 200 - } - } - }, - "com.amazonaws.worklink#UpdateDomainMetadataRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "DomainName": { - "target": "com.amazonaws.worklink#DomainName", - "traits": { - "smithy.api#documentation": "

The name of the domain.

", - "smithy.api#required": {} - } - }, - "DisplayName": { - "target": "com.amazonaws.worklink#DisplayName", - "traits": { - "smithy.api#documentation": "

The name to display.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#UpdateDomainMetadataResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#UpdateFleetMetadata": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#UpdateFleetMetadataRequest" - }, - "output": { - "target": "com.amazonaws.worklink#UpdateFleetMetadataResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Updates fleet metadata, such as DisplayName.

", - "smithy.api#http": { - "method": "POST", - "uri": "/UpdateFleetMetadata", - "code": 200 - } - } - }, - "com.amazonaws.worklink#UpdateFleetMetadataRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "DisplayName": { - "target": "com.amazonaws.worklink#DisplayName", - "traits": { - "smithy.api#documentation": "

The fleet name to display. The existing DisplayName is unset if null is passed.

" - } - }, - "OptimizeForEndUserLocation": { - "target": "com.amazonaws.worklink#Boolean", - "traits": { - "smithy.api#documentation": "

The option to optimize for better performance by routing traffic through the closest\n AWS Region to users, which may be outside of your home Region.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#UpdateFleetMetadataResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#UpdateIdentityProviderConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.worklink#UpdateIdentityProviderConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.worklink#UpdateIdentityProviderConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.worklink#InternalServerErrorException" - }, - { - "target": "com.amazonaws.worklink#InvalidRequestException" - }, - { - "target": "com.amazonaws.worklink#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.worklink#TooManyRequestsException" - }, - { - "target": "com.amazonaws.worklink#UnauthorizedException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK." - }, - "smithy.api#documentation": "

Updates the identity provider configuration for the fleet.

", - "smithy.api#http": { - "method": "POST", - "uri": "/updateIdentityProviderConfiguration", - "code": 200 - } - } - }, - "com.amazonaws.worklink#UpdateIdentityProviderConfigurationRequest": { - "type": "structure", - "members": { - "FleetArn": { - "target": "com.amazonaws.worklink#FleetArn", - "traits": { - "smithy.api#documentation": "

The ARN of the fleet.

", - "smithy.api#required": {} - } - }, - "IdentityProviderType": { - "target": "com.amazonaws.worklink#IdentityProviderType", - "traits": { - "smithy.api#documentation": "

The type of identity provider.

", - "smithy.api#required": {} - } - }, - "IdentityProviderSamlMetadata": { - "target": "com.amazonaws.worklink#SamlMetadata", - "traits": { - "smithy.api#documentation": "

The SAML metadata document provided by the customer’s identity provider. The existing\n IdentityProviderSamlMetadata is unset if null is passed.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.worklink#UpdateIdentityProviderConfigurationResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.worklink#Username": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.worklink#VpcId": { - "type": "string", - "traits": { - "smithy.api#pattern": "^vpc-([0-9a-f]{8}|[0-9a-f]{17})$" - } - }, - "com.amazonaws.worklink#WebsiteAuthorizationProviderSummary": { - "type": "structure", - "members": { - "AuthorizationProviderId": { - "target": "com.amazonaws.worklink#Id", - "traits": { - "smithy.api#documentation": "

A unique identifier for the authorization provider.

" - } - }, - "AuthorizationProviderType": { - "target": "com.amazonaws.worklink#AuthorizationProviderType", - "traits": { - "smithy.api#documentation": "

The authorization provider type.

", - "smithy.api#required": {} - } - }, - "DomainName": { - "target": "com.amazonaws.worklink#DomainName", - "traits": { - "smithy.api#documentation": "

The domain name of the authorization provider. This applies only to SAML-based\n authorization providers.

" - } - }, - "CreatedTime": { - "target": "com.amazonaws.worklink#DateTime", - "traits": { - "smithy.api#documentation": "

The time of creation.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The summary of the website authorization provider.

" - } - }, - "com.amazonaws.worklink#WebsiteAuthorizationProvidersSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.worklink#WebsiteAuthorizationProviderSummary" - } - }, - "com.amazonaws.worklink#WebsiteCaSummary": { - "type": "structure", - "members": { - "WebsiteCaId": { - "target": "com.amazonaws.worklink#Id", - "traits": { - "smithy.api#documentation": "

A unique identifier for the CA.

" - } - }, - "CreatedTime": { - "target": "com.amazonaws.worklink#DateTime", - "traits": { - "smithy.api#documentation": "

The time when the CA was added.

" - } - }, - "DisplayName": { - "target": "com.amazonaws.worklink#DisplayName", - "traits": { - "smithy.api#documentation": "

The name to display.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The summary of the certificate authority (CA).

" - } - }, - "com.amazonaws.worklink#WebsiteCaSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.worklink#WebsiteCaSummary" - } - }, - "com.amazonaws.worklink#WorkLink": { - "type": "service", - "version": "2018-09-25", - "operations": [ - { - "target": "com.amazonaws.worklink#AssociateDomain" - }, - { - "target": "com.amazonaws.worklink#AssociateWebsiteAuthorizationProvider" - }, - { - "target": "com.amazonaws.worklink#AssociateWebsiteCertificateAuthority" - }, - { - "target": "com.amazonaws.worklink#CreateFleet" - }, - { - "target": "com.amazonaws.worklink#DeleteFleet" - }, - { - "target": "com.amazonaws.worklink#DescribeAuditStreamConfiguration" - }, - { - "target": "com.amazonaws.worklink#DescribeCompanyNetworkConfiguration" - }, - { - "target": "com.amazonaws.worklink#DescribeDevice" - }, - { - "target": "com.amazonaws.worklink#DescribeDevicePolicyConfiguration" - }, - { - "target": "com.amazonaws.worklink#DescribeDomain" - }, - { - "target": "com.amazonaws.worklink#DescribeFleetMetadata" - }, - { - "target": "com.amazonaws.worklink#DescribeIdentityProviderConfiguration" - }, - { - "target": "com.amazonaws.worklink#DescribeWebsiteCertificateAuthority" - }, - { - "target": "com.amazonaws.worklink#DisassociateDomain" - }, - { - "target": "com.amazonaws.worklink#DisassociateWebsiteAuthorizationProvider" - }, - { - "target": "com.amazonaws.worklink#DisassociateWebsiteCertificateAuthority" - }, - { - "target": "com.amazonaws.worklink#ListDevices" - }, - { - "target": "com.amazonaws.worklink#ListDomains" - }, - { - "target": "com.amazonaws.worklink#ListFleets" - }, - { - "target": "com.amazonaws.worklink#ListTagsForResource" - }, - { - "target": "com.amazonaws.worklink#ListWebsiteAuthorizationProviders" - }, - { - "target": "com.amazonaws.worklink#ListWebsiteCertificateAuthorities" - }, - { - "target": "com.amazonaws.worklink#RestoreDomainAccess" - }, - { - "target": "com.amazonaws.worklink#RevokeDomainAccess" - }, - { - "target": "com.amazonaws.worklink#SignOutUser" - }, - { - "target": "com.amazonaws.worklink#TagResource" - }, - { - "target": "com.amazonaws.worklink#UntagResource" - }, - { - "target": "com.amazonaws.worklink#UpdateAuditStreamConfiguration" - }, - { - "target": "com.amazonaws.worklink#UpdateCompanyNetworkConfiguration" - }, - { - "target": "com.amazonaws.worklink#UpdateDevicePolicyConfiguration" - }, - { - "target": "com.amazonaws.worklink#UpdateDomainMetadata" - }, - { - "target": "com.amazonaws.worklink#UpdateFleetMetadata" - }, - { - "target": "com.amazonaws.worklink#UpdateIdentityProviderConfiguration" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "WorkLink", - "arnNamespace": "worklink", - "cloudFormationName": "WorkLink", - "cloudTrailEventSource": "worklink.amazonaws.com", - "endpointPrefix": "worklink" - }, - "aws.auth#sigv4": { - "name": "worklink" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon WorkLink is a cloud-based service that provides secure access\n to internal websites and web apps from iOS and Android phones. In a single step, your users, such as\n employees, can access internal websites as efficiently as they access any other public website.\n They enter a URL in their web browser, or choose a link to an internal website in an email. Amazon WorkLink\n authenticates the user's access and securely renders authorized internal web content in a secure\n rendering service in the AWS cloud. Amazon WorkLink doesn't download or store any internal web content on\n mobile devices.

", - "smithy.api#title": "Amazon WorkLink", - "smithy.rules#endpointRuleSet": { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "Boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "Boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "String" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://worklink-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://worklink-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://worklink.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ] - }, - { - "conditions": [], - "endpoint": { - "url": "https://worklink.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://worklink-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://worklink.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://worklink-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://worklink.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://worklink-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://worklink.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://worklink.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" - } - } - } - } -} diff --git a/codegen/smithy-aws-go-codegen/src/main/resources/software/amazon/smithy/aws/go/codegen/endpoints.json b/codegen/smithy-aws-go-codegen/src/main/resources/software/amazon/smithy/aws/go/codegen/endpoints.json index a7a3389535f..2f01ce98de8 100644 --- a/codegen/smithy-aws-go-codegen/src/main/resources/software/amazon/smithy/aws/go/codegen/endpoints.json +++ b/codegen/smithy-aws-go-codegen/src/main/resources/software/amazon/smithy/aws/go/codegen/endpoints.json @@ -9634,6 +9634,8 @@ }, "endpoints" : { "ap-south-1" : { }, + "ap-southeast-2" : { }, + "eu-west-2" : { }, "us-east-1" : { }, "us-east-2" : { }, "us-west-2" : { } @@ -29167,8 +29169,32 @@ }, "ds" : { "endpoints" : { - "us-iso-east-1" : { }, - "us-iso-west-1" : { } + "fips-us-iso-east-1" : { + "credentialScope" : { + "region" : "us-iso-east-1" + }, + "deprecated" : true, + "hostname" : "ds-fips.us-iso-east-1.c2s.ic.gov" + }, + "fips-us-iso-west-1" : { + "credentialScope" : { + "region" : "us-iso-west-1" + }, + "deprecated" : true, + "hostname" : "ds-fips.us-iso-west-1.c2s.ic.gov" + }, + "us-iso-east-1" : { + "variants" : [ { + "hostname" : "ds-fips.us-iso-east-1.c2s.ic.gov", + "tags" : [ "fips" ] + } ] + }, + "us-iso-west-1" : { + "variants" : [ { + "hostname" : "ds-fips.us-iso-west-1.c2s.ic.gov", + "tags" : [ "fips" ] + } ] + } } }, "dynamodb" : { @@ -29988,7 +30014,19 @@ }, "ds" : { "endpoints" : { - "us-isob-east-1" : { } + "fips-us-isob-east-1" : { + "credentialScope" : { + "region" : "us-isob-east-1" + }, + "deprecated" : true, + "hostname" : "ds-fips.us-isob-east-1.sc2s.sgov.gov" + }, + "us-isob-east-1" : { + "variants" : [ { + "hostname" : "ds-fips.us-isob-east-1.sc2s.sgov.gov", + "tags" : [ "fips" ] + } ] + } } }, "dynamodb" : { diff --git a/config/CHANGELOG.md b/config/CHANGELOG.md index e5e148b35ab..d6653fc7d32 100644 --- a/config/CHANGELOG.md +++ b/config/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.39 (2024-09-27) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.27.38 (2024-09-25) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/config/go.mod b/config/go.mod index 6651e5897ed..185abe3ba41 100644 --- a/config/go.mod +++ b/config/go.mod @@ -4,12 +4,12 @@ go 1.21 require ( github.com/aws/aws-sdk-go-v2 v1.31.0 - github.com/aws/aws-sdk-go-v2/credentials v1.17.36 + github.com/aws/aws-sdk-go-v2/credentials v1.17.37 github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.14 github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 - github.com/aws/aws-sdk-go-v2/service/sso v1.23.2 - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.2 - github.com/aws/aws-sdk-go-v2/service/sts v1.31.2 + github.com/aws/aws-sdk-go-v2/service/sso v1.23.3 + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.3 + github.com/aws/aws-sdk-go-v2/service/sts v1.31.3 github.com/aws/smithy-go v1.21.0 ) diff --git a/config/go_module_metadata.go b/config/go_module_metadata.go index 451fa244e12..eaa7298fca6 100644 --- a/config/go_module_metadata.go +++ b/config/go_module_metadata.go @@ -3,4 +3,4 @@ package config // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.38" +const goModuleVersion = "1.27.39" diff --git a/credentials/CHANGELOG.md b/credentials/CHANGELOG.md index 0e817940d74..dfb2bd8570d 100644 --- a/credentials/CHANGELOG.md +++ b/credentials/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.37 (2024-09-27) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.36 (2024-09-25) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/credentials/go.mod b/credentials/go.mod index 24f58e6f44e..5fa968eac39 100644 --- a/credentials/go.mod +++ b/credentials/go.mod @@ -5,9 +5,9 @@ go 1.21 require ( github.com/aws/aws-sdk-go-v2 v1.31.0 github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.14 - github.com/aws/aws-sdk-go-v2/service/sso v1.23.2 - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.2 - github.com/aws/aws-sdk-go-v2/service/sts v1.31.2 + github.com/aws/aws-sdk-go-v2/service/sso v1.23.3 + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.3 + github.com/aws/aws-sdk-go-v2/service/sts v1.31.3 github.com/aws/smithy-go v1.21.0 ) diff --git a/credentials/go_module_metadata.go b/credentials/go_module_metadata.go index 0679bf32735..96dba57ccf8 100644 --- a/credentials/go_module_metadata.go +++ b/credentials/go_module_metadata.go @@ -3,4 +3,4 @@ package credentials // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.36" +const goModuleVersion = "1.17.37" diff --git a/example/service/dynamodb/createTable/go.mod b/example/service/dynamodb/createTable/go.mod index a41e56750dd..1d4bd02fedc 100644 --- a/example/service/dynamodb/createTable/go.mod +++ b/example/service/dynamodb/createTable/go.mod @@ -4,12 +4,12 @@ go 1.21 require ( github.com/aws/aws-sdk-go-v2 v1.31.0 - github.com/aws/aws-sdk-go-v2/config v1.27.38 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.35.2 + github.com/aws/aws-sdk-go-v2/config v1.27.39 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.35.3 ) require ( - github.com/aws/aws-sdk-go-v2/credentials v1.17.36 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.17.37 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.14 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect @@ -17,9 +17,9 @@ require ( github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.5 // indirect github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.19 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.20 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.23.2 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.2 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.31.2 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.23.3 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.3 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.31.3 // indirect github.com/aws/smithy-go v1.21.0 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect ) diff --git a/example/service/dynamodb/scanItems/go.mod b/example/service/dynamodb/scanItems/go.mod index 40f7e034324..33ff95d0087 100644 --- a/example/service/dynamodb/scanItems/go.mod +++ b/example/service/dynamodb/scanItems/go.mod @@ -4,24 +4,24 @@ go 1.21 require ( github.com/aws/aws-sdk-go-v2 v1.31.0 - github.com/aws/aws-sdk-go-v2/config v1.27.38 - github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.15.7 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.35.2 + github.com/aws/aws-sdk-go-v2/config v1.27.39 + github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.15.8 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.35.3 ) require ( - github.com/aws/aws-sdk-go-v2/credentials v1.17.36 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.17.37 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.14 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect - github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.23.2 // indirect + github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.23.3 // indirect github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.5 // indirect github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.19 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.20 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.23.2 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.2 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.31.2 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.23.3 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.3 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.31.3 // indirect github.com/aws/smithy-go v1.21.0 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect ) diff --git a/example/service/s3/listObjects/go.mod b/example/service/s3/listObjects/go.mod index b16664c6fa9..0442ab5bba5 100644 --- a/example/service/s3/listObjects/go.mod +++ b/example/service/s3/listObjects/go.mod @@ -3,14 +3,14 @@ module github.com/aws/aws-sdk-go-v2/example/service/s3/listObjects go 1.21 require ( - github.com/aws/aws-sdk-go-v2/config v1.27.38 - github.com/aws/aws-sdk-go-v2/service/s3 v1.63.2 + github.com/aws/aws-sdk-go-v2/config v1.27.39 + github.com/aws/aws-sdk-go-v2/service/s3 v1.63.3 ) require ( github.com/aws/aws-sdk-go-v2 v1.31.0 // indirect github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.5 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.17.36 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.17.37 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.14 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect @@ -20,9 +20,9 @@ require ( github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.20 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.20 // indirect github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.18 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.23.2 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.2 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.31.2 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.23.3 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.3 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.31.3 // indirect github.com/aws/smithy-go v1.21.0 // indirect ) diff --git a/example/service/s3/usingPrivateLink/go.mod b/example/service/s3/usingPrivateLink/go.mod index bb858af6beb..8bf5a015fdf 100644 --- a/example/service/s3/usingPrivateLink/go.mod +++ b/example/service/s3/usingPrivateLink/go.mod @@ -4,14 +4,14 @@ go 1.21 require ( github.com/aws/aws-sdk-go-v2 v1.31.0 - github.com/aws/aws-sdk-go-v2/config v1.27.38 - github.com/aws/aws-sdk-go-v2/service/s3 v1.63.2 - github.com/aws/aws-sdk-go-v2/service/s3control v1.48.2 + github.com/aws/aws-sdk-go-v2/config v1.27.39 + github.com/aws/aws-sdk-go-v2/service/s3 v1.63.3 + github.com/aws/aws-sdk-go-v2/service/s3control v1.48.3 ) require ( github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.5 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.17.36 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.17.37 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.14 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect @@ -21,9 +21,9 @@ require ( github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.20 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.20 // indirect github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.18 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.23.2 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.2 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.31.2 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.23.3 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.3 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.31.3 // indirect github.com/aws/smithy-go v1.21.0 // indirect ) diff --git a/feature/dynamodb/attributevalue/CHANGELOG.md b/feature/dynamodb/attributevalue/CHANGELOG.md index 1c66ba31fca..7eb00a26a03 100644 --- a/feature/dynamodb/attributevalue/CHANGELOG.md +++ b/feature/dynamodb/attributevalue/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.8 (2024-09-27) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.15.7 (2024-09-25) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/feature/dynamodb/attributevalue/go.mod b/feature/dynamodb/attributevalue/go.mod index dcac1f163f7..6a291ed0941 100644 --- a/feature/dynamodb/attributevalue/go.mod +++ b/feature/dynamodb/attributevalue/go.mod @@ -4,8 +4,8 @@ go 1.21 require ( github.com/aws/aws-sdk-go-v2 v1.31.0 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.35.2 - github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.23.2 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.35.3 + github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.23.3 ) require github.com/aws/smithy-go v1.21.0 // indirect diff --git a/feature/dynamodb/attributevalue/go_module_metadata.go b/feature/dynamodb/attributevalue/go_module_metadata.go index 66d22202ee8..113a2f3cd9a 100644 --- a/feature/dynamodb/attributevalue/go_module_metadata.go +++ b/feature/dynamodb/attributevalue/go_module_metadata.go @@ -3,4 +3,4 @@ package attributevalue // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.7" +const goModuleVersion = "1.15.8" diff --git a/feature/dynamodb/expression/CHANGELOG.md b/feature/dynamodb/expression/CHANGELOG.md index 3a894ecba42..6dfc157c916 100644 --- a/feature/dynamodb/expression/CHANGELOG.md +++ b/feature/dynamodb/expression/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.7.43 (2024-09-27) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.7.42 (2024-09-25) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/feature/dynamodb/expression/go.mod b/feature/dynamodb/expression/go.mod index 617028ad8a4..2eb9b25f30e 100644 --- a/feature/dynamodb/expression/go.mod +++ b/feature/dynamodb/expression/go.mod @@ -4,14 +4,14 @@ go 1.21 require ( github.com/aws/aws-sdk-go-v2 v1.31.0 - github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.15.7 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.35.2 + github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.15.8 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.35.3 ) require ( github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect - github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.23.2 // indirect + github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.23.3 // indirect github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.5 // indirect github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.19 // indirect github.com/aws/smithy-go v1.21.0 // indirect diff --git a/feature/dynamodb/expression/go_module_metadata.go b/feature/dynamodb/expression/go_module_metadata.go index a5b1d6cbe77..f0352606876 100644 --- a/feature/dynamodb/expression/go_module_metadata.go +++ b/feature/dynamodb/expression/go_module_metadata.go @@ -3,4 +3,4 @@ package expression // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.7.42" +const goModuleVersion = "1.7.43" diff --git a/feature/dynamodbstreams/attributevalue/CHANGELOG.md b/feature/dynamodbstreams/attributevalue/CHANGELOG.md index 9d237437a08..28828685ef4 100644 --- a/feature/dynamodbstreams/attributevalue/CHANGELOG.md +++ b/feature/dynamodbstreams/attributevalue/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.14.23 (2024-09-27) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.14.22 (2024-09-26) + +* No change notes available for this release. + # v1.14.21 (2024-09-25) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/feature/dynamodbstreams/attributevalue/go.mod b/feature/dynamodbstreams/attributevalue/go.mod index 4593e24303e..3cfb4659fdf 100644 --- a/feature/dynamodbstreams/attributevalue/go.mod +++ b/feature/dynamodbstreams/attributevalue/go.mod @@ -4,8 +4,8 @@ go 1.21 require ( github.com/aws/aws-sdk-go-v2 v1.31.0 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.35.2 - github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.23.2 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.35.3 + github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.23.3 ) require github.com/aws/smithy-go v1.21.0 // indirect diff --git a/feature/dynamodbstreams/attributevalue/go_module_metadata.go b/feature/dynamodbstreams/attributevalue/go_module_metadata.go index ce4728b5022..b02b4e09cad 100644 --- a/feature/dynamodbstreams/attributevalue/go_module_metadata.go +++ b/feature/dynamodbstreams/attributevalue/go_module_metadata.go @@ -3,4 +3,4 @@ package attributevalue // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.21" +const goModuleVersion = "1.14.23" diff --git a/feature/ec2/imds/internal/configtesting/go.mod b/feature/ec2/imds/internal/configtesting/go.mod index c147267ed56..83140411eaf 100644 --- a/feature/ec2/imds/internal/configtesting/go.mod +++ b/feature/ec2/imds/internal/configtesting/go.mod @@ -3,21 +3,21 @@ module github.com/aws/aws-sdk-go-v2/feature/ec2/imds/internal/configtesting go 1.21 require ( - github.com/aws/aws-sdk-go-v2/config v1.27.38 + github.com/aws/aws-sdk-go-v2/config v1.27.39 github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.14 ) require ( github.com/aws/aws-sdk-go-v2 v1.31.0 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.17.36 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.17.37 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.5 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.20 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.23.2 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.2 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.31.2 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.23.3 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.3 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.31.3 // indirect github.com/aws/smithy-go v1.21.0 // indirect ) diff --git a/feature/s3/manager/CHANGELOG.md b/feature/s3/manager/CHANGELOG.md index 3e142b6807b..c6b58e0f348 100644 --- a/feature/s3/manager/CHANGELOG.md +++ b/feature/s3/manager/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.25 (2024-09-27) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.24 (2024-09-25) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/feature/s3/manager/go.mod b/feature/s3/manager/go.mod index 142572f2e1a..bdb48a30438 100644 --- a/feature/s3/manager/go.mod +++ b/feature/s3/manager/go.mod @@ -4,14 +4,14 @@ go 1.21 require ( github.com/aws/aws-sdk-go-v2 v1.31.0 - github.com/aws/aws-sdk-go-v2/config v1.27.38 - github.com/aws/aws-sdk-go-v2/service/s3 v1.63.2 + github.com/aws/aws-sdk-go-v2/config v1.27.39 + github.com/aws/aws-sdk-go-v2/service/s3 v1.63.3 github.com/aws/smithy-go v1.21.0 ) require ( github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.5 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.17.36 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.17.37 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.14 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect @@ -21,9 +21,9 @@ require ( github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.20 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.20 // indirect github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.18 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.23.2 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.2 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.31.2 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.23.3 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.3 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.31.3 // indirect ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/feature/s3/manager/go_module_metadata.go b/feature/s3/manager/go_module_metadata.go index c0a0fec1603..e37aa047119 100644 --- a/feature/s3/manager/go_module_metadata.go +++ b/feature/s3/manager/go_module_metadata.go @@ -3,4 +3,4 @@ package manager // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.24" +const goModuleVersion = "1.17.25" diff --git a/internal/configsources/configtesting/go.mod b/internal/configsources/configtesting/go.mod index 7c92cced4e8..10825157232 100644 --- a/internal/configsources/configtesting/go.mod +++ b/internal/configsources/configtesting/go.mod @@ -3,21 +3,21 @@ module github.com/aws/aws-sdk-go-v2/internal/configsources/configtesting go 1.21 require ( - github.com/aws/aws-sdk-go-v2/config v1.27.38 + github.com/aws/aws-sdk-go-v2/config v1.27.39 github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 ) require ( github.com/aws/aws-sdk-go-v2 v1.31.0 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.17.36 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.17.37 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.14 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.5 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.20 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.23.2 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.2 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.31.2 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.23.3 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.3 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.31.3 // indirect github.com/aws/smithy-go v1.21.0 // indirect ) diff --git a/service/accessanalyzer/CHANGELOG.md b/service/accessanalyzer/CHANGELOG.md index 70f1e57f03c..0ccc7d27562 100644 --- a/service/accessanalyzer/CHANGELOG.md +++ b/service/accessanalyzer/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.33.3 (2024-09-27) + +* No change notes available for this release. + # v1.33.2 (2024-09-25) * No change notes available for this release. diff --git a/service/accessanalyzer/api_client.go b/service/accessanalyzer/api_client.go index 2ad2d7ab5f1..e7ffe0f2dc5 100644 --- a/service/accessanalyzer/api_client.go +++ b/service/accessanalyzer/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/accessanalyzer/go_module_metadata.go b/service/accessanalyzer/go_module_metadata.go index df09f60c5b5..d5d3a6f70ed 100644 --- a/service/accessanalyzer/go_module_metadata.go +++ b/service/accessanalyzer/go_module_metadata.go @@ -3,4 +3,4 @@ package accessanalyzer // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.33.2" +const goModuleVersion = "1.33.3" diff --git a/service/account/CHANGELOG.md b/service/account/CHANGELOG.md index 09686c32e78..e3e0cfa763c 100644 --- a/service/account/CHANGELOG.md +++ b/service/account/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.20.3 (2024-09-27) + +* No change notes available for this release. + # v1.20.2 (2024-09-25) * No change notes available for this release. diff --git a/service/account/api_client.go b/service/account/api_client.go index c7e39d44a26..fe398101ef7 100644 --- a/service/account/api_client.go +++ b/service/account/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/account/go_module_metadata.go b/service/account/go_module_metadata.go index 4063327a21e..e98c1b99706 100644 --- a/service/account/go_module_metadata.go +++ b/service/account/go_module_metadata.go @@ -3,4 +3,4 @@ package account // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.2" +const goModuleVersion = "1.20.3" diff --git a/service/acm/CHANGELOG.md b/service/acm/CHANGELOG.md index 3d75d20a42d..1a7cb6c1260 100644 --- a/service/acm/CHANGELOG.md +++ b/service/acm/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.29.3 (2024-09-27) + +* No change notes available for this release. + # v1.29.2 (2024-09-25) * No change notes available for this release. diff --git a/service/acm/api_client.go b/service/acm/api_client.go index f280a1f44fa..e6c27ea8bea 100644 --- a/service/acm/api_client.go +++ b/service/acm/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/acm/go_module_metadata.go b/service/acm/go_module_metadata.go index 1ba1c5d3121..493cd6e8f57 100644 --- a/service/acm/go_module_metadata.go +++ b/service/acm/go_module_metadata.go @@ -3,4 +3,4 @@ package acm // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.29.2" +const goModuleVersion = "1.29.3" diff --git a/service/acmpca/CHANGELOG.md b/service/acmpca/CHANGELOG.md index 59770542185..36d0894cddf 100644 --- a/service/acmpca/CHANGELOG.md +++ b/service/acmpca/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.36.3 (2024-09-27) + +* No change notes available for this release. + # v1.36.2 (2024-09-25) * No change notes available for this release. diff --git a/service/acmpca/api_client.go b/service/acmpca/api_client.go index 10899c87f9f..76ac1c76a95 100644 --- a/service/acmpca/api_client.go +++ b/service/acmpca/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/acmpca/go_module_metadata.go b/service/acmpca/go_module_metadata.go index cd639b8850d..15efcb09d5f 100644 --- a/service/acmpca/go_module_metadata.go +++ b/service/acmpca/go_module_metadata.go @@ -3,4 +3,4 @@ package acmpca // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.36.2" +const goModuleVersion = "1.36.3" diff --git a/service/amp/CHANGELOG.md b/service/amp/CHANGELOG.md index 8513b3b9251..d68815454d7 100644 --- a/service/amp/CHANGELOG.md +++ b/service/amp/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/amp/api_client.go b/service/amp/api_client.go index ab6963fdb1a..6f0fcdd5254 100644 --- a/service/amp/api_client.go +++ b/service/amp/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/amp/go_module_metadata.go b/service/amp/go_module_metadata.go index f7f7e4232c8..c003145afc7 100644 --- a/service/amp/go_module_metadata.go +++ b/service/amp/go_module_metadata.go @@ -3,4 +3,4 @@ package amp // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/amplify/CHANGELOG.md b/service/amplify/CHANGELOG.md index 64746f85166..e265d6bb60b 100644 --- a/service/amplify/CHANGELOG.md +++ b/service/amplify/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/amplify/api_client.go b/service/amplify/api_client.go index 36418a23b38..9b4fb9a2654 100644 --- a/service/amplify/api_client.go +++ b/service/amplify/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/amplify/go_module_metadata.go b/service/amplify/go_module_metadata.go index fdedbda277a..1c3ab624500 100644 --- a/service/amplify/go_module_metadata.go +++ b/service/amplify/go_module_metadata.go @@ -3,4 +3,4 @@ package amplify // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/amplifybackend/CHANGELOG.md b/service/amplifybackend/CHANGELOG.md index 39018625446..ef01965b7a8 100644 --- a/service/amplifybackend/CHANGELOG.md +++ b/service/amplifybackend/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/amplifybackend/api_client.go b/service/amplifybackend/api_client.go index 3cb672e201d..dbf66e464dc 100644 --- a/service/amplifybackend/api_client.go +++ b/service/amplifybackend/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/amplifybackend/go_module_metadata.go b/service/amplifybackend/go_module_metadata.go index a784660c5a9..255684e27f4 100644 --- a/service/amplifybackend/go_module_metadata.go +++ b/service/amplifybackend/go_module_metadata.go @@ -3,4 +3,4 @@ package amplifybackend // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/amplifyuibuilder/CHANGELOG.md b/service/amplifyuibuilder/CHANGELOG.md index f599d16fc68..cf09f464b3b 100644 --- a/service/amplifyuibuilder/CHANGELOG.md +++ b/service/amplifyuibuilder/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/amplifyuibuilder/api_client.go b/service/amplifyuibuilder/api_client.go index ad86e25abc2..1669c336796 100644 --- a/service/amplifyuibuilder/api_client.go +++ b/service/amplifyuibuilder/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/amplifyuibuilder/go_module_metadata.go b/service/amplifyuibuilder/go_module_metadata.go index 72360bd05b0..14d1962781a 100644 --- a/service/amplifyuibuilder/go_module_metadata.go +++ b/service/amplifyuibuilder/go_module_metadata.go @@ -3,4 +3,4 @@ package amplifyuibuilder // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/apigateway/CHANGELOG.md b/service/apigateway/CHANGELOG.md index 2e434dddba1..4584133aac6 100644 --- a/service/apigateway/CHANGELOG.md +++ b/service/apigateway/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/apigateway/api_client.go b/service/apigateway/api_client.go index 7d20ee4aef3..7853d582f0a 100644 --- a/service/apigateway/api_client.go +++ b/service/apigateway/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/apigateway/go_module_metadata.go b/service/apigateway/go_module_metadata.go index 05acaa82bc0..22bb68aa3d4 100644 --- a/service/apigateway/go_module_metadata.go +++ b/service/apigateway/go_module_metadata.go @@ -3,4 +3,4 @@ package apigateway // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/apigatewaymanagementapi/CHANGELOG.md b/service/apigatewaymanagementapi/CHANGELOG.md index a9ea211f33b..b71c7547018 100644 --- a/service/apigatewaymanagementapi/CHANGELOG.md +++ b/service/apigatewaymanagementapi/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/apigatewaymanagementapi/api_client.go b/service/apigatewaymanagementapi/api_client.go index 67de2de8116..ecc0bab2368 100644 --- a/service/apigatewaymanagementapi/api_client.go +++ b/service/apigatewaymanagementapi/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/apigatewaymanagementapi/go_module_metadata.go b/service/apigatewaymanagementapi/go_module_metadata.go index a459b58b04b..21ea4a40330 100644 --- a/service/apigatewaymanagementapi/go_module_metadata.go +++ b/service/apigatewaymanagementapi/go_module_metadata.go @@ -3,4 +3,4 @@ package apigatewaymanagementapi // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/apigatewayv2/CHANGELOG.md b/service/apigatewayv2/CHANGELOG.md index aa52a8c74f7..003f33187f9 100644 --- a/service/apigatewayv2/CHANGELOG.md +++ b/service/apigatewayv2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/apigatewayv2/api_client.go b/service/apigatewayv2/api_client.go index 71b544f96b3..6899a3ab543 100644 --- a/service/apigatewayv2/api_client.go +++ b/service/apigatewayv2/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/apigatewayv2/go_module_metadata.go b/service/apigatewayv2/go_module_metadata.go index 8bc77cbf98d..e423816e55e 100644 --- a/service/apigatewayv2/go_module_metadata.go +++ b/service/apigatewayv2/go_module_metadata.go @@ -3,4 +3,4 @@ package apigatewayv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/appconfig/CHANGELOG.md b/service/appconfig/CHANGELOG.md index 4b0d8029aa1..57036ab3af9 100644 --- a/service/appconfig/CHANGELOG.md +++ b/service/appconfig/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.33.3 (2024-09-27) + +* No change notes available for this release. + # v1.33.2 (2024-09-25) * No change notes available for this release. diff --git a/service/appconfig/api_client.go b/service/appconfig/api_client.go index ab2165b1318..5b38d261d0d 100644 --- a/service/appconfig/api_client.go +++ b/service/appconfig/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/appconfig/go_module_metadata.go b/service/appconfig/go_module_metadata.go index dde6dfeaae3..c44db3d22fc 100644 --- a/service/appconfig/go_module_metadata.go +++ b/service/appconfig/go_module_metadata.go @@ -3,4 +3,4 @@ package appconfig // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.33.2" +const goModuleVersion = "1.33.3" diff --git a/service/appconfigdata/CHANGELOG.md b/service/appconfigdata/CHANGELOG.md index 3d208e8ed2a..03f80505474 100644 --- a/service/appconfigdata/CHANGELOG.md +++ b/service/appconfigdata/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.3 (2024-09-27) + +* No change notes available for this release. + # v1.17.2 (2024-09-25) * No change notes available for this release. diff --git a/service/appconfigdata/api_client.go b/service/appconfigdata/api_client.go index 642db2c10d6..cdec14cb1ee 100644 --- a/service/appconfigdata/api_client.go +++ b/service/appconfigdata/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/appconfigdata/go_module_metadata.go b/service/appconfigdata/go_module_metadata.go index c68e69de0d8..30ac34e84f1 100644 --- a/service/appconfigdata/go_module_metadata.go +++ b/service/appconfigdata/go_module_metadata.go @@ -3,4 +3,4 @@ package appconfigdata // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.2" +const goModuleVersion = "1.17.3" diff --git a/service/appfabric/CHANGELOG.md b/service/appfabric/CHANGELOG.md index ede9c3ca91c..09fd9d5d00d 100644 --- a/service/appfabric/CHANGELOG.md +++ b/service/appfabric/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.10.3 (2024-09-27) + +* No change notes available for this release. + # v1.10.2 (2024-09-25) * No change notes available for this release. diff --git a/service/appfabric/api_client.go b/service/appfabric/api_client.go index 9f232e55097..dd958df7371 100644 --- a/service/appfabric/api_client.go +++ b/service/appfabric/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/appfabric/go_module_metadata.go b/service/appfabric/go_module_metadata.go index 1f3f7ecbcc1..f9c78644aa4 100644 --- a/service/appfabric/go_module_metadata.go +++ b/service/appfabric/go_module_metadata.go @@ -3,4 +3,4 @@ package appfabric // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.10.2" +const goModuleVersion = "1.10.3" diff --git a/service/appflow/CHANGELOG.md b/service/appflow/CHANGELOG.md index a27f67f5d3e..57ec2bf1ffd 100644 --- a/service/appflow/CHANGELOG.md +++ b/service/appflow/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.44.3 (2024-09-27) + +* No change notes available for this release. + # v1.44.2 (2024-09-25) * No change notes available for this release. diff --git a/service/appflow/api_client.go b/service/appflow/api_client.go index 18493b07ca9..aab84f347b0 100644 --- a/service/appflow/api_client.go +++ b/service/appflow/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/appflow/go_module_metadata.go b/service/appflow/go_module_metadata.go index d8b2ba97ede..c2d079b4f82 100644 --- a/service/appflow/go_module_metadata.go +++ b/service/appflow/go_module_metadata.go @@ -3,4 +3,4 @@ package appflow // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.44.2" +const goModuleVersion = "1.44.3" diff --git a/service/appintegrations/CHANGELOG.md b/service/appintegrations/CHANGELOG.md index 66b41e142d6..6a62f5ff620 100644 --- a/service/appintegrations/CHANGELOG.md +++ b/service/appintegrations/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.29.3 (2024-09-27) + +* No change notes available for this release. + # v1.29.2 (2024-09-25) * No change notes available for this release. diff --git a/service/appintegrations/api_client.go b/service/appintegrations/api_client.go index e29575559cb..5a1b6646247 100644 --- a/service/appintegrations/api_client.go +++ b/service/appintegrations/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/appintegrations/go_module_metadata.go b/service/appintegrations/go_module_metadata.go index f139fa2b7bf..11ac2d8f87c 100644 --- a/service/appintegrations/go_module_metadata.go +++ b/service/appintegrations/go_module_metadata.go @@ -3,4 +3,4 @@ package appintegrations // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.29.2" +const goModuleVersion = "1.29.3" diff --git a/service/applicationautoscaling/CHANGELOG.md b/service/applicationautoscaling/CHANGELOG.md index ddf8dc55609..a0c51925b75 100644 --- a/service/applicationautoscaling/CHANGELOG.md +++ b/service/applicationautoscaling/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.32.3 (2024-09-27) + +* No change notes available for this release. + # v1.32.2 (2024-09-25) * No change notes available for this release. diff --git a/service/applicationautoscaling/api_client.go b/service/applicationautoscaling/api_client.go index 6670574229a..d3fc15a8364 100644 --- a/service/applicationautoscaling/api_client.go +++ b/service/applicationautoscaling/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/applicationautoscaling/go_module_metadata.go b/service/applicationautoscaling/go_module_metadata.go index 647396a9ab0..0c00f1ddea9 100644 --- a/service/applicationautoscaling/go_module_metadata.go +++ b/service/applicationautoscaling/go_module_metadata.go @@ -3,4 +3,4 @@ package applicationautoscaling // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.32.2" +const goModuleVersion = "1.32.3" diff --git a/service/applicationcostprofiler/CHANGELOG.md b/service/applicationcostprofiler/CHANGELOG.md index 3375eb0b2a6..a45a722715e 100644 --- a/service/applicationcostprofiler/CHANGELOG.md +++ b/service/applicationcostprofiler/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.20.3 (2024-09-27) + +* No change notes available for this release. + # v1.20.2 (2024-09-25) * No change notes available for this release. diff --git a/service/applicationcostprofiler/api_client.go b/service/applicationcostprofiler/api_client.go index c53b97fb46d..b36f23cf9c7 100644 --- a/service/applicationcostprofiler/api_client.go +++ b/service/applicationcostprofiler/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/applicationcostprofiler/go_module_metadata.go b/service/applicationcostprofiler/go_module_metadata.go index 92e538e40a9..92c6334bb38 100644 --- a/service/applicationcostprofiler/go_module_metadata.go +++ b/service/applicationcostprofiler/go_module_metadata.go @@ -3,4 +3,4 @@ package applicationcostprofiler // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.2" +const goModuleVersion = "1.20.3" diff --git a/service/applicationdiscoveryservice/CHANGELOG.md b/service/applicationdiscoveryservice/CHANGELOG.md index 23e0678c89f..a225e8ec9ac 100644 --- a/service/applicationdiscoveryservice/CHANGELOG.md +++ b/service/applicationdiscoveryservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/applicationdiscoveryservice/api_client.go b/service/applicationdiscoveryservice/api_client.go index 4a6e8db8315..3f6bf1b3af8 100644 --- a/service/applicationdiscoveryservice/api_client.go +++ b/service/applicationdiscoveryservice/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/applicationdiscoveryservice/go_module_metadata.go b/service/applicationdiscoveryservice/go_module_metadata.go index 833691de813..07423d12612 100644 --- a/service/applicationdiscoveryservice/go_module_metadata.go +++ b/service/applicationdiscoveryservice/go_module_metadata.go @@ -3,4 +3,4 @@ package applicationdiscoveryservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/applicationinsights/CHANGELOG.md b/service/applicationinsights/CHANGELOG.md index 723f75da7d0..3771f319a62 100644 --- a/service/applicationinsights/CHANGELOG.md +++ b/service/applicationinsights/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.4 (2024-09-27) + +* No change notes available for this release. + # v1.27.3 (2024-09-25) * No change notes available for this release. diff --git a/service/applicationinsights/api_client.go b/service/applicationinsights/api_client.go index 20bc0a51149..69ce07d1617 100644 --- a/service/applicationinsights/api_client.go +++ b/service/applicationinsights/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/applicationinsights/go_module_metadata.go b/service/applicationinsights/go_module_metadata.go index 023e79e2074..6468ce9cabe 100644 --- a/service/applicationinsights/go_module_metadata.go +++ b/service/applicationinsights/go_module_metadata.go @@ -3,4 +3,4 @@ package applicationinsights // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.3" +const goModuleVersion = "1.27.4" diff --git a/service/applicationsignals/CHANGELOG.md b/service/applicationsignals/CHANGELOG.md index ae332497561..88926722499 100644 --- a/service/applicationsignals/CHANGELOG.md +++ b/service/applicationsignals/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.5.3 (2024-09-27) + +* No change notes available for this release. + # v1.5.2 (2024-09-25) * No change notes available for this release. diff --git a/service/applicationsignals/api_client.go b/service/applicationsignals/api_client.go index 8d8718a4f9b..35a7db25bd1 100644 --- a/service/applicationsignals/api_client.go +++ b/service/applicationsignals/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/applicationsignals/go_module_metadata.go b/service/applicationsignals/go_module_metadata.go index d87ac0f6072..a82be1380fa 100644 --- a/service/applicationsignals/go_module_metadata.go +++ b/service/applicationsignals/go_module_metadata.go @@ -3,4 +3,4 @@ package applicationsignals // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.5.2" +const goModuleVersion = "1.5.3" diff --git a/service/appmesh/CHANGELOG.md b/service/appmesh/CHANGELOG.md index 27dc75203b1..fa88c8176a1 100644 --- a/service/appmesh/CHANGELOG.md +++ b/service/appmesh/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/appmesh/api_client.go b/service/appmesh/api_client.go index 58ccd3ab3a3..b651da2cf15 100644 --- a/service/appmesh/api_client.go +++ b/service/appmesh/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/appmesh/go_module_metadata.go b/service/appmesh/go_module_metadata.go index b827fd9722a..3b1e24e38ab 100644 --- a/service/appmesh/go_module_metadata.go +++ b/service/appmesh/go_module_metadata.go @@ -3,4 +3,4 @@ package appmesh // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/apprunner/CHANGELOG.md b/service/apprunner/CHANGELOG.md index 0c4a3009367..908dd00b485 100644 --- a/service/apprunner/CHANGELOG.md +++ b/service/apprunner/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.31.3 (2024-09-27) + +* No change notes available for this release. + # v1.31.2 (2024-09-25) * No change notes available for this release. diff --git a/service/apprunner/api_client.go b/service/apprunner/api_client.go index 4c4e67341de..cbe803b7430 100644 --- a/service/apprunner/api_client.go +++ b/service/apprunner/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/apprunner/go_module_metadata.go b/service/apprunner/go_module_metadata.go index b1f3cd2ca2b..d92ed9eb20b 100644 --- a/service/apprunner/go_module_metadata.go +++ b/service/apprunner/go_module_metadata.go @@ -3,4 +3,4 @@ package apprunner // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.31.2" +const goModuleVersion = "1.31.3" diff --git a/service/appstream/CHANGELOG.md b/service/appstream/CHANGELOG.md index 5a790c30a0d..8b18ca798d1 100644 --- a/service/appstream/CHANGELOG.md +++ b/service/appstream/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.39.3 (2024-09-27) + +* No change notes available for this release. + # v1.39.2 (2024-09-25) * No change notes available for this release. diff --git a/service/appstream/api_client.go b/service/appstream/api_client.go index 481910b212d..bb3d342d923 100644 --- a/service/appstream/api_client.go +++ b/service/appstream/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/appstream/go_module_metadata.go b/service/appstream/go_module_metadata.go index d384bd121dd..123ffc636fc 100644 --- a/service/appstream/go_module_metadata.go +++ b/service/appstream/go_module_metadata.go @@ -3,4 +3,4 @@ package appstream // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.39.2" +const goModuleVersion = "1.39.3" diff --git a/service/appsync/CHANGELOG.md b/service/appsync/CHANGELOG.md index b189207ebd6..994a317701c 100644 --- a/service/appsync/CHANGELOG.md +++ b/service/appsync/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.37.3 (2024-09-27) + +* No change notes available for this release. + # v1.37.2 (2024-09-25) * No change notes available for this release. diff --git a/service/appsync/api_client.go b/service/appsync/api_client.go index 2aaf0af16fc..5cdb8cdb580 100644 --- a/service/appsync/api_client.go +++ b/service/appsync/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/appsync/go_module_metadata.go b/service/appsync/go_module_metadata.go index fcfef2fe028..0a830b8eecd 100644 --- a/service/appsync/go_module_metadata.go +++ b/service/appsync/go_module_metadata.go @@ -3,4 +3,4 @@ package appsync // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.37.2" +const goModuleVersion = "1.37.3" diff --git a/service/apptest/CHANGELOG.md b/service/apptest/CHANGELOG.md index bea11c02c2c..44d15fc90b6 100644 --- a/service/apptest/CHANGELOG.md +++ b/service/apptest/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.3.3 (2024-09-27) + +* No change notes available for this release. + # v1.3.2 (2024-09-25) * No change notes available for this release. diff --git a/service/apptest/api_client.go b/service/apptest/api_client.go index 792274dc31f..21230eebdfa 100644 --- a/service/apptest/api_client.go +++ b/service/apptest/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/apptest/go_module_metadata.go b/service/apptest/go_module_metadata.go index bb17dae5c65..932f1d14e91 100644 --- a/service/apptest/go_module_metadata.go +++ b/service/apptest/go_module_metadata.go @@ -3,4 +3,4 @@ package apptest // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.3.2" +const goModuleVersion = "1.3.3" diff --git a/service/arczonalshift/CHANGELOG.md b/service/arczonalshift/CHANGELOG.md index b7bbb90b6f7..439f47d95d6 100644 --- a/service/arczonalshift/CHANGELOG.md +++ b/service/arczonalshift/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.3 (2024-09-27) + +* No change notes available for this release. + # v1.13.2 (2024-09-25) * No change notes available for this release. diff --git a/service/arczonalshift/api_client.go b/service/arczonalshift/api_client.go index a2c1f988392..a3d47416d6b 100644 --- a/service/arczonalshift/api_client.go +++ b/service/arczonalshift/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/arczonalshift/go_module_metadata.go b/service/arczonalshift/go_module_metadata.go index ff26a67e372..93559335ef2 100644 --- a/service/arczonalshift/go_module_metadata.go +++ b/service/arczonalshift/go_module_metadata.go @@ -3,4 +3,4 @@ package arczonalshift // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.2" +const goModuleVersion = "1.13.3" diff --git a/service/artifact/CHANGELOG.md b/service/artifact/CHANGELOG.md index 696d4f57175..ae94bb84ed6 100644 --- a/service/artifact/CHANGELOG.md +++ b/service/artifact/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.5.3 (2024-09-27) + +* No change notes available for this release. + # v1.5.2 (2024-09-25) * No change notes available for this release. diff --git a/service/artifact/api_client.go b/service/artifact/api_client.go index 5bfbd7e3f19..fdfa6c9d77e 100644 --- a/service/artifact/api_client.go +++ b/service/artifact/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/artifact/go_module_metadata.go b/service/artifact/go_module_metadata.go index 2368b977acf..cde7bd3339c 100644 --- a/service/artifact/go_module_metadata.go +++ b/service/artifact/go_module_metadata.go @@ -3,4 +3,4 @@ package artifact // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.5.2" +const goModuleVersion = "1.5.3" diff --git a/service/athena/CHANGELOG.md b/service/athena/CHANGELOG.md index bd3f3ebcad0..ef036fbd37e 100644 --- a/service/athena/CHANGELOG.md +++ b/service/athena/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.46.2 (2024-09-27) + +* No change notes available for this release. + # v1.46.1 (2024-09-25) * No change notes available for this release. diff --git a/service/athena/api_client.go b/service/athena/api_client.go index 78fa448fbe4..ff2d15c661a 100644 --- a/service/athena/api_client.go +++ b/service/athena/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/athena/go_module_metadata.go b/service/athena/go_module_metadata.go index 6bba7f1d6f4..37639866d71 100644 --- a/service/athena/go_module_metadata.go +++ b/service/athena/go_module_metadata.go @@ -3,4 +3,4 @@ package athena // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.46.1" +const goModuleVersion = "1.46.2" diff --git a/service/auditmanager/CHANGELOG.md b/service/auditmanager/CHANGELOG.md index 114363116bc..0610550fe40 100644 --- a/service/auditmanager/CHANGELOG.md +++ b/service/auditmanager/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.36.3 (2024-09-27) + +* No change notes available for this release. + # v1.36.2 (2024-09-25) * No change notes available for this release. diff --git a/service/auditmanager/api_client.go b/service/auditmanager/api_client.go index 70a5a83855c..d4eb70e67bc 100644 --- a/service/auditmanager/api_client.go +++ b/service/auditmanager/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/auditmanager/go_module_metadata.go b/service/auditmanager/go_module_metadata.go index b648092123d..e29dd054da4 100644 --- a/service/auditmanager/go_module_metadata.go +++ b/service/auditmanager/go_module_metadata.go @@ -3,4 +3,4 @@ package auditmanager // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.36.2" +const goModuleVersion = "1.36.3" diff --git a/service/autoscaling/CHANGELOG.md b/service/autoscaling/CHANGELOG.md index 90e5670da1f..606055c26c7 100644 --- a/service/autoscaling/CHANGELOG.md +++ b/service/autoscaling/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.44.3 (2024-09-27) + +* No change notes available for this release. + # v1.44.2 (2024-09-25) * No change notes available for this release. diff --git a/service/autoscaling/api_client.go b/service/autoscaling/api_client.go index 130aff3e43b..74a21394cca 100644 --- a/service/autoscaling/api_client.go +++ b/service/autoscaling/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/autoscaling/go_module_metadata.go b/service/autoscaling/go_module_metadata.go index 95268f8e703..63b1b47133f 100644 --- a/service/autoscaling/go_module_metadata.go +++ b/service/autoscaling/go_module_metadata.go @@ -3,4 +3,4 @@ package autoscaling // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.44.2" +const goModuleVersion = "1.44.3" diff --git a/service/autoscalingplans/CHANGELOG.md b/service/autoscalingplans/CHANGELOG.md index 320b5dda5dd..12b7636c151 100644 --- a/service/autoscalingplans/CHANGELOG.md +++ b/service/autoscalingplans/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/autoscalingplans/api_client.go b/service/autoscalingplans/api_client.go index c1e8bfdf16b..ad7f3ec38cb 100644 --- a/service/autoscalingplans/api_client.go +++ b/service/autoscalingplans/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/autoscalingplans/go_module_metadata.go b/service/autoscalingplans/go_module_metadata.go index 5f261700f6a..29c89a373a4 100644 --- a/service/autoscalingplans/go_module_metadata.go +++ b/service/autoscalingplans/go_module_metadata.go @@ -3,4 +3,4 @@ package autoscalingplans // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/b2bi/CHANGELOG.md b/service/b2bi/CHANGELOG.md index beaf349ebea..d0bb25b6355 100644 --- a/service/b2bi/CHANGELOG.md +++ b/service/b2bi/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.0.0-preview.43 (2024-09-27) + +* No change notes available for this release. + # v1.0.0-preview.42 (2024-09-25) * No change notes available for this release. diff --git a/service/b2bi/api_client.go b/service/b2bi/api_client.go index f90181a7a10..d7a686b5f40 100644 --- a/service/b2bi/api_client.go +++ b/service/b2bi/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/b2bi/go_module_metadata.go b/service/b2bi/go_module_metadata.go index ece7d469961..10296f313ef 100644 --- a/service/b2bi/go_module_metadata.go +++ b/service/b2bi/go_module_metadata.go @@ -3,4 +3,4 @@ package b2bi // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.0.0-preview.42" +const goModuleVersion = "1.0.0-preview.43" diff --git a/service/backup/CHANGELOG.md b/service/backup/CHANGELOG.md index 1ea7e206ebc..2b3374b0348 100644 --- a/service/backup/CHANGELOG.md +++ b/service/backup/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.38.3 (2024-09-27) + +* No change notes available for this release. + # v1.38.2 (2024-09-25) * No change notes available for this release. diff --git a/service/backup/api_client.go b/service/backup/api_client.go index b3f39981f3d..c97d6ba86ff 100644 --- a/service/backup/api_client.go +++ b/service/backup/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/backup/go_module_metadata.go b/service/backup/go_module_metadata.go index a18a9bb0079..a881a15dc1f 100644 --- a/service/backup/go_module_metadata.go +++ b/service/backup/go_module_metadata.go @@ -3,4 +3,4 @@ package backup // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.38.2" +const goModuleVersion = "1.38.3" diff --git a/service/backupgateway/CHANGELOG.md b/service/backupgateway/CHANGELOG.md index 7de10808305..45708cbeda2 100644 --- a/service/backupgateway/CHANGELOG.md +++ b/service/backupgateway/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.19.3 (2024-09-27) + +* No change notes available for this release. + # v1.19.2 (2024-09-25) * No change notes available for this release. diff --git a/service/backupgateway/api_client.go b/service/backupgateway/api_client.go index cfb17ec29f7..3a2f6050097 100644 --- a/service/backupgateway/api_client.go +++ b/service/backupgateway/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/backupgateway/go_module_metadata.go b/service/backupgateway/go_module_metadata.go index 6d16f01e715..9dd5515ed1f 100644 --- a/service/backupgateway/go_module_metadata.go +++ b/service/backupgateway/go_module_metadata.go @@ -3,4 +3,4 @@ package backupgateway // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.2" +const goModuleVersion = "1.19.3" diff --git a/service/batch/CHANGELOG.md b/service/batch/CHANGELOG.md index ad03fd93eee..30664d9c274 100644 --- a/service/batch/CHANGELOG.md +++ b/service/batch/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.45.3 (2024-09-27) + +* No change notes available for this release. + # v1.45.2 (2024-09-25) * No change notes available for this release. diff --git a/service/batch/api_client.go b/service/batch/api_client.go index 839347251ec..bcb4c6ce7b2 100644 --- a/service/batch/api_client.go +++ b/service/batch/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/batch/go_module_metadata.go b/service/batch/go_module_metadata.go index 01180eb3b52..23a24adfa95 100644 --- a/service/batch/go_module_metadata.go +++ b/service/batch/go_module_metadata.go @@ -3,4 +3,4 @@ package batch // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.45.2" +const goModuleVersion = "1.45.3" diff --git a/service/bcmdataexports/CHANGELOG.md b/service/bcmdataexports/CHANGELOG.md index 0af5a518c0b..99249400829 100644 --- a/service/bcmdataexports/CHANGELOG.md +++ b/service/bcmdataexports/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.6.3 (2024-09-27) + +* No change notes available for this release. + # v1.6.2 (2024-09-25) * No change notes available for this release. diff --git a/service/bcmdataexports/api_client.go b/service/bcmdataexports/api_client.go index ab6f892da29..ef222d87c6e 100644 --- a/service/bcmdataexports/api_client.go +++ b/service/bcmdataexports/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/bcmdataexports/go_module_metadata.go b/service/bcmdataexports/go_module_metadata.go index 149b7c00635..7bd0ad89bea 100644 --- a/service/bcmdataexports/go_module_metadata.go +++ b/service/bcmdataexports/go_module_metadata.go @@ -3,4 +3,4 @@ package bcmdataexports // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.2" +const goModuleVersion = "1.6.3" diff --git a/service/bedrock/CHANGELOG.md b/service/bedrock/CHANGELOG.md index b7a6195116b..6bb72a17f42 100644 --- a/service/bedrock/CHANGELOG.md +++ b/service/bedrock/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.19.2 (2024-09-27) + +* No change notes available for this release. + # v1.19.1 (2024-09-25) * No change notes available for this release. diff --git a/service/bedrock/api_client.go b/service/bedrock/api_client.go index c8426d40c3c..306a85ca818 100644 --- a/service/bedrock/api_client.go +++ b/service/bedrock/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/bedrock/go_module_metadata.go b/service/bedrock/go_module_metadata.go index b8a62f8589f..81a48e06d3b 100644 --- a/service/bedrock/go_module_metadata.go +++ b/service/bedrock/go_module_metadata.go @@ -3,4 +3,4 @@ package bedrock // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.1" +const goModuleVersion = "1.19.2" diff --git a/service/bedrockagent/CHANGELOG.md b/service/bedrockagent/CHANGELOG.md index c76e107ec0a..0ce162e0720 100644 --- a/service/bedrockagent/CHANGELOG.md +++ b/service/bedrockagent/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.21.2 (2024-09-27) + +* No change notes available for this release. + # v1.21.1 (2024-09-25) * No change notes available for this release. diff --git a/service/bedrockagent/api_client.go b/service/bedrockagent/api_client.go index b2075999456..9fa77e172df 100644 --- a/service/bedrockagent/api_client.go +++ b/service/bedrockagent/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/bedrockagent/go_module_metadata.go b/service/bedrockagent/go_module_metadata.go index f2f5b0a9fef..db2973b938c 100644 --- a/service/bedrockagent/go_module_metadata.go +++ b/service/bedrockagent/go_module_metadata.go @@ -3,4 +3,4 @@ package bedrockagent // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.21.1" +const goModuleVersion = "1.21.2" diff --git a/service/bedrockagentruntime/CHANGELOG.md b/service/bedrockagentruntime/CHANGELOG.md index 09d9f1dabb3..59ebf56c94a 100644 --- a/service/bedrockagentruntime/CHANGELOG.md +++ b/service/bedrockagentruntime/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.20.3 (2024-09-27) + +* No change notes available for this release. + # v1.20.2 (2024-09-25) * No change notes available for this release. diff --git a/service/bedrockagentruntime/api_client.go b/service/bedrockagentruntime/api_client.go index 061b12b78b7..42f2512a934 100644 --- a/service/bedrockagentruntime/api_client.go +++ b/service/bedrockagentruntime/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/bedrockagentruntime/go_module_metadata.go b/service/bedrockagentruntime/go_module_metadata.go index 5b3ac381171..48cd0a994d4 100644 --- a/service/bedrockagentruntime/go_module_metadata.go +++ b/service/bedrockagentruntime/go_module_metadata.go @@ -3,4 +3,4 @@ package bedrockagentruntime // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.2" +const goModuleVersion = "1.20.3" diff --git a/service/bedrockruntime/CHANGELOG.md b/service/bedrockruntime/CHANGELOG.md index 6a27883c672..a5e15bcd3d2 100644 --- a/service/bedrockruntime/CHANGELOG.md +++ b/service/bedrockruntime/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.3 (2024-09-27) + +* No change notes available for this release. + # v1.17.2 (2024-09-25) * No change notes available for this release. diff --git a/service/bedrockruntime/api_client.go b/service/bedrockruntime/api_client.go index 3123d5dc31a..a9bbede73ea 100644 --- a/service/bedrockruntime/api_client.go +++ b/service/bedrockruntime/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/bedrockruntime/go_module_metadata.go b/service/bedrockruntime/go_module_metadata.go index 2e06151487b..6121ae55186 100644 --- a/service/bedrockruntime/go_module_metadata.go +++ b/service/bedrockruntime/go_module_metadata.go @@ -3,4 +3,4 @@ package bedrockruntime // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.2" +const goModuleVersion = "1.17.3" diff --git a/service/billingconductor/CHANGELOG.md b/service/billingconductor/CHANGELOG.md index dad1e3b6ea5..405f4287946 100644 --- a/service/billingconductor/CHANGELOG.md +++ b/service/billingconductor/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.19.3 (2024-09-27) + +* No change notes available for this release. + # v1.19.2 (2024-09-25) * No change notes available for this release. diff --git a/service/billingconductor/api_client.go b/service/billingconductor/api_client.go index 9f2b6af5a31..64a90667796 100644 --- a/service/billingconductor/api_client.go +++ b/service/billingconductor/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/billingconductor/go_module_metadata.go b/service/billingconductor/go_module_metadata.go index f662b3d9f98..ecdce93c28e 100644 --- a/service/billingconductor/go_module_metadata.go +++ b/service/billingconductor/go_module_metadata.go @@ -3,4 +3,4 @@ package billingconductor // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.2" +const goModuleVersion = "1.19.3" diff --git a/service/braket/CHANGELOG.md b/service/braket/CHANGELOG.md index a226577f16e..8960a1bf8c3 100644 --- a/service/braket/CHANGELOG.md +++ b/service/braket/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.30.3 (2024-09-27) + +* No change notes available for this release. + # v1.30.2 (2024-09-25) * No change notes available for this release. diff --git a/service/braket/api_client.go b/service/braket/api_client.go index 829f8483257..dddd904affe 100644 --- a/service/braket/api_client.go +++ b/service/braket/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/braket/go_module_metadata.go b/service/braket/go_module_metadata.go index 43a0bb23a96..ea211f2d9dd 100644 --- a/service/braket/go_module_metadata.go +++ b/service/braket/go_module_metadata.go @@ -3,4 +3,4 @@ package braket // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.30.2" +const goModuleVersion = "1.30.3" diff --git a/service/budgets/CHANGELOG.md b/service/budgets/CHANGELOG.md index 186d02f69eb..3173d627d40 100644 --- a/service/budgets/CHANGELOG.md +++ b/service/budgets/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.2 (2024-09-27) + +* No change notes available for this release. + # v1.27.1 (2024-09-25) * No change notes available for this release. diff --git a/service/budgets/api_client.go b/service/budgets/api_client.go index 0254fb6e6a5..0fccf815a5b 100644 --- a/service/budgets/api_client.go +++ b/service/budgets/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/budgets/go_module_metadata.go b/service/budgets/go_module_metadata.go index d79365104a1..b52c8e777c9 100644 --- a/service/budgets/go_module_metadata.go +++ b/service/budgets/go_module_metadata.go @@ -3,4 +3,4 @@ package budgets // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.1" +const goModuleVersion = "1.27.2" diff --git a/service/chatbot/CHANGELOG.md b/service/chatbot/CHANGELOG.md index ee3847ee7c0..330b66a42d7 100644 --- a/service/chatbot/CHANGELOG.md +++ b/service/chatbot/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.7.1 (2024-09-27) + +* No change notes available for this release. + +# v1.7.0 (2024-09-26) + +* **Feature**: Return State and StateReason fields for Chatbot Channel Configurations. + # v1.6.2 (2024-09-25) * No change notes available for this release. diff --git a/service/chatbot/api_client.go b/service/chatbot/api_client.go index 1865b3cdcef..2f34caf2834 100644 --- a/service/chatbot/api_client.go +++ b/service/chatbot/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/chatbot/deserializers.go b/service/chatbot/deserializers.go index 2cbb344d237..c3be23b26ae 100644 --- a/service/chatbot/deserializers.go +++ b/service/chatbot/deserializers.go @@ -4882,6 +4882,24 @@ func awsRestjson1_deserializeDocumentChimeWebhookConfiguration(v **types.ChimeWe return err } + case "State": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ResourceState to be of type string, got %T instead", value) + } + sv.State = ptr.String(jtv) + } + + case "StateReason": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.StateReason = ptr.String(jtv) + } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err @@ -4961,6 +4979,24 @@ func awsRestjson1_deserializeDocumentConfiguredTeam(v **types.ConfiguredTeam, va for key, value := range shape { switch key { + case "State": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ResourceState to be of type string, got %T instead", value) + } + sv.State = ptr.String(jtv) + } + + case "StateReason": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.StateReason = ptr.String(jtv) + } + case "TeamId": if value != nil { jtv, ok := value.(string) @@ -6211,6 +6247,24 @@ func awsRestjson1_deserializeDocumentSlackChannelConfiguration(v **types.SlackCh return err } + case "State": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ResourceState to be of type string, got %T instead", value) + } + sv.State = ptr.String(jtv) + } + + case "StateReason": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.StateReason = ptr.String(jtv) + } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err @@ -6418,6 +6472,24 @@ func awsRestjson1_deserializeDocumentSlackWorkspace(v **types.SlackWorkspace, va sv.SlackTeamName = ptr.String(jtv) } + case "State": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ResourceState to be of type string, got %T instead", value) + } + sv.State = ptr.String(jtv) + } + + case "StateReason": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.StateReason = ptr.String(jtv) + } + default: _, _ = key, value @@ -6734,6 +6806,24 @@ func awsRestjson1_deserializeDocumentTeamsChannelConfiguration(v **types.TeamsCh return err } + case "State": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ResourceState to be of type string, got %T instead", value) + } + sv.State = ptr.String(jtv) + } + + case "StateReason": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.StateReason = ptr.String(jtv) + } + case "Tags": if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err diff --git a/service/chatbot/go_module_metadata.go b/service/chatbot/go_module_metadata.go index 466aa334a27..05de0709b91 100644 --- a/service/chatbot/go_module_metadata.go +++ b/service/chatbot/go_module_metadata.go @@ -3,4 +3,4 @@ package chatbot // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.2" +const goModuleVersion = "1.7.1" diff --git a/service/chatbot/types/types.go b/service/chatbot/types/types.go index a7322f74632..6e8c9485c6f 100644 --- a/service/chatbot/types/types.go +++ b/service/chatbot/types/types.go @@ -67,6 +67,15 @@ type ChimeWebhookConfiguration struct { // Logging levels include ERROR , INFO , or NONE . LoggingLevel *string + // Either ENABLED or DISABLED . The resource returns DISABLED if the + // organization's AWS Chatbot policy has explicitly denied that configuration. For + // example, if Amazon Chime is disabled. + State *string + + // Provided if State is DISABLED . Provides context as to why the resource is + // disabled. + StateReason *string + // A map of tags assigned to a resource. A tag is a string-to-string map of // key-value pairs. Tags []Tag @@ -94,6 +103,15 @@ type ConfiguredTeam struct { // This member is required. TenantId *string + // Either ENABLED or DISABLED . The resource returns DISABLED if the + // organization's AWS Chatbot policy has explicitly denied that configuration. For + // example, if Amazon Chime is disabled. + State *string + + // Provided if State is DISABLED . Provides context as to why the resource is + // disabled. + StateReason *string + // The name of the Microsoft Teams Team. TeamName *string @@ -157,6 +175,15 @@ type SlackChannelConfiguration struct { // Logging levels include ERROR , INFO , or NONE . LoggingLevel *string + // Either ENABLED or DISABLED . The resource returns DISABLED if the + // organization's AWS Chatbot policy has explicitly denied that configuration. For + // example, if Amazon Chime is disabled. + State *string + + // Provided if State is DISABLED . Provides context as to why the resource is + // disabled. + StateReason *string + // A map of tags assigned to a resource. A tag is a string-to-string map of // key-value pairs. Tags []Tag @@ -215,6 +242,15 @@ type SlackWorkspace struct { // This member is required. SlackTeamName *string + // Either ENABLED or DISABLED . The resource returns DISABLED if the + // organization's AWS Chatbot policy has explicitly denied that configuration. For + // example, if Amazon Chime is disabled. + State *string + + // Provided if State is DISABLED . Provides context as to why the resource is + // disabled. + StateReason *string + noSmithyDocumentSerde } @@ -301,6 +337,15 @@ type TeamsChannelConfiguration struct { // Logging levels include ERROR , INFO , or NONE . LoggingLevel *string + // Either ENABLED or DISABLED . The resource returns DISABLED if the + // organization's AWS Chatbot policy has explicitly denied that configuration. For + // example, if Amazon Chime is disabled. + State *string + + // Provided if State is DISABLED . Provides context as to why the resource is + // disabled. + StateReason *string + // A map of tags assigned to a resource. A tag is a string-to-string map of // key-value pairs. Tags []Tag diff --git a/service/chime/CHANGELOG.md b/service/chime/CHANGELOG.md index e5592b75bc8..9d3e107198a 100644 --- a/service/chime/CHANGELOG.md +++ b/service/chime/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.33.3 (2024-09-27) + +* No change notes available for this release. + # v1.33.2 (2024-09-25) * No change notes available for this release. diff --git a/service/chime/api_client.go b/service/chime/api_client.go index f697d261b81..18a99273bda 100644 --- a/service/chime/api_client.go +++ b/service/chime/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/chime/go_module_metadata.go b/service/chime/go_module_metadata.go index d5bcfd3d4a9..02024fbf7b0 100644 --- a/service/chime/go_module_metadata.go +++ b/service/chime/go_module_metadata.go @@ -3,4 +3,4 @@ package chime // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.33.2" +const goModuleVersion = "1.33.3" diff --git a/service/chimesdkidentity/CHANGELOG.md b/service/chimesdkidentity/CHANGELOG.md index b12d110011c..54568afd724 100644 --- a/service/chimesdkidentity/CHANGELOG.md +++ b/service/chimesdkidentity/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.21.3 (2024-09-27) + +* No change notes available for this release. + # v1.21.2 (2024-09-25) * No change notes available for this release. diff --git a/service/chimesdkidentity/api_client.go b/service/chimesdkidentity/api_client.go index 4ef9fe50450..f70dde8a23c 100644 --- a/service/chimesdkidentity/api_client.go +++ b/service/chimesdkidentity/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/chimesdkidentity/go_module_metadata.go b/service/chimesdkidentity/go_module_metadata.go index 7387733632d..9b1cb6abe16 100644 --- a/service/chimesdkidentity/go_module_metadata.go +++ b/service/chimesdkidentity/go_module_metadata.go @@ -3,4 +3,4 @@ package chimesdkidentity // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.21.2" +const goModuleVersion = "1.21.3" diff --git a/service/chimesdkmediapipelines/CHANGELOG.md b/service/chimesdkmediapipelines/CHANGELOG.md index 35fdd579a6c..71b0fab116c 100644 --- a/service/chimesdkmediapipelines/CHANGELOG.md +++ b/service/chimesdkmediapipelines/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.19.3 (2024-09-27) + +* No change notes available for this release. + # v1.19.2 (2024-09-25) * No change notes available for this release. diff --git a/service/chimesdkmediapipelines/api_client.go b/service/chimesdkmediapipelines/api_client.go index 80eb77313f8..bf8b9d0d022 100644 --- a/service/chimesdkmediapipelines/api_client.go +++ b/service/chimesdkmediapipelines/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/chimesdkmediapipelines/go_module_metadata.go b/service/chimesdkmediapipelines/go_module_metadata.go index 0ef8686aa18..108a43d1c7f 100644 --- a/service/chimesdkmediapipelines/go_module_metadata.go +++ b/service/chimesdkmediapipelines/go_module_metadata.go @@ -3,4 +3,4 @@ package chimesdkmediapipelines // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.2" +const goModuleVersion = "1.19.3" diff --git a/service/chimesdkmeetings/CHANGELOG.md b/service/chimesdkmeetings/CHANGELOG.md index ce8cf21f67f..dfe3cc93e0f 100644 --- a/service/chimesdkmeetings/CHANGELOG.md +++ b/service/chimesdkmeetings/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/chimesdkmeetings/api_client.go b/service/chimesdkmeetings/api_client.go index f9d14e68373..6ba24130edb 100644 --- a/service/chimesdkmeetings/api_client.go +++ b/service/chimesdkmeetings/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/chimesdkmeetings/go_module_metadata.go b/service/chimesdkmeetings/go_module_metadata.go index b4195cc3f0a..52aff01bd25 100644 --- a/service/chimesdkmeetings/go_module_metadata.go +++ b/service/chimesdkmeetings/go_module_metadata.go @@ -3,4 +3,4 @@ package chimesdkmeetings // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/chimesdkmessaging/CHANGELOG.md b/service/chimesdkmessaging/CHANGELOG.md index 487dd1bebe6..16d8aa2b1bd 100644 --- a/service/chimesdkmessaging/CHANGELOG.md +++ b/service/chimesdkmessaging/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/chimesdkmessaging/api_client.go b/service/chimesdkmessaging/api_client.go index 13ea966f0d8..c34c3a21d5f 100644 --- a/service/chimesdkmessaging/api_client.go +++ b/service/chimesdkmessaging/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/chimesdkmessaging/go_module_metadata.go b/service/chimesdkmessaging/go_module_metadata.go index 3172d1e7dc8..44f8d032e3f 100644 --- a/service/chimesdkmessaging/go_module_metadata.go +++ b/service/chimesdkmessaging/go_module_metadata.go @@ -3,4 +3,4 @@ package chimesdkmessaging // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/chimesdkvoice/CHANGELOG.md b/service/chimesdkvoice/CHANGELOG.md index 6e4576eeef8..60f4b18e445 100644 --- a/service/chimesdkvoice/CHANGELOG.md +++ b/service/chimesdkvoice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.18.3 (2024-09-27) + +* No change notes available for this release. + # v1.18.2 (2024-09-25) * No change notes available for this release. diff --git a/service/chimesdkvoice/api_client.go b/service/chimesdkvoice/api_client.go index 96f42f6a6d1..be69c79281c 100644 --- a/service/chimesdkvoice/api_client.go +++ b/service/chimesdkvoice/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/chimesdkvoice/go_module_metadata.go b/service/chimesdkvoice/go_module_metadata.go index f8519bdf0a7..5f28b2d33c4 100644 --- a/service/chimesdkvoice/go_module_metadata.go +++ b/service/chimesdkvoice/go_module_metadata.go @@ -3,4 +3,4 @@ package chimesdkvoice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.2" +const goModuleVersion = "1.18.3" diff --git a/service/cleanrooms/CHANGELOG.md b/service/cleanrooms/CHANGELOG.md index e5cc9faffe0..83dc28abaaf 100644 --- a/service/cleanrooms/CHANGELOG.md +++ b/service/cleanrooms/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.3 (2024-09-27) + +* No change notes available for this release. + # v1.17.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cleanrooms/api_client.go b/service/cleanrooms/api_client.go index 6c38d7ea8e7..89888581ab2 100644 --- a/service/cleanrooms/api_client.go +++ b/service/cleanrooms/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cleanrooms/go_module_metadata.go b/service/cleanrooms/go_module_metadata.go index 84d444ae423..185386f199a 100644 --- a/service/cleanrooms/go_module_metadata.go +++ b/service/cleanrooms/go_module_metadata.go @@ -3,4 +3,4 @@ package cleanrooms // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.2" +const goModuleVersion = "1.17.3" diff --git a/service/cleanroomsml/CHANGELOG.md b/service/cleanroomsml/CHANGELOG.md index 2256e264d05..ee4f3307985 100644 --- a/service/cleanroomsml/CHANGELOG.md +++ b/service/cleanroomsml/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.8.3 (2024-09-27) + +* No change notes available for this release. + # v1.8.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cleanroomsml/api_client.go b/service/cleanroomsml/api_client.go index ba649135e40..61bcf5142cd 100644 --- a/service/cleanroomsml/api_client.go +++ b/service/cleanroomsml/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cleanroomsml/go_module_metadata.go b/service/cleanroomsml/go_module_metadata.go index bd5e56dd1ce..bee1d7c169f 100644 --- a/service/cleanroomsml/go_module_metadata.go +++ b/service/cleanroomsml/go_module_metadata.go @@ -3,4 +3,4 @@ package cleanroomsml // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.8.2" +const goModuleVersion = "1.8.3" diff --git a/service/cloud9/CHANGELOG.md b/service/cloud9/CHANGELOG.md index cade85597a1..0e82cc1978c 100644 --- a/service/cloud9/CHANGELOG.md +++ b/service/cloud9/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cloud9/api_client.go b/service/cloud9/api_client.go index 82d825cdd40..7a35e632e51 100644 --- a/service/cloud9/api_client.go +++ b/service/cloud9/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cloud9/go_module_metadata.go b/service/cloud9/go_module_metadata.go index 5197d51797d..dbc0530a566 100644 --- a/service/cloud9/go_module_metadata.go +++ b/service/cloud9/go_module_metadata.go @@ -3,4 +3,4 @@ package cloud9 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/cloudcontrol/CHANGELOG.md b/service/cloudcontrol/CHANGELOG.md index 71f97c2eb30..5d71f69ff33 100644 --- a/service/cloudcontrol/CHANGELOG.md +++ b/service/cloudcontrol/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.21.3 (2024-09-27) + +* No change notes available for this release. + # v1.21.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cloudcontrol/api_client.go b/service/cloudcontrol/api_client.go index 5d8b31c6bac..8ae81e9a6d4 100644 --- a/service/cloudcontrol/api_client.go +++ b/service/cloudcontrol/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cloudcontrol/go_module_metadata.go b/service/cloudcontrol/go_module_metadata.go index e5d7555c979..ee37f5e7b49 100644 --- a/service/cloudcontrol/go_module_metadata.go +++ b/service/cloudcontrol/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudcontrol // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.21.2" +const goModuleVersion = "1.21.3" diff --git a/service/clouddirectory/CHANGELOG.md b/service/clouddirectory/CHANGELOG.md index e8ea677ca5e..378dd88309c 100644 --- a/service/clouddirectory/CHANGELOG.md +++ b/service/clouddirectory/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/clouddirectory/api_client.go b/service/clouddirectory/api_client.go index 371fe43107c..6f552df78b7 100644 --- a/service/clouddirectory/api_client.go +++ b/service/clouddirectory/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/clouddirectory/go_module_metadata.go b/service/clouddirectory/go_module_metadata.go index cf9d92eb54b..a86c18e29a3 100644 --- a/service/clouddirectory/go_module_metadata.go +++ b/service/clouddirectory/go_module_metadata.go @@ -3,4 +3,4 @@ package clouddirectory // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/cloudformation/CHANGELOG.md b/service/cloudformation/CHANGELOG.md index baefb711833..5d7c55ec4a3 100644 --- a/service/cloudformation/CHANGELOG.md +++ b/service/cloudformation/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.54.3 (2024-09-27) + +* No change notes available for this release. + # v1.54.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cloudformation/api_client.go b/service/cloudformation/api_client.go index 8d9dbcf8a66..5585057902d 100644 --- a/service/cloudformation/api_client.go +++ b/service/cloudformation/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cloudformation/go_module_metadata.go b/service/cloudformation/go_module_metadata.go index 6f693306c0b..be7c8cbea43 100644 --- a/service/cloudformation/go_module_metadata.go +++ b/service/cloudformation/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudformation // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.54.2" +const goModuleVersion = "1.54.3" diff --git a/service/cloudfront/CHANGELOG.md b/service/cloudfront/CHANGELOG.md index 1c90f04667d..149eb78ab08 100644 --- a/service/cloudfront/CHANGELOG.md +++ b/service/cloudfront/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.39.3 (2024-09-27) + +* No change notes available for this release. + # v1.39.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cloudfront/api_client.go b/service/cloudfront/api_client.go index ccbc3c68cb9..4ac8ddba3ad 100644 --- a/service/cloudfront/api_client.go +++ b/service/cloudfront/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cloudfront/go_module_metadata.go b/service/cloudfront/go_module_metadata.go index bbb60758f2b..49540d5863d 100644 --- a/service/cloudfront/go_module_metadata.go +++ b/service/cloudfront/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudfront // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.39.2" +const goModuleVersion = "1.39.3" diff --git a/service/cloudfrontkeyvaluestore/CHANGELOG.md b/service/cloudfrontkeyvaluestore/CHANGELOG.md index dc3a0ce97ad..1ca7fac85a4 100644 --- a/service/cloudfrontkeyvaluestore/CHANGELOG.md +++ b/service/cloudfrontkeyvaluestore/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.7.3 (2024-09-27) + +* No change notes available for this release. + # v1.7.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cloudfrontkeyvaluestore/api_client.go b/service/cloudfrontkeyvaluestore/api_client.go index 07e8e3f9ef2..3363179d499 100644 --- a/service/cloudfrontkeyvaluestore/api_client.go +++ b/service/cloudfrontkeyvaluestore/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveHTTPSignerV4a(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cloudfrontkeyvaluestore/go_module_metadata.go b/service/cloudfrontkeyvaluestore/go_module_metadata.go index f6ff36f6fe9..c28804d7800 100644 --- a/service/cloudfrontkeyvaluestore/go_module_metadata.go +++ b/service/cloudfrontkeyvaluestore/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudfrontkeyvaluestore // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.7.2" +const goModuleVersion = "1.7.3" diff --git a/service/cloudhsm/CHANGELOG.md b/service/cloudhsm/CHANGELOG.md index cf8f30f0d7e..04637ea421a 100644 --- a/service/cloudhsm/CHANGELOG.md +++ b/service/cloudhsm/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cloudhsm/api_client.go b/service/cloudhsm/api_client.go index 0d7effb3fe4..e2168d1fd33 100644 --- a/service/cloudhsm/api_client.go +++ b/service/cloudhsm/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cloudhsm/go_module_metadata.go b/service/cloudhsm/go_module_metadata.go index 6c26e79efea..1f57e8430c0 100644 --- a/service/cloudhsm/go_module_metadata.go +++ b/service/cloudhsm/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudhsm // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/cloudhsmv2/CHANGELOG.md b/service/cloudhsmv2/CHANGELOG.md index 8c88246d970..3b504395eee 100644 --- a/service/cloudhsmv2/CHANGELOG.md +++ b/service/cloudhsmv2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cloudhsmv2/api_client.go b/service/cloudhsmv2/api_client.go index 738bb669e01..b65316b9954 100644 --- a/service/cloudhsmv2/api_client.go +++ b/service/cloudhsmv2/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cloudhsmv2/go_module_metadata.go b/service/cloudhsmv2/go_module_metadata.go index b131ff7e3ce..b500ca9153a 100644 --- a/service/cloudhsmv2/go_module_metadata.go +++ b/service/cloudhsmv2/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudhsmv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/cloudsearch/CHANGELOG.md b/service/cloudsearch/CHANGELOG.md index 9dd3e93ef1d..14de816698f 100644 --- a/service/cloudsearch/CHANGELOG.md +++ b/service/cloudsearch/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cloudsearch/api_client.go b/service/cloudsearch/api_client.go index d0f9dc1e3e3..95a903259bb 100644 --- a/service/cloudsearch/api_client.go +++ b/service/cloudsearch/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cloudsearch/go_module_metadata.go b/service/cloudsearch/go_module_metadata.go index 00e8a881cbe..c22a9109a5d 100644 --- a/service/cloudsearch/go_module_metadata.go +++ b/service/cloudsearch/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudsearch // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/cloudsearchdomain/CHANGELOG.md b/service/cloudsearchdomain/CHANGELOG.md index 34bdd655830..9ba447fe171 100644 --- a/service/cloudsearchdomain/CHANGELOG.md +++ b/service/cloudsearchdomain/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cloudsearchdomain/api_client.go b/service/cloudsearchdomain/api_client.go index 8749acd4d99..176c62cbd8f 100644 --- a/service/cloudsearchdomain/api_client.go +++ b/service/cloudsearchdomain/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cloudsearchdomain/go_module_metadata.go b/service/cloudsearchdomain/go_module_metadata.go index 835d468ba4d..91e2cd7cb0d 100644 --- a/service/cloudsearchdomain/go_module_metadata.go +++ b/service/cloudsearchdomain/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudsearchdomain // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/cloudtrail/CHANGELOG.md b/service/cloudtrail/CHANGELOG.md index b883249a5b5..1e4f0bd1bdf 100644 --- a/service/cloudtrail/CHANGELOG.md +++ b/service/cloudtrail/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.43.3 (2024-09-27) + +* No change notes available for this release. + # v1.43.2 (2024-09-25) * **Documentation**: Doc-only update for CloudTrail network activity events release (in preview) diff --git a/service/cloudtrail/api_client.go b/service/cloudtrail/api_client.go index 454d65efd08..20e8a02d13e 100644 --- a/service/cloudtrail/api_client.go +++ b/service/cloudtrail/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cloudtrail/go_module_metadata.go b/service/cloudtrail/go_module_metadata.go index 838f18a63d4..c4f7a93818d 100644 --- a/service/cloudtrail/go_module_metadata.go +++ b/service/cloudtrail/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudtrail // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.43.2" +const goModuleVersion = "1.43.3" diff --git a/service/cloudtraildata/CHANGELOG.md b/service/cloudtraildata/CHANGELOG.md index a99db8abca9..9a40ffd3c90 100644 --- a/service/cloudtraildata/CHANGELOG.md +++ b/service/cloudtraildata/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.10.3 (2024-09-27) + +* No change notes available for this release. + # v1.10.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cloudtraildata/api_client.go b/service/cloudtraildata/api_client.go index a5154b3324b..417a8eec619 100644 --- a/service/cloudtraildata/api_client.go +++ b/service/cloudtraildata/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cloudtraildata/go_module_metadata.go b/service/cloudtraildata/go_module_metadata.go index 0a726c566a4..c14a3f70574 100644 --- a/service/cloudtraildata/go_module_metadata.go +++ b/service/cloudtraildata/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudtraildata // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.10.2" +const goModuleVersion = "1.10.3" diff --git a/service/cloudwatch/CHANGELOG.md b/service/cloudwatch/CHANGELOG.md index 3acc4fd6f50..dd0ee05a1e7 100644 --- a/service/cloudwatch/CHANGELOG.md +++ b/service/cloudwatch/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.41.3 (2024-09-27) + +* No change notes available for this release. + # v1.41.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cloudwatch/api_client.go b/service/cloudwatch/api_client.go index a32b9c25803..17c816b4643 100644 --- a/service/cloudwatch/api_client.go +++ b/service/cloudwatch/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cloudwatch/go_module_metadata.go b/service/cloudwatch/go_module_metadata.go index 2b80cee7a53..96aa54e34b3 100644 --- a/service/cloudwatch/go_module_metadata.go +++ b/service/cloudwatch/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudwatch // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.41.2" +const goModuleVersion = "1.41.3" diff --git a/service/cloudwatchevents/CHANGELOG.md b/service/cloudwatchevents/CHANGELOG.md index dceea06649b..8b28c965c1d 100644 --- a/service/cloudwatchevents/CHANGELOG.md +++ b/service/cloudwatchevents/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cloudwatchevents/api_client.go b/service/cloudwatchevents/api_client.go index b38ba2400ee..8507a27e582 100644 --- a/service/cloudwatchevents/api_client.go +++ b/service/cloudwatchevents/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cloudwatchevents/go_module_metadata.go b/service/cloudwatchevents/go_module_metadata.go index aa7f187b518..1617535a622 100644 --- a/service/cloudwatchevents/go_module_metadata.go +++ b/service/cloudwatchevents/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudwatchevents // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/cloudwatchlogs/CHANGELOG.md b/service/cloudwatchlogs/CHANGELOG.md index d4236f497c4..f782e2ae4b8 100644 --- a/service/cloudwatchlogs/CHANGELOG.md +++ b/service/cloudwatchlogs/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.40.3 (2024-09-27) + +* No change notes available for this release. + # v1.40.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cloudwatchlogs/api_client.go b/service/cloudwatchlogs/api_client.go index 5af89ad4d8a..561e6cb326f 100644 --- a/service/cloudwatchlogs/api_client.go +++ b/service/cloudwatchlogs/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cloudwatchlogs/go_module_metadata.go b/service/cloudwatchlogs/go_module_metadata.go index 7ed2ffc7ec2..188dae1d3b8 100644 --- a/service/cloudwatchlogs/go_module_metadata.go +++ b/service/cloudwatchlogs/go_module_metadata.go @@ -3,4 +3,4 @@ package cloudwatchlogs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.40.2" +const goModuleVersion = "1.40.3" diff --git a/service/codeartifact/CHANGELOG.md b/service/codeartifact/CHANGELOG.md index 3bdf1266507..5e0edc67d61 100644 --- a/service/codeartifact/CHANGELOG.md +++ b/service/codeartifact/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.31.3 (2024-09-27) + +* No change notes available for this release. + # v1.31.2 (2024-09-25) * No change notes available for this release. diff --git a/service/codeartifact/api_client.go b/service/codeartifact/api_client.go index ed240990f2f..797181b5cf9 100644 --- a/service/codeartifact/api_client.go +++ b/service/codeartifact/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/codeartifact/go_module_metadata.go b/service/codeartifact/go_module_metadata.go index d51046a4a93..e5e6ff3a43f 100644 --- a/service/codeartifact/go_module_metadata.go +++ b/service/codeartifact/go_module_metadata.go @@ -3,4 +3,4 @@ package codeartifact // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.31.2" +const goModuleVersion = "1.31.3" diff --git a/service/codebuild/CHANGELOG.md b/service/codebuild/CHANGELOG.md index ee3f14b16a4..0d5591d834e 100644 --- a/service/codebuild/CHANGELOG.md +++ b/service/codebuild/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.44.3 (2024-09-27) + +* No change notes available for this release. + # v1.44.2 (2024-09-25) * No change notes available for this release. diff --git a/service/codebuild/api_client.go b/service/codebuild/api_client.go index c4779f03a0e..b3d7bf7672a 100644 --- a/service/codebuild/api_client.go +++ b/service/codebuild/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/codebuild/go_module_metadata.go b/service/codebuild/go_module_metadata.go index 9df0d5b3497..8d3e2c9f57c 100644 --- a/service/codebuild/go_module_metadata.go +++ b/service/codebuild/go_module_metadata.go @@ -3,4 +3,4 @@ package codebuild // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.44.2" +const goModuleVersion = "1.44.3" diff --git a/service/codecatalyst/CHANGELOG.md b/service/codecatalyst/CHANGELOG.md index 5b24c893c2d..684933cf37d 100644 --- a/service/codecatalyst/CHANGELOG.md +++ b/service/codecatalyst/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.3 (2024-09-27) + +* No change notes available for this release. + # v1.16.2 (2024-09-25) * No change notes available for this release. diff --git a/service/codecatalyst/api_client.go b/service/codecatalyst/api_client.go index 56298cde6e5..c005fbc8d67 100644 --- a/service/codecatalyst/api_client.go +++ b/service/codecatalyst/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveBearerAuthSigner(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/codecatalyst/go_module_metadata.go b/service/codecatalyst/go_module_metadata.go index bed0e517d99..f017ee5ca8a 100644 --- a/service/codecatalyst/go_module_metadata.go +++ b/service/codecatalyst/go_module_metadata.go @@ -3,4 +3,4 @@ package codecatalyst // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.2" +const goModuleVersion = "1.16.3" diff --git a/service/codecommit/CHANGELOG.md b/service/codecommit/CHANGELOG.md index 307d12bedd4..15ed1c60862 100644 --- a/service/codecommit/CHANGELOG.md +++ b/service/codecommit/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/codecommit/api_client.go b/service/codecommit/api_client.go index 587301316f0..7fd68950710 100644 --- a/service/codecommit/api_client.go +++ b/service/codecommit/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/codecommit/go_module_metadata.go b/service/codecommit/go_module_metadata.go index 25207072082..67783de5be1 100644 --- a/service/codecommit/go_module_metadata.go +++ b/service/codecommit/go_module_metadata.go @@ -3,4 +3,4 @@ package codecommit // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/codeconnections/CHANGELOG.md b/service/codeconnections/CHANGELOG.md index 7aaf2e9a329..2f3513259c9 100644 --- a/service/codeconnections/CHANGELOG.md +++ b/service/codeconnections/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.4.3 (2024-09-27) + +* No change notes available for this release. + # v1.4.2 (2024-09-25) * No change notes available for this release. diff --git a/service/codeconnections/api_client.go b/service/codeconnections/api_client.go index b0d9015fb51..d3c38d25037 100644 --- a/service/codeconnections/api_client.go +++ b/service/codeconnections/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/codeconnections/go_module_metadata.go b/service/codeconnections/go_module_metadata.go index a3cb393a504..88818a14b9b 100644 --- a/service/codeconnections/go_module_metadata.go +++ b/service/codeconnections/go_module_metadata.go @@ -3,4 +3,4 @@ package codeconnections // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.4.2" +const goModuleVersion = "1.4.3" diff --git a/service/codedeploy/CHANGELOG.md b/service/codedeploy/CHANGELOG.md index 06738dfd980..866b85efc5d 100644 --- a/service/codedeploy/CHANGELOG.md +++ b/service/codedeploy/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/codedeploy/api_client.go b/service/codedeploy/api_client.go index 5c47eba070c..2818b711269 100644 --- a/service/codedeploy/api_client.go +++ b/service/codedeploy/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/codedeploy/go_module_metadata.go b/service/codedeploy/go_module_metadata.go index 14bdb23b26c..d19b3df3447 100644 --- a/service/codedeploy/go_module_metadata.go +++ b/service/codedeploy/go_module_metadata.go @@ -3,4 +3,4 @@ package codedeploy // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/codeguruprofiler/CHANGELOG.md b/service/codeguruprofiler/CHANGELOG.md index 995534ffc3b..52c97d6f4ee 100644 --- a/service/codeguruprofiler/CHANGELOG.md +++ b/service/codeguruprofiler/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/codeguruprofiler/api_client.go b/service/codeguruprofiler/api_client.go index b766e9c0916..825a50aa2a8 100644 --- a/service/codeguruprofiler/api_client.go +++ b/service/codeguruprofiler/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/codeguruprofiler/go_module_metadata.go b/service/codeguruprofiler/go_module_metadata.go index bfab664b3d2..e818d38d940 100644 --- a/service/codeguruprofiler/go_module_metadata.go +++ b/service/codeguruprofiler/go_module_metadata.go @@ -3,4 +3,4 @@ package codeguruprofiler // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/codegurureviewer/CHANGELOG.md b/service/codegurureviewer/CHANGELOG.md index a273b577fdf..7136bdf29cb 100644 --- a/service/codegurureviewer/CHANGELOG.md +++ b/service/codegurureviewer/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/codegurureviewer/api_client.go b/service/codegurureviewer/api_client.go index f47deb855f3..f7b3d7255ce 100644 --- a/service/codegurureviewer/api_client.go +++ b/service/codegurureviewer/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/codegurureviewer/go_module_metadata.go b/service/codegurureviewer/go_module_metadata.go index ca8323ce5a6..25587889524 100644 --- a/service/codegurureviewer/go_module_metadata.go +++ b/service/codegurureviewer/go_module_metadata.go @@ -3,4 +3,4 @@ package codegurureviewer // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/codegurusecurity/CHANGELOG.md b/service/codegurusecurity/CHANGELOG.md index e757f0d369a..7968ae00afe 100644 --- a/service/codegurusecurity/CHANGELOG.md +++ b/service/codegurusecurity/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.3 (2024-09-27) + +* No change notes available for this release. + # v1.11.2 (2024-09-25) * No change notes available for this release. diff --git a/service/codegurusecurity/api_client.go b/service/codegurusecurity/api_client.go index e7550df7c69..de3a88ec9e6 100644 --- a/service/codegurusecurity/api_client.go +++ b/service/codegurusecurity/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/codegurusecurity/go_module_metadata.go b/service/codegurusecurity/go_module_metadata.go index 97ba7ac478a..d21bce4f69b 100644 --- a/service/codegurusecurity/go_module_metadata.go +++ b/service/codegurusecurity/go_module_metadata.go @@ -3,4 +3,4 @@ package codegurusecurity // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.2" +const goModuleVersion = "1.11.3" diff --git a/service/codepipeline/CHANGELOG.md b/service/codepipeline/CHANGELOG.md index 3cc01126e2f..c50236acd8d 100644 --- a/service/codepipeline/CHANGELOG.md +++ b/service/codepipeline/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.32.3 (2024-09-27) + +* No change notes available for this release. + # v1.32.2 (2024-09-25) * No change notes available for this release. diff --git a/service/codepipeline/api_client.go b/service/codepipeline/api_client.go index 4be215e40ed..88abbad963c 100644 --- a/service/codepipeline/api_client.go +++ b/service/codepipeline/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/codepipeline/go_module_metadata.go b/service/codepipeline/go_module_metadata.go index a90eeccff32..99f0a2153b5 100644 --- a/service/codepipeline/go_module_metadata.go +++ b/service/codepipeline/go_module_metadata.go @@ -3,4 +3,4 @@ package codepipeline // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.32.2" +const goModuleVersion = "1.32.3" diff --git a/service/codestarconnections/CHANGELOG.md b/service/codestarconnections/CHANGELOG.md index 926b50cfd82..d6856ce5cfb 100644 --- a/service/codestarconnections/CHANGELOG.md +++ b/service/codestarconnections/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/codestarconnections/api_client.go b/service/codestarconnections/api_client.go index 160893117d5..d2de3a6672e 100644 --- a/service/codestarconnections/api_client.go +++ b/service/codestarconnections/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/codestarconnections/go_module_metadata.go b/service/codestarconnections/go_module_metadata.go index 45d1aa24b4f..cb243b19ab8 100644 --- a/service/codestarconnections/go_module_metadata.go +++ b/service/codestarconnections/go_module_metadata.go @@ -3,4 +3,4 @@ package codestarconnections // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/codestarnotifications/CHANGELOG.md b/service/codestarnotifications/CHANGELOG.md index 0d674ec1358..ef0d1399a71 100644 --- a/service/codestarnotifications/CHANGELOG.md +++ b/service/codestarnotifications/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/codestarnotifications/api_client.go b/service/codestarnotifications/api_client.go index d36b121c67d..724b03eca60 100644 --- a/service/codestarnotifications/api_client.go +++ b/service/codestarnotifications/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/codestarnotifications/go_module_metadata.go b/service/codestarnotifications/go_module_metadata.go index 6dc95f0ba1a..bb78db24ae8 100644 --- a/service/codestarnotifications/go_module_metadata.go +++ b/service/codestarnotifications/go_module_metadata.go @@ -3,4 +3,4 @@ package codestarnotifications // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/cognitoidentity/CHANGELOG.md b/service/cognitoidentity/CHANGELOG.md index 60658173d5e..1720732a0a4 100644 --- a/service/cognitoidentity/CHANGELOG.md +++ b/service/cognitoidentity/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cognitoidentity/api_client.go b/service/cognitoidentity/api_client.go index cf65373febe..556a0fbc590 100644 --- a/service/cognitoidentity/api_client.go +++ b/service/cognitoidentity/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cognitoidentity/go_module_metadata.go b/service/cognitoidentity/go_module_metadata.go index 836ad40deee..541afc2a7a3 100644 --- a/service/cognitoidentity/go_module_metadata.go +++ b/service/cognitoidentity/go_module_metadata.go @@ -3,4 +3,4 @@ package cognitoidentity // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/cognitoidentityprovider/CHANGELOG.md b/service/cognitoidentityprovider/CHANGELOG.md index 0b5388504a4..e13b2aa79ec 100644 --- a/service/cognitoidentityprovider/CHANGELOG.md +++ b/service/cognitoidentityprovider/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.45.3 (2024-09-27) + +* No change notes available for this release. + # v1.45.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cognitoidentityprovider/api_client.go b/service/cognitoidentityprovider/api_client.go index 5954a9f77da..8b3c0b364ab 100644 --- a/service/cognitoidentityprovider/api_client.go +++ b/service/cognitoidentityprovider/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cognitoidentityprovider/go_module_metadata.go b/service/cognitoidentityprovider/go_module_metadata.go index 04ecf23b316..d8d04ea8711 100644 --- a/service/cognitoidentityprovider/go_module_metadata.go +++ b/service/cognitoidentityprovider/go_module_metadata.go @@ -3,4 +3,4 @@ package cognitoidentityprovider // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.45.2" +const goModuleVersion = "1.45.3" diff --git a/service/cognitosync/CHANGELOG.md b/service/cognitosync/CHANGELOG.md index 34bdd655830..9ba447fe171 100644 --- a/service/cognitosync/CHANGELOG.md +++ b/service/cognitosync/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/cognitosync/api_client.go b/service/cognitosync/api_client.go index 6bf118071f5..39ba69e0689 100644 --- a/service/cognitosync/api_client.go +++ b/service/cognitosync/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/cognitosync/go_module_metadata.go b/service/cognitosync/go_module_metadata.go index 7cc868d4157..dcc5c6f56ef 100644 --- a/service/cognitosync/go_module_metadata.go +++ b/service/cognitosync/go_module_metadata.go @@ -3,4 +3,4 @@ package cognitosync // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/comprehend/CHANGELOG.md b/service/comprehend/CHANGELOG.md index dcb3a41ccad..9ca95a6d900 100644 --- a/service/comprehend/CHANGELOG.md +++ b/service/comprehend/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.34.3 (2024-09-27) + +* No change notes available for this release. + # v1.34.2 (2024-09-25) * No change notes available for this release. diff --git a/service/comprehend/api_client.go b/service/comprehend/api_client.go index ab09b229113..55f10bf2db2 100644 --- a/service/comprehend/api_client.go +++ b/service/comprehend/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/comprehend/go_module_metadata.go b/service/comprehend/go_module_metadata.go index f4eac8ccfbf..ce900b52c3b 100644 --- a/service/comprehend/go_module_metadata.go +++ b/service/comprehend/go_module_metadata.go @@ -3,4 +3,4 @@ package comprehend // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.34.2" +const goModuleVersion = "1.34.3" diff --git a/service/comprehendmedical/CHANGELOG.md b/service/comprehendmedical/CHANGELOG.md index 2d30375648f..7f9ae6e6df0 100644 --- a/service/comprehendmedical/CHANGELOG.md +++ b/service/comprehendmedical/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/comprehendmedical/api_client.go b/service/comprehendmedical/api_client.go index 9b8f6a56e0f..7df5a0c9544 100644 --- a/service/comprehendmedical/api_client.go +++ b/service/comprehendmedical/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/comprehendmedical/go_module_metadata.go b/service/comprehendmedical/go_module_metadata.go index f8aa8aafca1..d2edba2332b 100644 --- a/service/comprehendmedical/go_module_metadata.go +++ b/service/comprehendmedical/go_module_metadata.go @@ -3,4 +3,4 @@ package comprehendmedical // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/computeoptimizer/CHANGELOG.md b/service/computeoptimizer/CHANGELOG.md index 171cd2d5ff3..71e92240089 100644 --- a/service/computeoptimizer/CHANGELOG.md +++ b/service/computeoptimizer/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.38.3 (2024-09-27) + +* No change notes available for this release. + # v1.38.2 (2024-09-25) * No change notes available for this release. diff --git a/service/computeoptimizer/api_client.go b/service/computeoptimizer/api_client.go index 6dc16077caf..01d25407f7f 100644 --- a/service/computeoptimizer/api_client.go +++ b/service/computeoptimizer/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/computeoptimizer/go_module_metadata.go b/service/computeoptimizer/go_module_metadata.go index 50211fea72b..47095e7b5d5 100644 --- a/service/computeoptimizer/go_module_metadata.go +++ b/service/computeoptimizer/go_module_metadata.go @@ -3,4 +3,4 @@ package computeoptimizer // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.38.2" +const goModuleVersion = "1.38.3" diff --git a/service/configservice/CHANGELOG.md b/service/configservice/CHANGELOG.md index 3442f531520..882f7aee762 100644 --- a/service/configservice/CHANGELOG.md +++ b/service/configservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.49.3 (2024-09-27) + +* No change notes available for this release. + # v1.49.2 (2024-09-25) * No change notes available for this release. diff --git a/service/configservice/api_client.go b/service/configservice/api_client.go index 947cc57c609..bf853a6fe4b 100644 --- a/service/configservice/api_client.go +++ b/service/configservice/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/configservice/go_module_metadata.go b/service/configservice/go_module_metadata.go index 536f791f2e5..ba15c41ee95 100644 --- a/service/configservice/go_module_metadata.go +++ b/service/configservice/go_module_metadata.go @@ -3,4 +3,4 @@ package configservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.49.2" +const goModuleVersion = "1.49.3" diff --git a/service/connect/CHANGELOG.md b/service/connect/CHANGELOG.md index 3b8b9ab7ba8..f5b4155789c 100644 --- a/service/connect/CHANGELOG.md +++ b/service/connect/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.110.3 (2024-09-27) + +* No change notes available for this release. + # v1.110.2 (2024-09-25) * No change notes available for this release. diff --git a/service/connect/api_client.go b/service/connect/api_client.go index 768544ed571..13f97351d3e 100644 --- a/service/connect/api_client.go +++ b/service/connect/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/connect/go_module_metadata.go b/service/connect/go_module_metadata.go index 9e0c80e2ea2..8a74a1fa2fa 100644 --- a/service/connect/go_module_metadata.go +++ b/service/connect/go_module_metadata.go @@ -3,4 +3,4 @@ package connect // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.110.2" +const goModuleVersion = "1.110.3" diff --git a/service/connectcampaigns/CHANGELOG.md b/service/connectcampaigns/CHANGELOG.md index 9b50e753fe7..9bbf05a7d87 100644 --- a/service/connectcampaigns/CHANGELOG.md +++ b/service/connectcampaigns/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.3 (2024-09-27) + +* No change notes available for this release. + # v1.14.2 (2024-09-25) * No change notes available for this release. diff --git a/service/connectcampaigns/api_client.go b/service/connectcampaigns/api_client.go index 15a0a8de902..1e08f142c20 100644 --- a/service/connectcampaigns/api_client.go +++ b/service/connectcampaigns/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/connectcampaigns/go_module_metadata.go b/service/connectcampaigns/go_module_metadata.go index 711b179d520..3d07fc16c68 100644 --- a/service/connectcampaigns/go_module_metadata.go +++ b/service/connectcampaigns/go_module_metadata.go @@ -3,4 +3,4 @@ package connectcampaigns // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.2" +const goModuleVersion = "1.14.3" diff --git a/service/connectcases/CHANGELOG.md b/service/connectcases/CHANGELOG.md index c9e8111495e..ef8a8edd26b 100644 --- a/service/connectcases/CHANGELOG.md +++ b/service/connectcases/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.20.3 (2024-09-27) + +* No change notes available for this release. + # v1.20.2 (2024-09-25) * No change notes available for this release. diff --git a/service/connectcases/api_client.go b/service/connectcases/api_client.go index 0f42601d637..6a9e388a71b 100644 --- a/service/connectcases/api_client.go +++ b/service/connectcases/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/connectcases/go_module_metadata.go b/service/connectcases/go_module_metadata.go index 1a086beaedc..7c7dbc2780a 100644 --- a/service/connectcases/go_module_metadata.go +++ b/service/connectcases/go_module_metadata.go @@ -3,4 +3,4 @@ package connectcases // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.2" +const goModuleVersion = "1.20.3" diff --git a/service/connectcontactlens/CHANGELOG.md b/service/connectcontactlens/CHANGELOG.md index d9dfc2dd78c..8f5503e8789 100644 --- a/service/connectcontactlens/CHANGELOG.md +++ b/service/connectcontactlens/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/connectcontactlens/api_client.go b/service/connectcontactlens/api_client.go index 9977f764702..482d5dc6a1b 100644 --- a/service/connectcontactlens/api_client.go +++ b/service/connectcontactlens/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/connectcontactlens/go_module_metadata.go b/service/connectcontactlens/go_module_metadata.go index a2be56ac692..43a8d0ac932 100644 --- a/service/connectcontactlens/go_module_metadata.go +++ b/service/connectcontactlens/go_module_metadata.go @@ -3,4 +3,4 @@ package connectcontactlens // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/connectparticipant/CHANGELOG.md b/service/connectparticipant/CHANGELOG.md index a727b44bab7..ff157e28206 100644 --- a/service/connectparticipant/CHANGELOG.md +++ b/service/connectparticipant/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/connectparticipant/api_client.go b/service/connectparticipant/api_client.go index 347138a437e..bc56c54625e 100644 --- a/service/connectparticipant/api_client.go +++ b/service/connectparticipant/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/connectparticipant/go_module_metadata.go b/service/connectparticipant/go_module_metadata.go index f243a8e1102..5152ae13be0 100644 --- a/service/connectparticipant/go_module_metadata.go +++ b/service/connectparticipant/go_module_metadata.go @@ -3,4 +3,4 @@ package connectparticipant // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/controlcatalog/CHANGELOG.md b/service/controlcatalog/CHANGELOG.md index 05a096e0d75..235c8a18c1f 100644 --- a/service/controlcatalog/CHANGELOG.md +++ b/service/controlcatalog/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.4.3 (2024-09-27) + +* No change notes available for this release. + # v1.4.2 (2024-09-25) * No change notes available for this release. diff --git a/service/controlcatalog/api_client.go b/service/controlcatalog/api_client.go index 715e3b0c83a..2c8ed057289 100644 --- a/service/controlcatalog/api_client.go +++ b/service/controlcatalog/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/controlcatalog/go_module_metadata.go b/service/controlcatalog/go_module_metadata.go index b21784d9ea3..8047846ad32 100644 --- a/service/controlcatalog/go_module_metadata.go +++ b/service/controlcatalog/go_module_metadata.go @@ -3,4 +3,4 @@ package controlcatalog // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.4.2" +const goModuleVersion = "1.4.3" diff --git a/service/controltower/CHANGELOG.md b/service/controltower/CHANGELOG.md index 4397869adf2..e17deddf534 100644 --- a/service/controltower/CHANGELOG.md +++ b/service/controltower/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.3 (2024-09-27) + +* No change notes available for this release. + # v1.17.2 (2024-09-25) * No change notes available for this release. diff --git a/service/controltower/api_client.go b/service/controltower/api_client.go index 68531e8cbc9..6ee0e5a1120 100644 --- a/service/controltower/api_client.go +++ b/service/controltower/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/controltower/go_module_metadata.go b/service/controltower/go_module_metadata.go index 66f4930fa24..65561a411cb 100644 --- a/service/controltower/go_module_metadata.go +++ b/service/controltower/go_module_metadata.go @@ -3,4 +3,4 @@ package controltower // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.2" +const goModuleVersion = "1.17.3" diff --git a/service/costandusagereportservice/CHANGELOG.md b/service/costandusagereportservice/CHANGELOG.md index 934654db9df..d1a166192b8 100644 --- a/service/costandusagereportservice/CHANGELOG.md +++ b/service/costandusagereportservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/costandusagereportservice/api_client.go b/service/costandusagereportservice/api_client.go index f997d8090ed..dee6bd7eedd 100644 --- a/service/costandusagereportservice/api_client.go +++ b/service/costandusagereportservice/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/costandusagereportservice/go_module_metadata.go b/service/costandusagereportservice/go_module_metadata.go index 993518348f0..0a54e653281 100644 --- a/service/costandusagereportservice/go_module_metadata.go +++ b/service/costandusagereportservice/go_module_metadata.go @@ -3,4 +3,4 @@ package costandusagereportservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/costexplorer/CHANGELOG.md b/service/costexplorer/CHANGELOG.md index a0cdd00bf2c..90c8cb0b8d6 100644 --- a/service/costexplorer/CHANGELOG.md +++ b/service/costexplorer/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.42.3 (2024-09-27) + +* No change notes available for this release. + # v1.42.2 (2024-09-25) * No change notes available for this release. diff --git a/service/costexplorer/api_client.go b/service/costexplorer/api_client.go index 4df2f9f3190..06cb912b8a4 100644 --- a/service/costexplorer/api_client.go +++ b/service/costexplorer/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/costexplorer/go_module_metadata.go b/service/costexplorer/go_module_metadata.go index 8186ea53544..95ad9c15e18 100644 --- a/service/costexplorer/go_module_metadata.go +++ b/service/costexplorer/go_module_metadata.go @@ -3,4 +3,4 @@ package costexplorer // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.42.2" +const goModuleVersion = "1.42.3" diff --git a/service/costoptimizationhub/CHANGELOG.md b/service/costoptimizationhub/CHANGELOG.md index ad36bc0f3bd..863c479ef75 100644 --- a/service/costoptimizationhub/CHANGELOG.md +++ b/service/costoptimizationhub/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.9.3 (2024-09-27) + +* No change notes available for this release. + # v1.9.2 (2024-09-25) * No change notes available for this release. diff --git a/service/costoptimizationhub/api_client.go b/service/costoptimizationhub/api_client.go index 4191efeac7a..0cd14de2ffd 100644 --- a/service/costoptimizationhub/api_client.go +++ b/service/costoptimizationhub/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/costoptimizationhub/go_module_metadata.go b/service/costoptimizationhub/go_module_metadata.go index d52ef42401f..af95950b1f2 100644 --- a/service/costoptimizationhub/go_module_metadata.go +++ b/service/costoptimizationhub/go_module_metadata.go @@ -3,4 +3,4 @@ package costoptimizationhub // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.9.2" +const goModuleVersion = "1.9.3" diff --git a/service/customerprofiles/CHANGELOG.md b/service/customerprofiles/CHANGELOG.md index 3710982f50d..f3f4104ff11 100644 --- a/service/customerprofiles/CHANGELOG.md +++ b/service/customerprofiles/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.41.0 (2024-09-27) + +* **Feature**: Introduces optional RoleArn parameter for PutIntegration request and includes RoleArn in the response of PutIntegration, GetIntegration and ListIntegrations + # v1.40.2 (2024-09-25) * No change notes available for this release. diff --git a/service/customerprofiles/api_client.go b/service/customerprofiles/api_client.go index 3fee2e513d3..ff7f5e55a80 100644 --- a/service/customerprofiles/api_client.go +++ b/service/customerprofiles/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/customerprofiles/api_op_GetIntegration.go b/service/customerprofiles/api_op_GetIntegration.go index 097479d7d2e..4ffc069ddf0 100644 --- a/service/customerprofiles/api_op_GetIntegration.go +++ b/service/customerprofiles/api_op_GetIntegration.go @@ -79,6 +79,10 @@ type GetIntegrationOutput struct { // ShopifyUpdateDraftOrders , ShopifyCreateOrders , and ShopifyUpdatedOrders . ObjectTypeNames map[string]string + // The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role + // to make Customer Profiles requests on your behalf. + RoleArn *string + // The tags used to organize, track, or control access for this resource. Tags map[string]string diff --git a/service/customerprofiles/api_op_PutIntegration.go b/service/customerprofiles/api_op_PutIntegration.go index 45dceed46eb..98d725301a1 100644 --- a/service/customerprofiles/api_op_PutIntegration.go +++ b/service/customerprofiles/api_op_PutIntegration.go @@ -57,6 +57,10 @@ type PutIntegrationInput struct { // ShopifyUpdateDraftOrders , ShopifyCreateOrders , and ShopifyUpdatedOrders . ObjectTypeNames map[string]string + // The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role + // to make Customer Profiles requests on your behalf. + RoleArn *string + // The tags used to organize, track, or control access for this resource. Tags map[string]string @@ -103,6 +107,10 @@ type PutIntegrationOutput struct { // ShopifyUpdateDraftOrders , ShopifyCreateOrders , and ShopifyUpdatedOrders . ObjectTypeNames map[string]string + // The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role + // to make Customer Profiles requests on your behalf. + RoleArn *string + // The tags used to organize, track, or control access for this resource. Tags map[string]string diff --git a/service/customerprofiles/deserializers.go b/service/customerprofiles/deserializers.go index f54d0cc3637..064b6a3bd17 100644 --- a/service/customerprofiles/deserializers.go +++ b/service/customerprofiles/deserializers.go @@ -4292,6 +4292,15 @@ func awsRestjson1_deserializeOpDocumentGetIntegrationOutput(v **GetIntegrationOu return err } + case "RoleArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected RoleArn to be of type string, got %T instead", value) + } + sv.RoleArn = ptr.String(jtv) + } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err @@ -8318,6 +8327,15 @@ func awsRestjson1_deserializeOpDocumentPutIntegrationOutput(v **PutIntegrationOu return err } + case "RoleArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected RoleArn to be of type string, got %T instead", value) + } + sv.RoleArn = ptr.String(jtv) + } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err @@ -12421,6 +12439,15 @@ func awsRestjson1_deserializeDocumentListIntegrationItem(v **types.ListIntegrati return err } + case "RoleArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected RoleArn to be of type string, got %T instead", value) + } + sv.RoleArn = ptr.String(jtv) + } + case "Tags": if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { return err diff --git a/service/customerprofiles/doc.go b/service/customerprofiles/doc.go index ba81a0c057f..da7e21f389a 100644 --- a/service/customerprofiles/doc.go +++ b/service/customerprofiles/doc.go @@ -5,6 +5,10 @@ // // # Amazon Connect Customer Profiles // +// [Customer Profiles actions] +// +// [Customer Profiles data types] +// // Amazon Connect Customer Profiles is a unified customer profile for your contact // center that has pre-built connectors powered by AppFlow that make it easy to // combine customer information from third party applications, such as Salesforce @@ -14,5 +18,7 @@ // For more information about the Amazon Connect Customer Profiles feature, see [Use Customer Profiles] // in the Amazon Connect Administrator's Guide. // +// [Customer Profiles data types]: https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Customer_Profiles.html +// [Customer Profiles actions]: https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Customer_Profiles.html // [Use Customer Profiles]: https://docs.aws.amazon.com/connect/latest/adminguide/customer-profiles.html package customerprofiles diff --git a/service/customerprofiles/go_module_metadata.go b/service/customerprofiles/go_module_metadata.go index 38989acb25e..fc226102386 100644 --- a/service/customerprofiles/go_module_metadata.go +++ b/service/customerprofiles/go_module_metadata.go @@ -3,4 +3,4 @@ package customerprofiles // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.40.2" +const goModuleVersion = "1.41.0" diff --git a/service/customerprofiles/serializers.go b/service/customerprofiles/serializers.go index 883b6caec2e..d9db2201b8f 100644 --- a/service/customerprofiles/serializers.go +++ b/service/customerprofiles/serializers.go @@ -4152,6 +4152,11 @@ func awsRestjson1_serializeOpDocumentPutIntegrationInput(v *PutIntegrationInput, } } + if v.RoleArn != nil { + ok := object.Key("RoleArn") + ok.String(*v.RoleArn) + } + if v.Tags != nil { ok := object.Key("Tags") if err := awsRestjson1_serializeDocumentTagMap(v.Tags, ok); err != nil { diff --git a/service/customerprofiles/types/types.go b/service/customerprofiles/types/types.go index a291968896a..0dc53831bee 100644 --- a/service/customerprofiles/types/types.go +++ b/service/customerprofiles/types/types.go @@ -859,6 +859,10 @@ type ListIntegrationItem struct { // ShopifyUpdateDraftOrders , ShopifyCreateOrders , and ShopifyUpdatedOrders . ObjectTypeNames map[string]string + // The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role + // to make Customer Profiles requests on your behalf. + RoleArn *string + // The tags used to organize, track, or control access for this resource. Tags map[string]string diff --git a/service/databasemigrationservice/CHANGELOG.md b/service/databasemigrationservice/CHANGELOG.md index b59c8a1615b..84cc55f125a 100644 --- a/service/databasemigrationservice/CHANGELOG.md +++ b/service/databasemigrationservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.41.3 (2024-09-27) + +* No change notes available for this release. + # v1.41.2 (2024-09-25) * No change notes available for this release. diff --git a/service/databasemigrationservice/api_client.go b/service/databasemigrationservice/api_client.go index 4c3c452ab9f..92ef53452e3 100644 --- a/service/databasemigrationservice/api_client.go +++ b/service/databasemigrationservice/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/databasemigrationservice/go_module_metadata.go b/service/databasemigrationservice/go_module_metadata.go index 959ba39e780..259e7ab2df0 100644 --- a/service/databasemigrationservice/go_module_metadata.go +++ b/service/databasemigrationservice/go_module_metadata.go @@ -3,4 +3,4 @@ package databasemigrationservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.41.2" +const goModuleVersion = "1.41.3" diff --git a/service/databrew/CHANGELOG.md b/service/databrew/CHANGELOG.md index e2023d17c70..8e951b5950f 100644 --- a/service/databrew/CHANGELOG.md +++ b/service/databrew/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.32.3 (2024-09-27) + +* No change notes available for this release. + # v1.32.2 (2024-09-25) * No change notes available for this release. diff --git a/service/databrew/api_client.go b/service/databrew/api_client.go index 34f4923d68c..64eab0bc4c6 100644 --- a/service/databrew/api_client.go +++ b/service/databrew/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/databrew/go_module_metadata.go b/service/databrew/go_module_metadata.go index 4bd02506fe3..2297510b63c 100644 --- a/service/databrew/go_module_metadata.go +++ b/service/databrew/go_module_metadata.go @@ -3,4 +3,4 @@ package databrew // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.32.2" +const goModuleVersion = "1.32.3" diff --git a/service/dataexchange/CHANGELOG.md b/service/dataexchange/CHANGELOG.md index 998324f8e9a..ef070f72af5 100644 --- a/service/dataexchange/CHANGELOG.md +++ b/service/dataexchange/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.31.3 (2024-09-27) + +* No change notes available for this release. + # v1.31.2 (2024-09-25) * No change notes available for this release. diff --git a/service/dataexchange/api_client.go b/service/dataexchange/api_client.go index d068907795c..6994db3cb08 100644 --- a/service/dataexchange/api_client.go +++ b/service/dataexchange/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/dataexchange/go_module_metadata.go b/service/dataexchange/go_module_metadata.go index d1288d4ac55..479f9b65691 100644 --- a/service/dataexchange/go_module_metadata.go +++ b/service/dataexchange/go_module_metadata.go @@ -3,4 +3,4 @@ package dataexchange // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.31.2" +const goModuleVersion = "1.31.3" diff --git a/service/datapipeline/CHANGELOG.md b/service/datapipeline/CHANGELOG.md index cc997bd30c7..e7a7a602850 100644 --- a/service/datapipeline/CHANGELOG.md +++ b/service/datapipeline/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/datapipeline/api_client.go b/service/datapipeline/api_client.go index 59a9dcf10be..faa9841b3c6 100644 --- a/service/datapipeline/api_client.go +++ b/service/datapipeline/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/datapipeline/go_module_metadata.go b/service/datapipeline/go_module_metadata.go index 96282e52d12..2b7532382a5 100644 --- a/service/datapipeline/go_module_metadata.go +++ b/service/datapipeline/go_module_metadata.go @@ -3,4 +3,4 @@ package datapipeline // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/datasync/CHANGELOG.md b/service/datasync/CHANGELOG.md index a78f8789b4b..9bc2c77d349 100644 --- a/service/datasync/CHANGELOG.md +++ b/service/datasync/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.41.3 (2024-09-27) + +* No change notes available for this release. + # v1.41.2 (2024-09-25) * No change notes available for this release. diff --git a/service/datasync/api_client.go b/service/datasync/api_client.go index 8f7a04174dd..9253342e030 100644 --- a/service/datasync/api_client.go +++ b/service/datasync/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/datasync/go_module_metadata.go b/service/datasync/go_module_metadata.go index 86c0f3ee80d..4b8f344fe0a 100644 --- a/service/datasync/go_module_metadata.go +++ b/service/datasync/go_module_metadata.go @@ -3,4 +3,4 @@ package datasync // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.41.2" +const goModuleVersion = "1.41.3" diff --git a/service/datazone/CHANGELOG.md b/service/datazone/CHANGELOG.md index c17aca317e8..052509e0853 100644 --- a/service/datazone/CHANGELOG.md +++ b/service/datazone/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.21.3 (2024-09-27) + +* No change notes available for this release. + # v1.21.2 (2024-09-25) * No change notes available for this release. diff --git a/service/datazone/api_client.go b/service/datazone/api_client.go index 6a006adb425..ea6cc8a196d 100644 --- a/service/datazone/api_client.go +++ b/service/datazone/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/datazone/go_module_metadata.go b/service/datazone/go_module_metadata.go index 535d3fc78c9..d235710c04c 100644 --- a/service/datazone/go_module_metadata.go +++ b/service/datazone/go_module_metadata.go @@ -3,4 +3,4 @@ package datazone // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.21.2" +const goModuleVersion = "1.21.3" diff --git a/service/dax/CHANGELOG.md b/service/dax/CHANGELOG.md index 364e59a7dec..6ca569f6094 100644 --- a/service/dax/CHANGELOG.md +++ b/service/dax/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/dax/api_client.go b/service/dax/api_client.go index afc67e50264..6e33f01bf89 100644 --- a/service/dax/api_client.go +++ b/service/dax/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/dax/go_module_metadata.go b/service/dax/go_module_metadata.go index adc21516574..f2eaa2d422f 100644 --- a/service/dax/go_module_metadata.go +++ b/service/dax/go_module_metadata.go @@ -3,4 +3,4 @@ package dax // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/deadline/CHANGELOG.md b/service/deadline/CHANGELOG.md index 472be79d99f..849df68b1e2 100644 --- a/service/deadline/CHANGELOG.md +++ b/service/deadline/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.4.3 (2024-09-27) + +* No change notes available for this release. + # v1.4.2 (2024-09-25) * No change notes available for this release. diff --git a/service/deadline/api_client.go b/service/deadline/api_client.go index a3fa21fcdae..9436c1acd70 100644 --- a/service/deadline/api_client.go +++ b/service/deadline/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/deadline/go_module_metadata.go b/service/deadline/go_module_metadata.go index 0acf7093c74..24a1afb5784 100644 --- a/service/deadline/go_module_metadata.go +++ b/service/deadline/go_module_metadata.go @@ -3,4 +3,4 @@ package deadline // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.4.2" +const goModuleVersion = "1.4.3" diff --git a/service/detective/CHANGELOG.md b/service/detective/CHANGELOG.md index 417b347dc24..827ee6efe45 100644 --- a/service/detective/CHANGELOG.md +++ b/service/detective/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.30.3 (2024-09-27) + +* No change notes available for this release. + # v1.30.2 (2024-09-25) * No change notes available for this release. diff --git a/service/detective/api_client.go b/service/detective/api_client.go index 83ac827dc25..40b0840b17a 100644 --- a/service/detective/api_client.go +++ b/service/detective/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/detective/go_module_metadata.go b/service/detective/go_module_metadata.go index 1a0509f3222..71d421a6abb 100644 --- a/service/detective/go_module_metadata.go +++ b/service/detective/go_module_metadata.go @@ -3,4 +3,4 @@ package detective // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.30.2" +const goModuleVersion = "1.30.3" diff --git a/service/devicefarm/CHANGELOG.md b/service/devicefarm/CHANGELOG.md index 64aa0b1c27f..c128ae7a5fc 100644 --- a/service/devicefarm/CHANGELOG.md +++ b/service/devicefarm/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/devicefarm/api_client.go b/service/devicefarm/api_client.go index 4318b3655a6..4a32b9cbea4 100644 --- a/service/devicefarm/api_client.go +++ b/service/devicefarm/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/devicefarm/go_module_metadata.go b/service/devicefarm/go_module_metadata.go index eb45b95186e..ea53ae55be3 100644 --- a/service/devicefarm/go_module_metadata.go +++ b/service/devicefarm/go_module_metadata.go @@ -3,4 +3,4 @@ package devicefarm // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/devopsguru/CHANGELOG.md b/service/devopsguru/CHANGELOG.md index 9d104192ff5..b1a7dfcb5c3 100644 --- a/service/devopsguru/CHANGELOG.md +++ b/service/devopsguru/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.33.3 (2024-09-27) + +* No change notes available for this release. + # v1.33.2 (2024-09-25) * No change notes available for this release. diff --git a/service/devopsguru/api_client.go b/service/devopsguru/api_client.go index 924b2bcdabc..7b0993739ae 100644 --- a/service/devopsguru/api_client.go +++ b/service/devopsguru/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/devopsguru/go_module_metadata.go b/service/devopsguru/go_module_metadata.go index b71e435dfea..2243d248a12 100644 --- a/service/devopsguru/go_module_metadata.go +++ b/service/devopsguru/go_module_metadata.go @@ -3,4 +3,4 @@ package devopsguru // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.33.2" +const goModuleVersion = "1.33.3" diff --git a/service/directconnect/CHANGELOG.md b/service/directconnect/CHANGELOG.md index 49181384d50..1bccb8c4fc2 100644 --- a/service/directconnect/CHANGELOG.md +++ b/service/directconnect/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/directconnect/api_client.go b/service/directconnect/api_client.go index d8201e4f6d2..e9aea9f0f01 100644 --- a/service/directconnect/api_client.go +++ b/service/directconnect/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/directconnect/go_module_metadata.go b/service/directconnect/go_module_metadata.go index e7c46b1c026..ee784e6fca9 100644 --- a/service/directconnect/go_module_metadata.go +++ b/service/directconnect/go_module_metadata.go @@ -3,4 +3,4 @@ package directconnect // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/directoryservice/CHANGELOG.md b/service/directoryservice/CHANGELOG.md index 5d2f167eef3..8c45283064b 100644 --- a/service/directoryservice/CHANGELOG.md +++ b/service/directoryservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.29.3 (2024-09-27) + +* No change notes available for this release. + # v1.29.2 (2024-09-25) * No change notes available for this release. diff --git a/service/directoryservice/api_client.go b/service/directoryservice/api_client.go index 3015f1c506b..ae4d3324cc2 100644 --- a/service/directoryservice/api_client.go +++ b/service/directoryservice/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/directoryservice/go_module_metadata.go b/service/directoryservice/go_module_metadata.go index 71b1150d8ff..604420c12da 100644 --- a/service/directoryservice/go_module_metadata.go +++ b/service/directoryservice/go_module_metadata.go @@ -3,4 +3,4 @@ package directoryservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.29.2" +const goModuleVersion = "1.29.3" diff --git a/service/directoryservice/internal/endpoints/endpoints.go b/service/directoryservice/internal/endpoints/endpoints.go index 6b4fdbd1982..442cf2a8813 100644 --- a/service/directoryservice/internal/endpoints/endpoints.go +++ b/service/directoryservice/internal/endpoints/endpoints.go @@ -382,12 +382,42 @@ var defaultPartitions = endpoints.Partitions{ RegionRegex: partitionRegexp.AwsIso, IsRegionalized: true, Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "fips-us-iso-east-1", + }: endpoints.Endpoint{ + Hostname: "ds-fips.us-iso-east-1.c2s.ic.gov", + CredentialScope: endpoints.CredentialScope{ + Region: "us-iso-east-1", + }, + Deprecated: aws.TrueTernary, + }, + endpoints.EndpointKey{ + Region: "fips-us-iso-west-1", + }: endpoints.Endpoint{ + Hostname: "ds-fips.us-iso-west-1.c2s.ic.gov", + CredentialScope: endpoints.CredentialScope{ + Region: "us-iso-west-1", + }, + Deprecated: aws.TrueTernary, + }, endpoints.EndpointKey{ Region: "us-iso-east-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-iso-east-1", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "ds-fips.us-iso-east-1.c2s.ic.gov", + }, endpoints.EndpointKey{ Region: "us-iso-west-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-iso-west-1", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "ds-fips.us-iso-west-1.c2s.ic.gov", + }, }, }, { @@ -411,9 +441,24 @@ var defaultPartitions = endpoints.Partitions{ RegionRegex: partitionRegexp.AwsIsoB, IsRegionalized: true, Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "fips-us-isob-east-1", + }: endpoints.Endpoint{ + Hostname: "ds-fips.us-isob-east-1.sc2s.sgov.gov", + CredentialScope: endpoints.CredentialScope{ + Region: "us-isob-east-1", + }, + Deprecated: aws.TrueTernary, + }, endpoints.EndpointKey{ Region: "us-isob-east-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-isob-east-1", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "ds-fips.us-isob-east-1.sc2s.sgov.gov", + }, }, }, { diff --git a/service/directoryservicedata/CHANGELOG.md b/service/directoryservicedata/CHANGELOG.md index 20e589a258f..a0ff809d10d 100644 --- a/service/directoryservicedata/CHANGELOG.md +++ b/service/directoryservicedata/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.1.3 (2024-09-27) + +* No change notes available for this release. + # v1.1.2 (2024-09-25) * No change notes available for this release. diff --git a/service/directoryservicedata/api_client.go b/service/directoryservicedata/api_client.go index 19238a43baa..92a14d19e25 100644 --- a/service/directoryservicedata/api_client.go +++ b/service/directoryservicedata/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/directoryservicedata/go_module_metadata.go b/service/directoryservicedata/go_module_metadata.go index 41424e81072..334c4163720 100644 --- a/service/directoryservicedata/go_module_metadata.go +++ b/service/directoryservicedata/go_module_metadata.go @@ -3,4 +3,4 @@ package directoryservicedata // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.1.2" +const goModuleVersion = "1.1.3" diff --git a/service/dlm/CHANGELOG.md b/service/dlm/CHANGELOG.md index d1796d3c2ea..c152cc3d002 100644 --- a/service/dlm/CHANGELOG.md +++ b/service/dlm/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/dlm/api_client.go b/service/dlm/api_client.go index 0a0db19bedb..7935d913ad0 100644 --- a/service/dlm/api_client.go +++ b/service/dlm/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/dlm/go_module_metadata.go b/service/dlm/go_module_metadata.go index 7b989a2aa83..46536b6c397 100644 --- a/service/dlm/go_module_metadata.go +++ b/service/dlm/go_module_metadata.go @@ -3,4 +3,4 @@ package dlm // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/docdb/CHANGELOG.md b/service/docdb/CHANGELOG.md index 233134e2ac5..2808c002767 100644 --- a/service/docdb/CHANGELOG.md +++ b/service/docdb/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.38.3 (2024-09-27) + +* No change notes available for this release. + # v1.38.2 (2024-09-25) * No change notes available for this release. diff --git a/service/docdb/api_client.go b/service/docdb/api_client.go index b20decb8a45..04bcf181e1f 100644 --- a/service/docdb/api_client.go +++ b/service/docdb/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/docdb/go_module_metadata.go b/service/docdb/go_module_metadata.go index f62b469547d..c9682991a60 100644 --- a/service/docdb/go_module_metadata.go +++ b/service/docdb/go_module_metadata.go @@ -3,4 +3,4 @@ package docdb // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.38.2" +const goModuleVersion = "1.38.3" diff --git a/service/docdbelastic/CHANGELOG.md b/service/docdbelastic/CHANGELOG.md index 5ff35e842d7..1cfe5694469 100644 --- a/service/docdbelastic/CHANGELOG.md +++ b/service/docdbelastic/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.3 (2024-09-27) + +* No change notes available for this release. + # v1.12.2 (2024-09-25) * No change notes available for this release. diff --git a/service/docdbelastic/api_client.go b/service/docdbelastic/api_client.go index 18cfd9ecb72..cefb5e355e4 100644 --- a/service/docdbelastic/api_client.go +++ b/service/docdbelastic/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/docdbelastic/go_module_metadata.go b/service/docdbelastic/go_module_metadata.go index 65846f50970..b94fa409032 100644 --- a/service/docdbelastic/go_module_metadata.go +++ b/service/docdbelastic/go_module_metadata.go @@ -3,4 +3,4 @@ package docdbelastic // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.2" +const goModuleVersion = "1.12.3" diff --git a/service/drs/CHANGELOG.md b/service/drs/CHANGELOG.md index ef23dc46e1a..92d56c19864 100644 --- a/service/drs/CHANGELOG.md +++ b/service/drs/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.29.3 (2024-09-27) + +* No change notes available for this release. + # v1.29.2 (2024-09-25) * No change notes available for this release. diff --git a/service/drs/api_client.go b/service/drs/api_client.go index be4c5134961..d48f15c1fff 100644 --- a/service/drs/api_client.go +++ b/service/drs/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/drs/go_module_metadata.go b/service/drs/go_module_metadata.go index 679fd5d4ada..a7318ee726e 100644 --- a/service/drs/go_module_metadata.go +++ b/service/drs/go_module_metadata.go @@ -3,4 +3,4 @@ package drs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.29.2" +const goModuleVersion = "1.29.3" diff --git a/service/dynamodb/CHANGELOG.md b/service/dynamodb/CHANGELOG.md index c5a9bbf28b7..e457ee8fc4a 100644 --- a/service/dynamodb/CHANGELOG.md +++ b/service/dynamodb/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.35.3 (2024-09-27) + +* No change notes available for this release. + # v1.35.2 (2024-09-25) * No change notes available for this release. diff --git a/service/dynamodb/api_client.go b/service/dynamodb/api_client.go index c3402891ffa..cca30d0ca75 100644 --- a/service/dynamodb/api_client.go +++ b/service/dynamodb/api_client.go @@ -200,10 +200,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/dynamodb/go_module_metadata.go b/service/dynamodb/go_module_metadata.go index 9718eb562ed..5dc25d821e0 100644 --- a/service/dynamodb/go_module_metadata.go +++ b/service/dynamodb/go_module_metadata.go @@ -3,4 +3,4 @@ package dynamodb // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.35.2" +const goModuleVersion = "1.35.3" diff --git a/service/dynamodbstreams/CHANGELOG.md b/service/dynamodbstreams/CHANGELOG.md index 440f1a0f255..a4641a8ad75 100644 --- a/service/dynamodbstreams/CHANGELOG.md +++ b/service/dynamodbstreams/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/dynamodbstreams/api_client.go b/service/dynamodbstreams/api_client.go index 4772a652ff0..a98a26ae89d 100644 --- a/service/dynamodbstreams/api_client.go +++ b/service/dynamodbstreams/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/dynamodbstreams/go_module_metadata.go b/service/dynamodbstreams/go_module_metadata.go index 35221269fb3..4ad9ef96719 100644 --- a/service/dynamodbstreams/go_module_metadata.go +++ b/service/dynamodbstreams/go_module_metadata.go @@ -3,4 +3,4 @@ package dynamodbstreams // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/ebs/CHANGELOG.md b/service/ebs/CHANGELOG.md index e56fa141994..ac0513c080d 100644 --- a/service/ebs/CHANGELOG.md +++ b/service/ebs/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ebs/api_client.go b/service/ebs/api_client.go index 597c2dc262f..186f540452e 100644 --- a/service/ebs/api_client.go +++ b/service/ebs/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ebs/go_module_metadata.go b/service/ebs/go_module_metadata.go index a77d1cf6221..cfff69faad4 100644 --- a/service/ebs/go_module_metadata.go +++ b/service/ebs/go_module_metadata.go @@ -3,4 +3,4 @@ package ebs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/ec2/CHANGELOG.md b/service/ec2/CHANGELOG.md index c369d8ff09e..b4ff4ae786a 100644 --- a/service/ec2/CHANGELOG.md +++ b/service/ec2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.179.2 (2024-09-27) + +* No change notes available for this release. + # v1.179.1 (2024-09-25) * **Documentation**: Updates to documentation for the transit gateway security group referencing feature. diff --git a/service/ec2/api_client.go b/service/ec2/api_client.go index 27a7afc0c76..02cd2943e25 100644 --- a/service/ec2/api_client.go +++ b/service/ec2/api_client.go @@ -194,10 +194,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ec2/go_module_metadata.go b/service/ec2/go_module_metadata.go index 3be063965e3..e162742ee97 100644 --- a/service/ec2/go_module_metadata.go +++ b/service/ec2/go_module_metadata.go @@ -3,4 +3,4 @@ package ec2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.179.1" +const goModuleVersion = "1.179.2" diff --git a/service/ec2instanceconnect/CHANGELOG.md b/service/ec2instanceconnect/CHANGELOG.md index 6df0328a5fd..3df3364852f 100644 --- a/service/ec2instanceconnect/CHANGELOG.md +++ b/service/ec2instanceconnect/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ec2instanceconnect/api_client.go b/service/ec2instanceconnect/api_client.go index 3f55d21ee0d..2a053fd15c3 100644 --- a/service/ec2instanceconnect/api_client.go +++ b/service/ec2instanceconnect/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ec2instanceconnect/go_module_metadata.go b/service/ec2instanceconnect/go_module_metadata.go index cf392d2ba52..3ac90344063 100644 --- a/service/ec2instanceconnect/go_module_metadata.go +++ b/service/ec2instanceconnect/go_module_metadata.go @@ -3,4 +3,4 @@ package ec2instanceconnect // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/ecr/CHANGELOG.md b/service/ecr/CHANGELOG.md index 0d5f77e4239..df1b6ba4c8c 100644 --- a/service/ecr/CHANGELOG.md +++ b/service/ecr/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.35.3 (2024-09-27) + +* No change notes available for this release. + # v1.35.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ecr/api_client.go b/service/ecr/api_client.go index 66983e1c11f..189109eb556 100644 --- a/service/ecr/api_client.go +++ b/service/ecr/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ecr/go_module_metadata.go b/service/ecr/go_module_metadata.go index 3e22a01f949..3a3a1c35459 100644 --- a/service/ecr/go_module_metadata.go +++ b/service/ecr/go_module_metadata.go @@ -3,4 +3,4 @@ package ecr // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.35.2" +const goModuleVersion = "1.35.3" diff --git a/service/ecrpublic/CHANGELOG.md b/service/ecrpublic/CHANGELOG.md index 06f54a5691c..b3761234ef8 100644 --- a/service/ecrpublic/CHANGELOG.md +++ b/service/ecrpublic/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ecrpublic/api_client.go b/service/ecrpublic/api_client.go index 183825aa21f..fb153d0dde6 100644 --- a/service/ecrpublic/api_client.go +++ b/service/ecrpublic/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ecrpublic/go_module_metadata.go b/service/ecrpublic/go_module_metadata.go index dd3e14159a3..624a7fec015 100644 --- a/service/ecrpublic/go_module_metadata.go +++ b/service/ecrpublic/go_module_metadata.go @@ -3,4 +3,4 @@ package ecrpublic // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/ecs/CHANGELOG.md b/service/ecs/CHANGELOG.md index 6bdf6370d8b..22bd14a3411 100644 --- a/service/ecs/CHANGELOG.md +++ b/service/ecs/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.46.3 (2024-09-27) + +* No change notes available for this release. + # v1.46.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ecs/api_client.go b/service/ecs/api_client.go index ab64ccb1bd6..15fea102418 100644 --- a/service/ecs/api_client.go +++ b/service/ecs/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ecs/go_module_metadata.go b/service/ecs/go_module_metadata.go index 4bdafac8dd9..4b11590b9b4 100644 --- a/service/ecs/go_module_metadata.go +++ b/service/ecs/go_module_metadata.go @@ -3,4 +3,4 @@ package ecs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.46.2" +const goModuleVersion = "1.46.3" diff --git a/service/efs/CHANGELOG.md b/service/efs/CHANGELOG.md index e35bde1c2d4..64f83fc68b0 100644 --- a/service/efs/CHANGELOG.md +++ b/service/efs/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.32.3 (2024-09-27) + +* No change notes available for this release. + # v1.32.2 (2024-09-25) * No change notes available for this release. diff --git a/service/efs/api_client.go b/service/efs/api_client.go index 2c426536ec3..eeb73185d3d 100644 --- a/service/efs/api_client.go +++ b/service/efs/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/efs/go_module_metadata.go b/service/efs/go_module_metadata.go index 730b9a2a377..d2170551183 100644 --- a/service/efs/go_module_metadata.go +++ b/service/efs/go_module_metadata.go @@ -3,4 +3,4 @@ package efs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.32.2" +const goModuleVersion = "1.32.3" diff --git a/service/eks/CHANGELOG.md b/service/eks/CHANGELOG.md index d2df3141642..212284bdc13 100644 --- a/service/eks/CHANGELOG.md +++ b/service/eks/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.49.3 (2024-09-27) + +* No change notes available for this release. + # v1.49.2 (2024-09-25) * No change notes available for this release. diff --git a/service/eks/api_client.go b/service/eks/api_client.go index f1fb1c8620c..bca35f6b5dd 100644 --- a/service/eks/api_client.go +++ b/service/eks/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/eks/go_module_metadata.go b/service/eks/go_module_metadata.go index 2e21863066a..c88e30a626f 100644 --- a/service/eks/go_module_metadata.go +++ b/service/eks/go_module_metadata.go @@ -3,4 +3,4 @@ package eks // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.49.2" +const goModuleVersion = "1.49.3" diff --git a/service/eksauth/CHANGELOG.md b/service/eksauth/CHANGELOG.md index 38a0e2b0bf5..2f722f64d11 100644 --- a/service/eksauth/CHANGELOG.md +++ b/service/eksauth/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.6.3 (2024-09-27) + +* No change notes available for this release. + # v1.6.2 (2024-09-25) * No change notes available for this release. diff --git a/service/eksauth/api_client.go b/service/eksauth/api_client.go index d15d80994b4..7b7ae72a3ac 100644 --- a/service/eksauth/api_client.go +++ b/service/eksauth/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/eksauth/go_module_metadata.go b/service/eksauth/go_module_metadata.go index e5db9f282b1..1b8ed298d6a 100644 --- a/service/eksauth/go_module_metadata.go +++ b/service/eksauth/go_module_metadata.go @@ -3,4 +3,4 @@ package eksauth // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.2" +const goModuleVersion = "1.6.3" diff --git a/service/elasticache/CHANGELOG.md b/service/elasticache/CHANGELOG.md index 3cb7a70e43c..53247140058 100644 --- a/service/elasticache/CHANGELOG.md +++ b/service/elasticache/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.41.3 (2024-09-27) + +* No change notes available for this release. + # v1.41.2 (2024-09-25) * No change notes available for this release. diff --git a/service/elasticache/api_client.go b/service/elasticache/api_client.go index e12f9b059ba..469d7e719d9 100644 --- a/service/elasticache/api_client.go +++ b/service/elasticache/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/elasticache/go_module_metadata.go b/service/elasticache/go_module_metadata.go index 5cb48082db4..d049bca9539 100644 --- a/service/elasticache/go_module_metadata.go +++ b/service/elasticache/go_module_metadata.go @@ -3,4 +3,4 @@ package elasticache // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.41.2" +const goModuleVersion = "1.41.3" diff --git a/service/elasticbeanstalk/CHANGELOG.md b/service/elasticbeanstalk/CHANGELOG.md index 189a03e51ec..8ad85b5ccb1 100644 --- a/service/elasticbeanstalk/CHANGELOG.md +++ b/service/elasticbeanstalk/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/elasticbeanstalk/api_client.go b/service/elasticbeanstalk/api_client.go index 7d2c5c83100..84145bda5ba 100644 --- a/service/elasticbeanstalk/api_client.go +++ b/service/elasticbeanstalk/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/elasticbeanstalk/go_module_metadata.go b/service/elasticbeanstalk/go_module_metadata.go index 2e26903a6c3..e8d9602c8bf 100644 --- a/service/elasticbeanstalk/go_module_metadata.go +++ b/service/elasticbeanstalk/go_module_metadata.go @@ -3,4 +3,4 @@ package elasticbeanstalk // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/elasticinference/CHANGELOG.md b/service/elasticinference/CHANGELOG.md index 7b367e211f7..9ca110347e3 100644 --- a/service/elasticinference/CHANGELOG.md +++ b/service/elasticinference/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/elasticinference/api_client.go b/service/elasticinference/api_client.go index 9bf01570511..d5480d3017d 100644 --- a/service/elasticinference/api_client.go +++ b/service/elasticinference/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/elasticinference/go_module_metadata.go b/service/elasticinference/go_module_metadata.go index 907869e45fb..e1b4e2f2fa4 100644 --- a/service/elasticinference/go_module_metadata.go +++ b/service/elasticinference/go_module_metadata.go @@ -3,4 +3,4 @@ package elasticinference // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/elasticloadbalancing/CHANGELOG.md b/service/elasticloadbalancing/CHANGELOG.md index f8400e149be..d79dba05a08 100644 --- a/service/elasticloadbalancing/CHANGELOG.md +++ b/service/elasticloadbalancing/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/elasticloadbalancing/api_client.go b/service/elasticloadbalancing/api_client.go index 2cb23dda2d4..e79d8ec7b32 100644 --- a/service/elasticloadbalancing/api_client.go +++ b/service/elasticloadbalancing/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/elasticloadbalancing/go_module_metadata.go b/service/elasticloadbalancing/go_module_metadata.go index f8f5e4567ed..5987b50675c 100644 --- a/service/elasticloadbalancing/go_module_metadata.go +++ b/service/elasticloadbalancing/go_module_metadata.go @@ -3,4 +3,4 @@ package elasticloadbalancing // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/elasticloadbalancingv2/CHANGELOG.md b/service/elasticloadbalancingv2/CHANGELOG.md index 09726ca0c3c..62f978f9ec6 100644 --- a/service/elasticloadbalancingv2/CHANGELOG.md +++ b/service/elasticloadbalancingv2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.38.3 (2024-09-27) + +* No change notes available for this release. + # v1.38.2 (2024-09-25) * No change notes available for this release. diff --git a/service/elasticloadbalancingv2/api_client.go b/service/elasticloadbalancingv2/api_client.go index 0687e601f40..4443724445c 100644 --- a/service/elasticloadbalancingv2/api_client.go +++ b/service/elasticloadbalancingv2/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/elasticloadbalancingv2/go_module_metadata.go b/service/elasticloadbalancingv2/go_module_metadata.go index 4c9266201ba..02a51333424 100644 --- a/service/elasticloadbalancingv2/go_module_metadata.go +++ b/service/elasticloadbalancingv2/go_module_metadata.go @@ -3,4 +3,4 @@ package elasticloadbalancingv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.38.2" +const goModuleVersion = "1.38.3" diff --git a/service/elasticsearchservice/CHANGELOG.md b/service/elasticsearchservice/CHANGELOG.md index 4a923d72dfd..5c017b8b369 100644 --- a/service/elasticsearchservice/CHANGELOG.md +++ b/service/elasticsearchservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.31.3 (2024-09-27) + +* No change notes available for this release. + # v1.31.2 (2024-09-25) * No change notes available for this release. diff --git a/service/elasticsearchservice/api_client.go b/service/elasticsearchservice/api_client.go index 7fafdb54011..5d726af7e2a 100644 --- a/service/elasticsearchservice/api_client.go +++ b/service/elasticsearchservice/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/elasticsearchservice/go_module_metadata.go b/service/elasticsearchservice/go_module_metadata.go index 176f5b9254b..33028d5bc32 100644 --- a/service/elasticsearchservice/go_module_metadata.go +++ b/service/elasticsearchservice/go_module_metadata.go @@ -3,4 +3,4 @@ package elasticsearchservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.31.2" +const goModuleVersion = "1.31.3" diff --git a/service/elastictranscoder/CHANGELOG.md b/service/elastictranscoder/CHANGELOG.md index 518257f6ee0..780ed8be31d 100644 --- a/service/elastictranscoder/CHANGELOG.md +++ b/service/elastictranscoder/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/elastictranscoder/api_client.go b/service/elastictranscoder/api_client.go index 512be4061ea..8d63a374551 100644 --- a/service/elastictranscoder/api_client.go +++ b/service/elastictranscoder/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/elastictranscoder/go_module_metadata.go b/service/elastictranscoder/go_module_metadata.go index 37688eaecb0..3d30e190336 100644 --- a/service/elastictranscoder/go_module_metadata.go +++ b/service/elastictranscoder/go_module_metadata.go @@ -3,4 +3,4 @@ package elastictranscoder // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/emr/CHANGELOG.md b/service/emr/CHANGELOG.md index c40331c253b..16baf2595cc 100644 --- a/service/emr/CHANGELOG.md +++ b/service/emr/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.44.3 (2024-09-27) + +* No change notes available for this release. + # v1.44.2 (2024-09-25) * No change notes available for this release. diff --git a/service/emr/api_client.go b/service/emr/api_client.go index ebdf99b07b1..7ca2e24460a 100644 --- a/service/emr/api_client.go +++ b/service/emr/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/emr/go_module_metadata.go b/service/emr/go_module_metadata.go index 35d5f32acfa..ea7539c9cf4 100644 --- a/service/emr/go_module_metadata.go +++ b/service/emr/go_module_metadata.go @@ -3,4 +3,4 @@ package emr // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.44.2" +const goModuleVersion = "1.44.3" diff --git a/service/emrcontainers/CHANGELOG.md b/service/emrcontainers/CHANGELOG.md index 02140e94b44..fb100f2e470 100644 --- a/service/emrcontainers/CHANGELOG.md +++ b/service/emrcontainers/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.32.3 (2024-09-27) + +* No change notes available for this release. + # v1.32.2 (2024-09-25) * No change notes available for this release. diff --git a/service/emrcontainers/api_client.go b/service/emrcontainers/api_client.go index aadd442f8e0..88541f6d594 100644 --- a/service/emrcontainers/api_client.go +++ b/service/emrcontainers/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/emrcontainers/go_module_metadata.go b/service/emrcontainers/go_module_metadata.go index ea425c86bb8..b4e1ad82944 100644 --- a/service/emrcontainers/go_module_metadata.go +++ b/service/emrcontainers/go_module_metadata.go @@ -3,4 +3,4 @@ package emrcontainers // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.32.2" +const goModuleVersion = "1.32.3" diff --git a/service/emrserverless/CHANGELOG.md b/service/emrserverless/CHANGELOG.md index 3a7799f739b..2fab8cf8da6 100644 --- a/service/emrserverless/CHANGELOG.md +++ b/service/emrserverless/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.2 (2024-09-27) + +* No change notes available for this release. + # v1.25.1 (2024-09-25) * No change notes available for this release. diff --git a/service/emrserverless/api_client.go b/service/emrserverless/api_client.go index 6672e455282..15ddff0e067 100644 --- a/service/emrserverless/api_client.go +++ b/service/emrserverless/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/emrserverless/go_module_metadata.go b/service/emrserverless/go_module_metadata.go index df22882a56f..74d6cf6719e 100644 --- a/service/emrserverless/go_module_metadata.go +++ b/service/emrserverless/go_module_metadata.go @@ -3,4 +3,4 @@ package emrserverless // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.1" +const goModuleVersion = "1.25.2" diff --git a/service/entityresolution/CHANGELOG.md b/service/entityresolution/CHANGELOG.md index 0573248835d..84861817d53 100644 --- a/service/entityresolution/CHANGELOG.md +++ b/service/entityresolution/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.3 (2024-09-27) + +* No change notes available for this release. + # v1.14.2 (2024-09-25) * No change notes available for this release. diff --git a/service/entityresolution/api_client.go b/service/entityresolution/api_client.go index 09554b35ea4..cbefdfe3e5f 100644 --- a/service/entityresolution/api_client.go +++ b/service/entityresolution/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/entityresolution/go_module_metadata.go b/service/entityresolution/go_module_metadata.go index b3e09b6e271..a74969af8c0 100644 --- a/service/entityresolution/go_module_metadata.go +++ b/service/entityresolution/go_module_metadata.go @@ -3,4 +3,4 @@ package entityresolution // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.2" +const goModuleVersion = "1.14.3" diff --git a/service/eventbridge/CHANGELOG.md b/service/eventbridge/CHANGELOG.md index 8af01ee9983..8683f2dfeeb 100644 --- a/service/eventbridge/CHANGELOG.md +++ b/service/eventbridge/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.34.3 (2024-09-27) + +* No change notes available for this release. + # v1.34.2 (2024-09-25) * No change notes available for this release. diff --git a/service/eventbridge/api_client.go b/service/eventbridge/api_client.go index 72128bcb067..17a3dd9e1f1 100644 --- a/service/eventbridge/api_client.go +++ b/service/eventbridge/api_client.go @@ -189,10 +189,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveHTTPSignerV4a(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/eventbridge/go_module_metadata.go b/service/eventbridge/go_module_metadata.go index 7439f091287..9715b3a5501 100644 --- a/service/eventbridge/go_module_metadata.go +++ b/service/eventbridge/go_module_metadata.go @@ -3,4 +3,4 @@ package eventbridge // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.34.2" +const goModuleVersion = "1.34.3" diff --git a/service/evidently/CHANGELOG.md b/service/evidently/CHANGELOG.md index c006398de1b..b485b68299c 100644 --- a/service/evidently/CHANGELOG.md +++ b/service/evidently/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/evidently/api_client.go b/service/evidently/api_client.go index c558ffd5cd1..3883f2f9363 100644 --- a/service/evidently/api_client.go +++ b/service/evidently/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/evidently/go_module_metadata.go b/service/evidently/go_module_metadata.go index 131a2929b4f..61b441dc7e7 100644 --- a/service/evidently/go_module_metadata.go +++ b/service/evidently/go_module_metadata.go @@ -3,4 +3,4 @@ package evidently // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/finspace/CHANGELOG.md b/service/finspace/CHANGELOG.md index 5e41d9c8c19..ecc365c6ea6 100644 --- a/service/finspace/CHANGELOG.md +++ b/service/finspace/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/finspace/api_client.go b/service/finspace/api_client.go index 72a38dbf91d..20f3606e1cd 100644 --- a/service/finspace/api_client.go +++ b/service/finspace/api_client.go @@ -192,10 +192,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/finspace/go_module_metadata.go b/service/finspace/go_module_metadata.go index 69aa16c12a8..7e776d8ed77 100644 --- a/service/finspace/go_module_metadata.go +++ b/service/finspace/go_module_metadata.go @@ -3,4 +3,4 @@ package finspace // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/finspacedata/CHANGELOG.md b/service/finspacedata/CHANGELOG.md index 4bd4ab8182e..9cfe2f57941 100644 --- a/service/finspacedata/CHANGELOG.md +++ b/service/finspacedata/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/finspacedata/api_client.go b/service/finspacedata/api_client.go index f332f869c07..87c47d8dfba 100644 --- a/service/finspacedata/api_client.go +++ b/service/finspacedata/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/finspacedata/go_module_metadata.go b/service/finspacedata/go_module_metadata.go index 4845faf4c4f..43e8cf8d9cb 100644 --- a/service/finspacedata/go_module_metadata.go +++ b/service/finspacedata/go_module_metadata.go @@ -3,4 +3,4 @@ package finspacedata // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/firehose/CHANGELOG.md b/service/firehose/CHANGELOG.md index fa04e12c618..cd35627913d 100644 --- a/service/firehose/CHANGELOG.md +++ b/service/firehose/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.33.3 (2024-09-27) + +* No change notes available for this release. + # v1.33.2 (2024-09-25) * No change notes available for this release. diff --git a/service/firehose/api_client.go b/service/firehose/api_client.go index 24b7edf5636..47ef4a37628 100644 --- a/service/firehose/api_client.go +++ b/service/firehose/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/firehose/go_module_metadata.go b/service/firehose/go_module_metadata.go index dadd5f7660e..05202cbc66a 100644 --- a/service/firehose/go_module_metadata.go +++ b/service/firehose/go_module_metadata.go @@ -3,4 +3,4 @@ package firehose // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.33.2" +const goModuleVersion = "1.33.3" diff --git a/service/fis/CHANGELOG.md b/service/fis/CHANGELOG.md index 188668d000a..92fe6ef2cbc 100644 --- a/service/fis/CHANGELOG.md +++ b/service/fis/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.29.3 (2024-09-27) + +* No change notes available for this release. + # v1.29.2 (2024-09-25) * No change notes available for this release. diff --git a/service/fis/api_client.go b/service/fis/api_client.go index 9adfd42c34f..d0f3c24cced 100644 --- a/service/fis/api_client.go +++ b/service/fis/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/fis/go_module_metadata.go b/service/fis/go_module_metadata.go index 744383709bd..6e13c31023c 100644 --- a/service/fis/go_module_metadata.go +++ b/service/fis/go_module_metadata.go @@ -3,4 +3,4 @@ package fis // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.29.2" +const goModuleVersion = "1.29.3" diff --git a/service/fms/CHANGELOG.md b/service/fms/CHANGELOG.md index 7ed24c698ae..177f4164b4d 100644 --- a/service/fms/CHANGELOG.md +++ b/service/fms/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.36.3 (2024-09-27) + +* No change notes available for this release. + # v1.36.2 (2024-09-25) * No change notes available for this release. diff --git a/service/fms/api_client.go b/service/fms/api_client.go index ff2d35cc249..6a08597babb 100644 --- a/service/fms/api_client.go +++ b/service/fms/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/fms/go_module_metadata.go b/service/fms/go_module_metadata.go index f08f283dd85..1b682c40e9f 100644 --- a/service/fms/go_module_metadata.go +++ b/service/fms/go_module_metadata.go @@ -3,4 +3,4 @@ package fms // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.36.2" +const goModuleVersion = "1.36.3" diff --git a/service/forecast/CHANGELOG.md b/service/forecast/CHANGELOG.md index f73384fc307..135000f20c2 100644 --- a/service/forecast/CHANGELOG.md +++ b/service/forecast/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.35.3 (2024-09-27) + +* No change notes available for this release. + # v1.35.2 (2024-09-25) * No change notes available for this release. diff --git a/service/forecast/api_client.go b/service/forecast/api_client.go index 8b7c89ffe3c..19bcd21b9bb 100644 --- a/service/forecast/api_client.go +++ b/service/forecast/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/forecast/go_module_metadata.go b/service/forecast/go_module_metadata.go index 1005c12763c..6b6cd4f847c 100644 --- a/service/forecast/go_module_metadata.go +++ b/service/forecast/go_module_metadata.go @@ -3,4 +3,4 @@ package forecast // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.35.2" +const goModuleVersion = "1.35.3" diff --git a/service/forecastquery/CHANGELOG.md b/service/forecastquery/CHANGELOG.md index db719871c6f..fdae818ac7c 100644 --- a/service/forecastquery/CHANGELOG.md +++ b/service/forecastquery/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/forecastquery/api_client.go b/service/forecastquery/api_client.go index 7d7a41ead1b..7c63c9c53c7 100644 --- a/service/forecastquery/api_client.go +++ b/service/forecastquery/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/forecastquery/go_module_metadata.go b/service/forecastquery/go_module_metadata.go index 5fcd1b90ca5..c2035dafefc 100644 --- a/service/forecastquery/go_module_metadata.go +++ b/service/forecastquery/go_module_metadata.go @@ -3,4 +3,4 @@ package forecastquery // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/frauddetector/CHANGELOG.md b/service/frauddetector/CHANGELOG.md index 72b8d623352..371b153bacc 100644 --- a/service/frauddetector/CHANGELOG.md +++ b/service/frauddetector/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.34.3 (2024-09-27) + +* No change notes available for this release. + # v1.34.2 (2024-09-25) * No change notes available for this release. diff --git a/service/frauddetector/api_client.go b/service/frauddetector/api_client.go index f3fe3462dd8..ab6f5e1e377 100644 --- a/service/frauddetector/api_client.go +++ b/service/frauddetector/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/frauddetector/go_module_metadata.go b/service/frauddetector/go_module_metadata.go index 69809d0b5b8..ef1b651ea3f 100644 --- a/service/frauddetector/go_module_metadata.go +++ b/service/frauddetector/go_module_metadata.go @@ -3,4 +3,4 @@ package frauddetector // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.34.2" +const goModuleVersion = "1.34.3" diff --git a/service/freetier/CHANGELOG.md b/service/freetier/CHANGELOG.md index a312398ce5e..d073ad7c57c 100644 --- a/service/freetier/CHANGELOG.md +++ b/service/freetier/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.6.3 (2024-09-27) + +* No change notes available for this release. + # v1.6.2 (2024-09-25) * No change notes available for this release. diff --git a/service/freetier/api_client.go b/service/freetier/api_client.go index ef43917a783..340abff5d58 100644 --- a/service/freetier/api_client.go +++ b/service/freetier/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/freetier/go_module_metadata.go b/service/freetier/go_module_metadata.go index dac045f7cac..2170407e53e 100644 --- a/service/freetier/go_module_metadata.go +++ b/service/freetier/go_module_metadata.go @@ -3,4 +3,4 @@ package freetier // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.2" +const goModuleVersion = "1.6.3" diff --git a/service/fsx/CHANGELOG.md b/service/fsx/CHANGELOG.md index 9b71cb693c8..c2fb786899e 100644 --- a/service/fsx/CHANGELOG.md +++ b/service/fsx/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.48.3 (2024-09-27) + +* No change notes available for this release. + # v1.48.2 (2024-09-25) * **Documentation**: Doc-only update to address Lustre S3 hard-coded names. diff --git a/service/fsx/api_client.go b/service/fsx/api_client.go index dff09988df6..cceb8c97c28 100644 --- a/service/fsx/api_client.go +++ b/service/fsx/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/fsx/go_module_metadata.go b/service/fsx/go_module_metadata.go index cc5fc86f5ad..8d2f0868087 100644 --- a/service/fsx/go_module_metadata.go +++ b/service/fsx/go_module_metadata.go @@ -3,4 +3,4 @@ package fsx // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.48.2" +const goModuleVersion = "1.48.3" diff --git a/service/gamelift/CHANGELOG.md b/service/gamelift/CHANGELOG.md index 08512c3b4e6..c5e3a968244 100644 --- a/service/gamelift/CHANGELOG.md +++ b/service/gamelift/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.35.3 (2024-09-27) + +* No change notes available for this release. + # v1.35.2 (2024-09-25) * No change notes available for this release. diff --git a/service/gamelift/api_client.go b/service/gamelift/api_client.go index e3fa05487c6..ec16473532e 100644 --- a/service/gamelift/api_client.go +++ b/service/gamelift/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/gamelift/go_module_metadata.go b/service/gamelift/go_module_metadata.go index 5ca5053eb7e..907e1f8d5fc 100644 --- a/service/gamelift/go_module_metadata.go +++ b/service/gamelift/go_module_metadata.go @@ -3,4 +3,4 @@ package gamelift // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.35.2" +const goModuleVersion = "1.35.3" diff --git a/service/glacier/CHANGELOG.md b/service/glacier/CHANGELOG.md index 8b299363683..21a791cef40 100644 --- a/service/glacier/CHANGELOG.md +++ b/service/glacier/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/glacier/api_client.go b/service/glacier/api_client.go index d7647f4c339..55d128351d9 100644 --- a/service/glacier/api_client.go +++ b/service/glacier/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/glacier/go_module_metadata.go b/service/glacier/go_module_metadata.go index 9df3297ec15..074b6e291f9 100644 --- a/service/glacier/go_module_metadata.go +++ b/service/glacier/go_module_metadata.go @@ -3,4 +3,4 @@ package glacier // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/globalaccelerator/CHANGELOG.md b/service/globalaccelerator/CHANGELOG.md index 52852623177..4e992c0b672 100644 --- a/service/globalaccelerator/CHANGELOG.md +++ b/service/globalaccelerator/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/globalaccelerator/api_client.go b/service/globalaccelerator/api_client.go index 30d8a9150e5..6d35ee3f7fa 100644 --- a/service/globalaccelerator/api_client.go +++ b/service/globalaccelerator/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/globalaccelerator/go_module_metadata.go b/service/globalaccelerator/go_module_metadata.go index fd6b994e091..778b7717e16 100644 --- a/service/globalaccelerator/go_module_metadata.go +++ b/service/globalaccelerator/go_module_metadata.go @@ -3,4 +3,4 @@ package globalaccelerator // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/glue/CHANGELOG.md b/service/glue/CHANGELOG.md index 7a19cdc3c4c..291c49907d8 100644 --- a/service/glue/CHANGELOG.md +++ b/service/glue/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.99.2 (2024-09-27) + +* No change notes available for this release. + # v1.99.1 (2024-09-25) * No change notes available for this release. diff --git a/service/glue/api_client.go b/service/glue/api_client.go index dabcae5e3d9..f3edc7cd68e 100644 --- a/service/glue/api_client.go +++ b/service/glue/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/glue/go_module_metadata.go b/service/glue/go_module_metadata.go index eae641437ee..a22e9c37f40 100644 --- a/service/glue/go_module_metadata.go +++ b/service/glue/go_module_metadata.go @@ -3,4 +3,4 @@ package glue // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.99.1" +const goModuleVersion = "1.99.2" diff --git a/service/grafana/CHANGELOG.md b/service/grafana/CHANGELOG.md index 5caa502ae68..d92e57f67a4 100644 --- a/service/grafana/CHANGELOG.md +++ b/service/grafana/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/grafana/api_client.go b/service/grafana/api_client.go index 7a9d2cb706d..cc65b43a326 100644 --- a/service/grafana/api_client.go +++ b/service/grafana/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/grafana/go_module_metadata.go b/service/grafana/go_module_metadata.go index 99078655c35..33069f40ab2 100644 --- a/service/grafana/go_module_metadata.go +++ b/service/grafana/go_module_metadata.go @@ -3,4 +3,4 @@ package grafana // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/greengrass/CHANGELOG.md b/service/greengrass/CHANGELOG.md index c0ada18407b..1e1bcdbd80c 100644 --- a/service/greengrass/CHANGELOG.md +++ b/service/greengrass/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/greengrass/api_client.go b/service/greengrass/api_client.go index 53ceb59c989..3331de4311a 100644 --- a/service/greengrass/api_client.go +++ b/service/greengrass/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/greengrass/go_module_metadata.go b/service/greengrass/go_module_metadata.go index e8269c9069a..ddabcb712fd 100644 --- a/service/greengrass/go_module_metadata.go +++ b/service/greengrass/go_module_metadata.go @@ -3,4 +3,4 @@ package greengrass // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/greengrassv2/CHANGELOG.md b/service/greengrassv2/CHANGELOG.md index 764f500e981..c3a84e27d55 100644 --- a/service/greengrassv2/CHANGELOG.md +++ b/service/greengrassv2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.34.3 (2024-09-27) + +* No change notes available for this release. + # v1.34.2 (2024-09-25) * No change notes available for this release. diff --git a/service/greengrassv2/api_client.go b/service/greengrassv2/api_client.go index 413e82b532b..db907cf12d8 100644 --- a/service/greengrassv2/api_client.go +++ b/service/greengrassv2/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/greengrassv2/go_module_metadata.go b/service/greengrassv2/go_module_metadata.go index 0fd705f4e17..2cf57276f29 100644 --- a/service/greengrassv2/go_module_metadata.go +++ b/service/greengrassv2/go_module_metadata.go @@ -3,4 +3,4 @@ package greengrassv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.34.2" +const goModuleVersion = "1.34.3" diff --git a/service/groundstation/CHANGELOG.md b/service/groundstation/CHANGELOG.md index 3c0b4e04699..41fe04c7760 100644 --- a/service/groundstation/CHANGELOG.md +++ b/service/groundstation/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.30.3 (2024-09-27) + +* No change notes available for this release. + # v1.30.2 (2024-09-25) * No change notes available for this release. diff --git a/service/groundstation/api_client.go b/service/groundstation/api_client.go index 6f24a3de3d2..16d627e9256 100644 --- a/service/groundstation/api_client.go +++ b/service/groundstation/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/groundstation/go_module_metadata.go b/service/groundstation/go_module_metadata.go index 451832f2890..1ae55a277db 100644 --- a/service/groundstation/go_module_metadata.go +++ b/service/groundstation/go_module_metadata.go @@ -3,4 +3,4 @@ package groundstation // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.30.2" +const goModuleVersion = "1.30.3" diff --git a/service/guardduty/CHANGELOG.md b/service/guardduty/CHANGELOG.md index 4bf652ff5a4..88a17d87632 100644 --- a/service/guardduty/CHANGELOG.md +++ b/service/guardduty/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.48.3 (2024-09-27) + +* No change notes available for this release. + # v1.48.2 (2024-09-25) * No change notes available for this release. diff --git a/service/guardduty/api_client.go b/service/guardduty/api_client.go index 94354241136..9d4b51bfa3f 100644 --- a/service/guardduty/api_client.go +++ b/service/guardduty/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/guardduty/go_module_metadata.go b/service/guardduty/go_module_metadata.go index fcc93773395..c4016750a6a 100644 --- a/service/guardduty/go_module_metadata.go +++ b/service/guardduty/go_module_metadata.go @@ -3,4 +3,4 @@ package guardduty // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.48.2" +const goModuleVersion = "1.48.3" diff --git a/service/health/CHANGELOG.md b/service/health/CHANGELOG.md index 68e1fcc1ec2..63f9736d8d9 100644 --- a/service/health/CHANGELOG.md +++ b/service/health/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/health/api_client.go b/service/health/api_client.go index 96b76263c3a..05b39cd6685 100644 --- a/service/health/api_client.go +++ b/service/health/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/health/go_module_metadata.go b/service/health/go_module_metadata.go index 91a75910df6..20599903d5f 100644 --- a/service/health/go_module_metadata.go +++ b/service/health/go_module_metadata.go @@ -3,4 +3,4 @@ package health // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/healthlake/CHANGELOG.md b/service/healthlake/CHANGELOG.md index 26dc0a552bb..b1fc98ffaf9 100644 --- a/service/healthlake/CHANGELOG.md +++ b/service/healthlake/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.27.4 (2024-09-27) + +* No change notes available for this release. + +# v1.27.3 (2024-09-26) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/healthlake/api_client.go b/service/healthlake/api_client.go index 9647128e457..e99e9f788ff 100644 --- a/service/healthlake/api_client.go +++ b/service/healthlake/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/healthlake/go_module_metadata.go b/service/healthlake/go_module_metadata.go index 063590c7d46..a1cebd74184 100644 --- a/service/healthlake/go_module_metadata.go +++ b/service/healthlake/go_module_metadata.go @@ -3,4 +3,4 @@ package healthlake // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.4" diff --git a/service/healthlake/internal/endpoints/endpoints.go b/service/healthlake/internal/endpoints/endpoints.go index d1a6953563b..372bb77814d 100644 --- a/service/healthlake/internal/endpoints/endpoints.go +++ b/service/healthlake/internal/endpoints/endpoints.go @@ -142,6 +142,12 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "ap-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "us-east-1", }: endpoints.Endpoint{}, diff --git a/service/iam/CHANGELOG.md b/service/iam/CHANGELOG.md index 644230ccab3..e6307c27f72 100644 --- a/service/iam/CHANGELOG.md +++ b/service/iam/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.36.3 (2024-09-27) + +* No change notes available for this release. + # v1.36.2 (2024-09-25) * No change notes available for this release. diff --git a/service/iam/api_client.go b/service/iam/api_client.go index 57c28186fc6..4bfff9e461f 100644 --- a/service/iam/api_client.go +++ b/service/iam/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/iam/go_module_metadata.go b/service/iam/go_module_metadata.go index c9b02e63914..85e7c97ef30 100644 --- a/service/iam/go_module_metadata.go +++ b/service/iam/go_module_metadata.go @@ -3,4 +3,4 @@ package iam // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.36.2" +const goModuleVersion = "1.36.3" diff --git a/service/identitystore/CHANGELOG.md b/service/identitystore/CHANGELOG.md index 8b8fd4bcdf1..cf2c2d6cea3 100644 --- a/service/identitystore/CHANGELOG.md +++ b/service/identitystore/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/identitystore/api_client.go b/service/identitystore/api_client.go index e723395ecdf..6fab7ad129e 100644 --- a/service/identitystore/api_client.go +++ b/service/identitystore/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/identitystore/go_module_metadata.go b/service/identitystore/go_module_metadata.go index 950276102a6..cf4fa3b588d 100644 --- a/service/identitystore/go_module_metadata.go +++ b/service/identitystore/go_module_metadata.go @@ -3,4 +3,4 @@ package identitystore // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/imagebuilder/CHANGELOG.md b/service/imagebuilder/CHANGELOG.md index ae739575a81..75fbcad2e0e 100644 --- a/service/imagebuilder/CHANGELOG.md +++ b/service/imagebuilder/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.36.3 (2024-09-27) + +* No change notes available for this release. + # v1.36.2 (2024-09-25) * No change notes available for this release. diff --git a/service/imagebuilder/api_client.go b/service/imagebuilder/api_client.go index 509f6688797..3cee8633a55 100644 --- a/service/imagebuilder/api_client.go +++ b/service/imagebuilder/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/imagebuilder/go_module_metadata.go b/service/imagebuilder/go_module_metadata.go index c544a85d8b4..ec7c03d1ccb 100644 --- a/service/imagebuilder/go_module_metadata.go +++ b/service/imagebuilder/go_module_metadata.go @@ -3,4 +3,4 @@ package imagebuilder // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.36.2" +const goModuleVersion = "1.36.3" diff --git a/service/inspector/CHANGELOG.md b/service/inspector/CHANGELOG.md index b68fdfa1bff..e04eaa73282 100644 --- a/service/inspector/CHANGELOG.md +++ b/service/inspector/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/inspector/api_client.go b/service/inspector/api_client.go index 6ba0180b686..364fa4f4ebd 100644 --- a/service/inspector/api_client.go +++ b/service/inspector/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/inspector/go_module_metadata.go b/service/inspector/go_module_metadata.go index e75bf6341b2..b03096f69d9 100644 --- a/service/inspector/go_module_metadata.go +++ b/service/inspector/go_module_metadata.go @@ -3,4 +3,4 @@ package inspector // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/inspector2/CHANGELOG.md b/service/inspector2/CHANGELOG.md index a471b73bcf6..df5870863fa 100644 --- a/service/inspector2/CHANGELOG.md +++ b/service/inspector2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.31.3 (2024-09-27) + +* No change notes available for this release. + # v1.31.2 (2024-09-25) * No change notes available for this release. diff --git a/service/inspector2/api_client.go b/service/inspector2/api_client.go index ff48cdfdc97..b4cf063482d 100644 --- a/service/inspector2/api_client.go +++ b/service/inspector2/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/inspector2/go_module_metadata.go b/service/inspector2/go_module_metadata.go index ae45793b229..835abc96314 100644 --- a/service/inspector2/go_module_metadata.go +++ b/service/inspector2/go_module_metadata.go @@ -3,4 +3,4 @@ package inspector2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.31.2" +const goModuleVersion = "1.31.3" diff --git a/service/inspectorscan/CHANGELOG.md b/service/inspectorscan/CHANGELOG.md index ae69a3a13ff..08bf5706cda 100644 --- a/service/inspectorscan/CHANGELOG.md +++ b/service/inspectorscan/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.6.3 (2024-09-27) + +* No change notes available for this release. + # v1.6.2 (2024-09-25) * No change notes available for this release. diff --git a/service/inspectorscan/api_client.go b/service/inspectorscan/api_client.go index 08ceae4c78d..43a6bbfcf7c 100644 --- a/service/inspectorscan/api_client.go +++ b/service/inspectorscan/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/inspectorscan/go_module_metadata.go b/service/inspectorscan/go_module_metadata.go index 355a8df95d5..c248bd4d179 100644 --- a/service/inspectorscan/go_module_metadata.go +++ b/service/inspectorscan/go_module_metadata.go @@ -3,4 +3,4 @@ package inspectorscan // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.2" +const goModuleVersion = "1.6.3" diff --git a/service/internal/benchmark/go.mod b/service/internal/benchmark/go.mod index 8773a3eeda1..94245ceaac7 100644 --- a/service/internal/benchmark/go.mod +++ b/service/internal/benchmark/go.mod @@ -5,10 +5,10 @@ go 1.21 require ( github.com/aws/aws-sdk-go v1.44.28 github.com/aws/aws-sdk-go-v2 v1.31.0 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.35.2 - github.com/aws/aws-sdk-go-v2/service/lexruntimeservice v1.23.2 - github.com/aws/aws-sdk-go-v2/service/s3 v1.63.2 - github.com/aws/aws-sdk-go-v2/service/schemas v1.27.2 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.35.3 + github.com/aws/aws-sdk-go-v2/service/lexruntimeservice v1.23.3 + github.com/aws/aws-sdk-go-v2/service/s3 v1.63.3 + github.com/aws/aws-sdk-go-v2/service/schemas v1.27.3 github.com/aws/smithy-go v1.21.0 ) diff --git a/service/internal/eventstreamtesting/CHANGELOG.md b/service/internal/eventstreamtesting/CHANGELOG.md index 52576869cd5..ad0086fbb06 100644 --- a/service/internal/eventstreamtesting/CHANGELOG.md +++ b/service/internal/eventstreamtesting/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.4.24 (2024-09-27) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.4.23 (2024-09-25) * **Dependency Update**: Updated to the latest SDK module versions diff --git a/service/internal/eventstreamtesting/go.mod b/service/internal/eventstreamtesting/go.mod index 95fb3b80836..6c8ba09d2d8 100644 --- a/service/internal/eventstreamtesting/go.mod +++ b/service/internal/eventstreamtesting/go.mod @@ -5,7 +5,7 @@ go 1.21 require ( github.com/aws/aws-sdk-go-v2 v1.31.0 github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.5 - github.com/aws/aws-sdk-go-v2/credentials v1.17.36 + github.com/aws/aws-sdk-go-v2/credentials v1.17.37 ) require github.com/aws/smithy-go v1.21.0 // indirect diff --git a/service/internal/eventstreamtesting/go_module_metadata.go b/service/internal/eventstreamtesting/go_module_metadata.go index 76af98942ba..f6010ee14e5 100644 --- a/service/internal/eventstreamtesting/go_module_metadata.go +++ b/service/internal/eventstreamtesting/go_module_metadata.go @@ -3,4 +3,4 @@ package eventstreamtesting // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.4.23" +const goModuleVersion = "1.4.24" diff --git a/service/internal/integrationtest/go.mod b/service/internal/integrationtest/go.mod index 6bc6e82ca33..7774035bb31 100644 --- a/service/internal/integrationtest/go.mod +++ b/service/internal/integrationtest/go.mod @@ -2,93 +2,93 @@ module github.com/aws/aws-sdk-go-v2/service/internal/integrationtest require ( github.com/aws/aws-sdk-go-v2 v1.31.0 - github.com/aws/aws-sdk-go-v2/config v1.27.38 - github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.24 - github.com/aws/aws-sdk-go-v2/service/acm v1.29.2 - github.com/aws/aws-sdk-go-v2/service/apigateway v1.26.2 - github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.32.2 - github.com/aws/aws-sdk-go-v2/service/applicationdiscoveryservice v1.27.2 - github.com/aws/aws-sdk-go-v2/service/appstream v1.39.2 - github.com/aws/aws-sdk-go-v2/service/athena v1.46.1 - github.com/aws/aws-sdk-go-v2/service/autoscaling v1.44.2 - github.com/aws/aws-sdk-go-v2/service/batch v1.45.2 - github.com/aws/aws-sdk-go-v2/service/cloudformation v1.54.2 - github.com/aws/aws-sdk-go-v2/service/cloudfront v1.39.2 - github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 v1.26.2 - github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.43.2 - github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.41.2 - github.com/aws/aws-sdk-go-v2/service/codebuild v1.44.2 - github.com/aws/aws-sdk-go-v2/service/codecommit v1.26.2 - github.com/aws/aws-sdk-go-v2/service/codedeploy v1.28.2 - github.com/aws/aws-sdk-go-v2/service/codepipeline v1.32.2 - github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider v1.45.2 - github.com/aws/aws-sdk-go-v2/service/configservice v1.49.2 - github.com/aws/aws-sdk-go-v2/service/costandusagereportservice v1.27.2 - github.com/aws/aws-sdk-go-v2/service/databasemigrationservice v1.41.2 - github.com/aws/aws-sdk-go-v2/service/devicefarm v1.27.2 - github.com/aws/aws-sdk-go-v2/service/directconnect v1.28.2 - github.com/aws/aws-sdk-go-v2/service/directoryservice v1.29.2 - github.com/aws/aws-sdk-go-v2/service/docdb v1.38.2 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.35.2 - github.com/aws/aws-sdk-go-v2/service/ec2 v1.179.1 - github.com/aws/aws-sdk-go-v2/service/ecr v1.35.2 - github.com/aws/aws-sdk-go-v2/service/ecs v1.46.2 - github.com/aws/aws-sdk-go-v2/service/efs v1.32.2 - github.com/aws/aws-sdk-go-v2/service/elasticache v1.41.2 - github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.27.2 - github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing v1.27.2 - github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.38.2 - github.com/aws/aws-sdk-go-v2/service/elasticsearchservice v1.31.2 - github.com/aws/aws-sdk-go-v2/service/elastictranscoder v1.26.2 - github.com/aws/aws-sdk-go-v2/service/emr v1.44.2 - github.com/aws/aws-sdk-go-v2/service/eventbridge v1.34.2 - github.com/aws/aws-sdk-go-v2/service/firehose v1.33.2 - github.com/aws/aws-sdk-go-v2/service/gamelift v1.35.2 - github.com/aws/aws-sdk-go-v2/service/glacier v1.25.2 - github.com/aws/aws-sdk-go-v2/service/glue v1.99.1 - github.com/aws/aws-sdk-go-v2/service/health v1.27.2 - github.com/aws/aws-sdk-go-v2/service/iam v1.36.2 - github.com/aws/aws-sdk-go-v2/service/inspector v1.24.2 - github.com/aws/aws-sdk-go-v2/service/iot v1.57.2 - github.com/aws/aws-sdk-go-v2/service/kinesis v1.31.1 - github.com/aws/aws-sdk-go-v2/service/kms v1.36.2 - github.com/aws/aws-sdk-go-v2/service/lambda v1.61.2 - github.com/aws/aws-sdk-go-v2/service/lightsail v1.41.2 - github.com/aws/aws-sdk-go-v2/service/marketplacecommerceanalytics v1.23.2 - github.com/aws/aws-sdk-go-v2/service/neptune v1.34.2 - github.com/aws/aws-sdk-go-v2/service/pinpointemail v1.22.2 - github.com/aws/aws-sdk-go-v2/service/polly v1.44.2 - github.com/aws/aws-sdk-go-v2/service/rds v1.85.1 - github.com/aws/aws-sdk-go-v2/service/redshift v1.47.2 - github.com/aws/aws-sdk-go-v2/service/rekognition v1.44.2 - github.com/aws/aws-sdk-go-v2/service/route53 v1.44.2 - github.com/aws/aws-sdk-go-v2/service/route53domains v1.26.2 - github.com/aws/aws-sdk-go-v2/service/route53resolver v1.31.2 - github.com/aws/aws-sdk-go-v2/service/s3 v1.63.2 - github.com/aws/aws-sdk-go-v2/service/s3control v1.48.2 - github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.33.2 - github.com/aws/aws-sdk-go-v2/service/servicecatalog v1.31.2 - github.com/aws/aws-sdk-go-v2/service/ses v1.27.2 - github.com/aws/aws-sdk-go-v2/service/sfn v1.32.2 - github.com/aws/aws-sdk-go-v2/service/shield v1.28.2 - github.com/aws/aws-sdk-go-v2/service/snowball v1.29.2 - github.com/aws/aws-sdk-go-v2/service/sns v1.32.2 - github.com/aws/aws-sdk-go-v2/service/sqs v1.35.2 - github.com/aws/aws-sdk-go-v2/service/ssm v1.54.2 - github.com/aws/aws-sdk-go-v2/service/sts v1.31.2 - github.com/aws/aws-sdk-go-v2/service/support v1.25.2 - github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.28.2 - github.com/aws/aws-sdk-go-v2/service/transcribestreaming v1.20.2 - github.com/aws/aws-sdk-go-v2/service/waf v1.24.2 - github.com/aws/aws-sdk-go-v2/service/wafregional v1.24.2 - github.com/aws/aws-sdk-go-v2/service/wafv2 v1.53.2 - github.com/aws/aws-sdk-go-v2/service/workspaces v1.47.2 + github.com/aws/aws-sdk-go-v2/config v1.27.39 + github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.25 + github.com/aws/aws-sdk-go-v2/service/acm v1.29.3 + github.com/aws/aws-sdk-go-v2/service/apigateway v1.26.3 + github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.32.3 + github.com/aws/aws-sdk-go-v2/service/applicationdiscoveryservice v1.27.3 + github.com/aws/aws-sdk-go-v2/service/appstream v1.39.3 + github.com/aws/aws-sdk-go-v2/service/athena v1.46.2 + github.com/aws/aws-sdk-go-v2/service/autoscaling v1.44.3 + github.com/aws/aws-sdk-go-v2/service/batch v1.45.3 + github.com/aws/aws-sdk-go-v2/service/cloudformation v1.54.3 + github.com/aws/aws-sdk-go-v2/service/cloudfront v1.39.3 + github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 v1.26.3 + github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.43.3 + github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.41.3 + github.com/aws/aws-sdk-go-v2/service/codebuild v1.44.3 + github.com/aws/aws-sdk-go-v2/service/codecommit v1.26.3 + github.com/aws/aws-sdk-go-v2/service/codedeploy v1.28.3 + github.com/aws/aws-sdk-go-v2/service/codepipeline v1.32.3 + github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider v1.45.3 + github.com/aws/aws-sdk-go-v2/service/configservice v1.49.3 + github.com/aws/aws-sdk-go-v2/service/costandusagereportservice v1.27.3 + github.com/aws/aws-sdk-go-v2/service/databasemigrationservice v1.41.3 + github.com/aws/aws-sdk-go-v2/service/devicefarm v1.27.3 + github.com/aws/aws-sdk-go-v2/service/directconnect v1.28.3 + github.com/aws/aws-sdk-go-v2/service/directoryservice v1.29.3 + github.com/aws/aws-sdk-go-v2/service/docdb v1.38.3 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.35.3 + github.com/aws/aws-sdk-go-v2/service/ec2 v1.179.2 + github.com/aws/aws-sdk-go-v2/service/ecr v1.35.3 + github.com/aws/aws-sdk-go-v2/service/ecs v1.46.3 + github.com/aws/aws-sdk-go-v2/service/efs v1.32.3 + github.com/aws/aws-sdk-go-v2/service/elasticache v1.41.3 + github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.27.3 + github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing v1.27.3 + github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.38.3 + github.com/aws/aws-sdk-go-v2/service/elasticsearchservice v1.31.3 + github.com/aws/aws-sdk-go-v2/service/elastictranscoder v1.26.3 + github.com/aws/aws-sdk-go-v2/service/emr v1.44.3 + github.com/aws/aws-sdk-go-v2/service/eventbridge v1.34.3 + github.com/aws/aws-sdk-go-v2/service/firehose v1.33.3 + github.com/aws/aws-sdk-go-v2/service/gamelift v1.35.3 + github.com/aws/aws-sdk-go-v2/service/glacier v1.25.3 + github.com/aws/aws-sdk-go-v2/service/glue v1.99.2 + github.com/aws/aws-sdk-go-v2/service/health v1.27.3 + github.com/aws/aws-sdk-go-v2/service/iam v1.36.3 + github.com/aws/aws-sdk-go-v2/service/inspector v1.24.3 + github.com/aws/aws-sdk-go-v2/service/iot v1.57.3 + github.com/aws/aws-sdk-go-v2/service/kinesis v1.31.2 + github.com/aws/aws-sdk-go-v2/service/kms v1.36.3 + github.com/aws/aws-sdk-go-v2/service/lambda v1.62.1 + github.com/aws/aws-sdk-go-v2/service/lightsail v1.41.3 + github.com/aws/aws-sdk-go-v2/service/marketplacecommerceanalytics v1.23.3 + github.com/aws/aws-sdk-go-v2/service/neptune v1.34.3 + github.com/aws/aws-sdk-go-v2/service/pinpointemail v1.22.3 + github.com/aws/aws-sdk-go-v2/service/polly v1.44.3 + github.com/aws/aws-sdk-go-v2/service/rds v1.85.2 + github.com/aws/aws-sdk-go-v2/service/redshift v1.47.3 + github.com/aws/aws-sdk-go-v2/service/rekognition v1.44.3 + github.com/aws/aws-sdk-go-v2/service/route53 v1.44.3 + github.com/aws/aws-sdk-go-v2/service/route53domains v1.26.3 + github.com/aws/aws-sdk-go-v2/service/route53resolver v1.31.3 + github.com/aws/aws-sdk-go-v2/service/s3 v1.63.3 + github.com/aws/aws-sdk-go-v2/service/s3control v1.48.3 + github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.33.3 + github.com/aws/aws-sdk-go-v2/service/servicecatalog v1.31.3 + github.com/aws/aws-sdk-go-v2/service/ses v1.27.3 + github.com/aws/aws-sdk-go-v2/service/sfn v1.32.3 + github.com/aws/aws-sdk-go-v2/service/shield v1.28.3 + github.com/aws/aws-sdk-go-v2/service/snowball v1.29.3 + github.com/aws/aws-sdk-go-v2/service/sns v1.32.3 + github.com/aws/aws-sdk-go-v2/service/sqs v1.35.3 + github.com/aws/aws-sdk-go-v2/service/ssm v1.54.3 + github.com/aws/aws-sdk-go-v2/service/sts v1.31.3 + github.com/aws/aws-sdk-go-v2/service/support v1.25.3 + github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.28.3 + github.com/aws/aws-sdk-go-v2/service/transcribestreaming v1.20.3 + github.com/aws/aws-sdk-go-v2/service/waf v1.24.3 + github.com/aws/aws-sdk-go-v2/service/wafregional v1.24.3 + github.com/aws/aws-sdk-go-v2/service/wafv2 v1.53.3 + github.com/aws/aws-sdk-go-v2/service/workspaces v1.47.3 github.com/aws/smithy-go v1.21.0 ) require ( github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.5 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.17.36 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.17.37 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.14 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect @@ -99,8 +99,8 @@ require ( github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.19 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.20 // indirect github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.18 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.23.2 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.2 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.23.3 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.3 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect ) diff --git a/service/internetmonitor/CHANGELOG.md b/service/internetmonitor/CHANGELOG.md index e54dc9b3907..39c204f0d0b 100644 --- a/service/internetmonitor/CHANGELOG.md +++ b/service/internetmonitor/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.18.3 (2024-09-27) + +* No change notes available for this release. + # v1.18.2 (2024-09-25) * No change notes available for this release. diff --git a/service/internetmonitor/api_client.go b/service/internetmonitor/api_client.go index f8ed9674e35..557373cf666 100644 --- a/service/internetmonitor/api_client.go +++ b/service/internetmonitor/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/internetmonitor/go_module_metadata.go b/service/internetmonitor/go_module_metadata.go index 34d67b61491..974fff77ef1 100644 --- a/service/internetmonitor/go_module_metadata.go +++ b/service/internetmonitor/go_module_metadata.go @@ -3,4 +3,4 @@ package internetmonitor // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.2" +const goModuleVersion = "1.18.3" diff --git a/service/iot/CHANGELOG.md b/service/iot/CHANGELOG.md index b7ee693a745..b1c6f3e83e4 100644 --- a/service/iot/CHANGELOG.md +++ b/service/iot/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.57.3 (2024-09-27) + +* No change notes available for this release. + # v1.57.2 (2024-09-25) * No change notes available for this release. diff --git a/service/iot/api_client.go b/service/iot/api_client.go index 0bb9865fe07..169f646809b 100644 --- a/service/iot/api_client.go +++ b/service/iot/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/iot/go_module_metadata.go b/service/iot/go_module_metadata.go index 55e31bb60c3..57d7cbdcfb6 100644 --- a/service/iot/go_module_metadata.go +++ b/service/iot/go_module_metadata.go @@ -3,4 +3,4 @@ package iot // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.57.2" +const goModuleVersion = "1.57.3" diff --git a/service/iot1clickdevicesservice/CHANGELOG.md b/service/iot1clickdevicesservice/CHANGELOG.md index c279b954eb4..062a71928ca 100644 --- a/service/iot1clickdevicesservice/CHANGELOG.md +++ b/service/iot1clickdevicesservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/iot1clickdevicesservice/api_client.go b/service/iot1clickdevicesservice/api_client.go index 2ab338b6461..c437a0d362a 100644 --- a/service/iot1clickdevicesservice/api_client.go +++ b/service/iot1clickdevicesservice/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/iot1clickdevicesservice/go_module_metadata.go b/service/iot1clickdevicesservice/go_module_metadata.go index 222ba769a61..dcdccef59ae 100644 --- a/service/iot1clickdevicesservice/go_module_metadata.go +++ b/service/iot1clickdevicesservice/go_module_metadata.go @@ -3,4 +3,4 @@ package iot1clickdevicesservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/iot1clickprojects/CHANGELOG.md b/service/iot1clickprojects/CHANGELOG.md index 4ed362b6b42..7daaf4cf88f 100644 --- a/service/iot1clickprojects/CHANGELOG.md +++ b/service/iot1clickprojects/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/iot1clickprojects/api_client.go b/service/iot1clickprojects/api_client.go index bf12c7b5f87..eb885cb5688 100644 --- a/service/iot1clickprojects/api_client.go +++ b/service/iot1clickprojects/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/iot1clickprojects/go_module_metadata.go b/service/iot1clickprojects/go_module_metadata.go index d349b9368e0..82928d264d0 100644 --- a/service/iot1clickprojects/go_module_metadata.go +++ b/service/iot1clickprojects/go_module_metadata.go @@ -3,4 +3,4 @@ package iot1clickprojects // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/iotanalytics/CHANGELOG.md b/service/iotanalytics/CHANGELOG.md index 5555da927d8..0dcd67d94e9 100644 --- a/service/iotanalytics/CHANGELOG.md +++ b/service/iotanalytics/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/iotanalytics/api_client.go b/service/iotanalytics/api_client.go index eb501958878..87695d2ddd2 100644 --- a/service/iotanalytics/api_client.go +++ b/service/iotanalytics/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/iotanalytics/go_module_metadata.go b/service/iotanalytics/go_module_metadata.go index 42d3e49cd7f..a8c898431dc 100644 --- a/service/iotanalytics/go_module_metadata.go +++ b/service/iotanalytics/go_module_metadata.go @@ -3,4 +3,4 @@ package iotanalytics // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/iotdataplane/CHANGELOG.md b/service/iotdataplane/CHANGELOG.md index 7f7eb90fe9e..fd041341d60 100644 --- a/service/iotdataplane/CHANGELOG.md +++ b/service/iotdataplane/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/iotdataplane/api_client.go b/service/iotdataplane/api_client.go index 13f3fbb9058..91853ffc077 100644 --- a/service/iotdataplane/api_client.go +++ b/service/iotdataplane/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/iotdataplane/go_module_metadata.go b/service/iotdataplane/go_module_metadata.go index e81df3589b7..82d68c392f3 100644 --- a/service/iotdataplane/go_module_metadata.go +++ b/service/iotdataplane/go_module_metadata.go @@ -3,4 +3,4 @@ package iotdataplane // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/iotdeviceadvisor/CHANGELOG.md b/service/iotdeviceadvisor/CHANGELOG.md index 848653286d5..376f4470f9c 100644 --- a/service/iotdeviceadvisor/CHANGELOG.md +++ b/service/iotdeviceadvisor/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.29.3 (2024-09-27) + +* No change notes available for this release. + # v1.29.2 (2024-09-25) * No change notes available for this release. diff --git a/service/iotdeviceadvisor/api_client.go b/service/iotdeviceadvisor/api_client.go index 5e62d9a87e7..9039095b4b5 100644 --- a/service/iotdeviceadvisor/api_client.go +++ b/service/iotdeviceadvisor/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/iotdeviceadvisor/go_module_metadata.go b/service/iotdeviceadvisor/go_module_metadata.go index 8542a4bba92..a49d82a0eaf 100644 --- a/service/iotdeviceadvisor/go_module_metadata.go +++ b/service/iotdeviceadvisor/go_module_metadata.go @@ -3,4 +3,4 @@ package iotdeviceadvisor // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.29.2" +const goModuleVersion = "1.29.3" diff --git a/service/iotevents/CHANGELOG.md b/service/iotevents/CHANGELOG.md index 3f39c8566d2..47499242af4 100644 --- a/service/iotevents/CHANGELOG.md +++ b/service/iotevents/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/iotevents/api_client.go b/service/iotevents/api_client.go index 63bc3f79bf9..2616c5c4518 100644 --- a/service/iotevents/api_client.go +++ b/service/iotevents/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/iotevents/go_module_metadata.go b/service/iotevents/go_module_metadata.go index 5fccbdc9941..89e738f4c6a 100644 --- a/service/iotevents/go_module_metadata.go +++ b/service/iotevents/go_module_metadata.go @@ -3,4 +3,4 @@ package iotevents // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/ioteventsdata/CHANGELOG.md b/service/ioteventsdata/CHANGELOG.md index 4c7f8af1fa1..fb5975d3123 100644 --- a/service/ioteventsdata/CHANGELOG.md +++ b/service/ioteventsdata/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ioteventsdata/api_client.go b/service/ioteventsdata/api_client.go index 28cc06e37c0..0d52e557fd8 100644 --- a/service/ioteventsdata/api_client.go +++ b/service/ioteventsdata/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ioteventsdata/go_module_metadata.go b/service/ioteventsdata/go_module_metadata.go index aa3c422beeb..184ea19bc17 100644 --- a/service/ioteventsdata/go_module_metadata.go +++ b/service/ioteventsdata/go_module_metadata.go @@ -3,4 +3,4 @@ package ioteventsdata // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/iotfleethub/CHANGELOG.md b/service/iotfleethub/CHANGELOG.md index ba451c71935..e61b24bffd1 100644 --- a/service/iotfleethub/CHANGELOG.md +++ b/service/iotfleethub/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/iotfleethub/api_client.go b/service/iotfleethub/api_client.go index 27ade82dbd3..fe5731e0fe5 100644 --- a/service/iotfleethub/api_client.go +++ b/service/iotfleethub/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/iotfleethub/go_module_metadata.go b/service/iotfleethub/go_module_metadata.go index e1ee4441b5a..d31dd2f3780 100644 --- a/service/iotfleethub/go_module_metadata.go +++ b/service/iotfleethub/go_module_metadata.go @@ -3,4 +3,4 @@ package iotfleethub // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/iotfleetwise/CHANGELOG.md b/service/iotfleetwise/CHANGELOG.md index 60e20966b32..85fab99066b 100644 --- a/service/iotfleetwise/CHANGELOG.md +++ b/service/iotfleetwise/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.18.3 (2024-09-27) + +* No change notes available for this release. + # v1.18.2 (2024-09-25) * No change notes available for this release. diff --git a/service/iotfleetwise/api_client.go b/service/iotfleetwise/api_client.go index 62d105d0f34..5625533e432 100644 --- a/service/iotfleetwise/api_client.go +++ b/service/iotfleetwise/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/iotfleetwise/go_module_metadata.go b/service/iotfleetwise/go_module_metadata.go index 75f2f2a83d7..af80186582b 100644 --- a/service/iotfleetwise/go_module_metadata.go +++ b/service/iotfleetwise/go_module_metadata.go @@ -3,4 +3,4 @@ package iotfleetwise // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.2" +const goModuleVersion = "1.18.3" diff --git a/service/iotjobsdataplane/CHANGELOG.md b/service/iotjobsdataplane/CHANGELOG.md index cc2b7ee1e84..0709654be1b 100644 --- a/service/iotjobsdataplane/CHANGELOG.md +++ b/service/iotjobsdataplane/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/iotjobsdataplane/api_client.go b/service/iotjobsdataplane/api_client.go index ee7f7e5085d..910d35fb1f5 100644 --- a/service/iotjobsdataplane/api_client.go +++ b/service/iotjobsdataplane/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/iotjobsdataplane/go_module_metadata.go b/service/iotjobsdataplane/go_module_metadata.go index fc70c3965c9..f119b4383c7 100644 --- a/service/iotjobsdataplane/go_module_metadata.go +++ b/service/iotjobsdataplane/go_module_metadata.go @@ -3,4 +3,4 @@ package iotjobsdataplane // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/iotsecuretunneling/CHANGELOG.md b/service/iotsecuretunneling/CHANGELOG.md index 5fd849e4da3..4921a431c88 100644 --- a/service/iotsecuretunneling/CHANGELOG.md +++ b/service/iotsecuretunneling/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/iotsecuretunneling/api_client.go b/service/iotsecuretunneling/api_client.go index 73c845441e5..24ccdd1a545 100644 --- a/service/iotsecuretunneling/api_client.go +++ b/service/iotsecuretunneling/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/iotsecuretunneling/go_module_metadata.go b/service/iotsecuretunneling/go_module_metadata.go index 85f8657a9e0..8feb07c4106 100644 --- a/service/iotsecuretunneling/go_module_metadata.go +++ b/service/iotsecuretunneling/go_module_metadata.go @@ -3,4 +3,4 @@ package iotsecuretunneling // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/iotsitewise/CHANGELOG.md b/service/iotsitewise/CHANGELOG.md index f87cf1b3b9c..1cf57864540 100644 --- a/service/iotsitewise/CHANGELOG.md +++ b/service/iotsitewise/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.42.3 (2024-09-27) + +* No change notes available for this release. + # v1.42.2 (2024-09-25) * No change notes available for this release. diff --git a/service/iotsitewise/api_client.go b/service/iotsitewise/api_client.go index 92988d69d51..a16801e2089 100644 --- a/service/iotsitewise/api_client.go +++ b/service/iotsitewise/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/iotsitewise/go_module_metadata.go b/service/iotsitewise/go_module_metadata.go index 89f4c4679ff..3f3a021e218 100644 --- a/service/iotsitewise/go_module_metadata.go +++ b/service/iotsitewise/go_module_metadata.go @@ -3,4 +3,4 @@ package iotsitewise // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.42.2" +const goModuleVersion = "1.42.3" diff --git a/service/iotthingsgraph/CHANGELOG.md b/service/iotthingsgraph/CHANGELOG.md index af908efed78..fdf556c2cd9 100644 --- a/service/iotthingsgraph/CHANGELOG.md +++ b/service/iotthingsgraph/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/iotthingsgraph/api_client.go b/service/iotthingsgraph/api_client.go index 0554cedef3e..ed0c819494b 100644 --- a/service/iotthingsgraph/api_client.go +++ b/service/iotthingsgraph/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/iotthingsgraph/go_module_metadata.go b/service/iotthingsgraph/go_module_metadata.go index 61a9fb41686..fde1ab588ee 100644 --- a/service/iotthingsgraph/go_module_metadata.go +++ b/service/iotthingsgraph/go_module_metadata.go @@ -3,4 +3,4 @@ package iotthingsgraph // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/iottwinmaker/CHANGELOG.md b/service/iottwinmaker/CHANGELOG.md index 8e2b9b21224..6a025ea82bb 100644 --- a/service/iottwinmaker/CHANGELOG.md +++ b/service/iottwinmaker/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/iottwinmaker/api_client.go b/service/iottwinmaker/api_client.go index 76245deb741..b77b22ff317 100644 --- a/service/iottwinmaker/api_client.go +++ b/service/iottwinmaker/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/iottwinmaker/go_module_metadata.go b/service/iottwinmaker/go_module_metadata.go index e2a2cdf1d69..1acf7f5dbd3 100644 --- a/service/iottwinmaker/go_module_metadata.go +++ b/service/iottwinmaker/go_module_metadata.go @@ -3,4 +3,4 @@ package iottwinmaker // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/iotwireless/CHANGELOG.md b/service/iotwireless/CHANGELOG.md index 267da3aad8e..c31315394e2 100644 --- a/service/iotwireless/CHANGELOG.md +++ b/service/iotwireless/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.43.3 (2024-09-27) + +* No change notes available for this release. + # v1.43.2 (2024-09-25) * No change notes available for this release. diff --git a/service/iotwireless/api_client.go b/service/iotwireless/api_client.go index 91aefc37b35..b2d02e5e801 100644 --- a/service/iotwireless/api_client.go +++ b/service/iotwireless/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/iotwireless/go_module_metadata.go b/service/iotwireless/go_module_metadata.go index 288b91ce076..5cf750fc14c 100644 --- a/service/iotwireless/go_module_metadata.go +++ b/service/iotwireless/go_module_metadata.go @@ -3,4 +3,4 @@ package iotwireless // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.43.2" +const goModuleVersion = "1.43.3" diff --git a/service/ivs/CHANGELOG.md b/service/ivs/CHANGELOG.md index 3bc8b4808af..61a2ca87924 100644 --- a/service/ivs/CHANGELOG.md +++ b/service/ivs/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.39.3 (2024-09-27) + +* No change notes available for this release. + # v1.39.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ivs/api_client.go b/service/ivs/api_client.go index 2b5c1628913..c3c55813e20 100644 --- a/service/ivs/api_client.go +++ b/service/ivs/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ivs/go_module_metadata.go b/service/ivs/go_module_metadata.go index 4f6695cb3bb..9453265ed8e 100644 --- a/service/ivs/go_module_metadata.go +++ b/service/ivs/go_module_metadata.go @@ -3,4 +3,4 @@ package ivs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.39.2" +const goModuleVersion = "1.39.3" diff --git a/service/ivschat/CHANGELOG.md b/service/ivschat/CHANGELOG.md index 02086bf5243..706157dcd0e 100644 --- a/service/ivschat/CHANGELOG.md +++ b/service/ivschat/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.3 (2024-09-27) + +* No change notes available for this release. + # v1.15.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ivschat/api_client.go b/service/ivschat/api_client.go index 6bba44a2fe1..0d7dcb3931c 100644 --- a/service/ivschat/api_client.go +++ b/service/ivschat/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ivschat/go_module_metadata.go b/service/ivschat/go_module_metadata.go index 71b2d081fc4..ab1179d771f 100644 --- a/service/ivschat/go_module_metadata.go +++ b/service/ivschat/go_module_metadata.go @@ -3,4 +3,4 @@ package ivschat // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.2" +const goModuleVersion = "1.15.3" diff --git a/service/ivsrealtime/CHANGELOG.md b/service/ivsrealtime/CHANGELOG.md index 163c72d3162..9c96451ee27 100644 --- a/service/ivsrealtime/CHANGELOG.md +++ b/service/ivsrealtime/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.18.3 (2024-09-27) + +* No change notes available for this release. + # v1.18.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ivsrealtime/api_client.go b/service/ivsrealtime/api_client.go index 38cc068678f..10c7dade7d3 100644 --- a/service/ivsrealtime/api_client.go +++ b/service/ivsrealtime/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ivsrealtime/go_module_metadata.go b/service/ivsrealtime/go_module_metadata.go index fcfa9e87f4c..6a2a7047a5c 100644 --- a/service/ivsrealtime/go_module_metadata.go +++ b/service/ivsrealtime/go_module_metadata.go @@ -3,4 +3,4 @@ package ivsrealtime // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.2" +const goModuleVersion = "1.18.3" diff --git a/service/kafka/CHANGELOG.md b/service/kafka/CHANGELOG.md index 5b60bc550a9..02b5b1cf856 100644 --- a/service/kafka/CHANGELOG.md +++ b/service/kafka/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.37.3 (2024-09-27) + +* No change notes available for this release. + # v1.37.2 (2024-09-25) * No change notes available for this release. diff --git a/service/kafka/api_client.go b/service/kafka/api_client.go index 45d0e9c57d6..c2802d7c28f 100644 --- a/service/kafka/api_client.go +++ b/service/kafka/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/kafka/go_module_metadata.go b/service/kafka/go_module_metadata.go index 70c0dee9817..218849df7f2 100644 --- a/service/kafka/go_module_metadata.go +++ b/service/kafka/go_module_metadata.go @@ -3,4 +3,4 @@ package kafka // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.37.2" +const goModuleVersion = "1.37.3" diff --git a/service/kafkaconnect/CHANGELOG.md b/service/kafkaconnect/CHANGELOG.md index b4d14694ae4..cd48c28c3cc 100644 --- a/service/kafkaconnect/CHANGELOG.md +++ b/service/kafkaconnect/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.20.3 (2024-09-27) + +* No change notes available for this release. + # v1.20.2 (2024-09-25) * No change notes available for this release. diff --git a/service/kafkaconnect/api_client.go b/service/kafkaconnect/api_client.go index 4da4684a7c0..4dad789bc67 100644 --- a/service/kafkaconnect/api_client.go +++ b/service/kafkaconnect/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/kafkaconnect/go_module_metadata.go b/service/kafkaconnect/go_module_metadata.go index 56fa7917620..fc14ef82332 100644 --- a/service/kafkaconnect/go_module_metadata.go +++ b/service/kafkaconnect/go_module_metadata.go @@ -3,4 +3,4 @@ package kafkaconnect // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.2" +const goModuleVersion = "1.20.3" diff --git a/service/kendra/CHANGELOG.md b/service/kendra/CHANGELOG.md index aa36ead249b..f7e3d36a857 100644 --- a/service/kendra/CHANGELOG.md +++ b/service/kendra/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.53.3 (2024-09-27) + +* No change notes available for this release. + # v1.53.2 (2024-09-25) * No change notes available for this release. diff --git a/service/kendra/api_client.go b/service/kendra/api_client.go index 9880623e63c..9112685b727 100644 --- a/service/kendra/api_client.go +++ b/service/kendra/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/kendra/go_module_metadata.go b/service/kendra/go_module_metadata.go index b41c2e9f1a3..d1e7c3acc39 100644 --- a/service/kendra/go_module_metadata.go +++ b/service/kendra/go_module_metadata.go @@ -3,4 +3,4 @@ package kendra // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.53.2" +const goModuleVersion = "1.53.3" diff --git a/service/kendraranking/CHANGELOG.md b/service/kendraranking/CHANGELOG.md index 82539c3bf8c..69e4b6c871d 100644 --- a/service/kendraranking/CHANGELOG.md +++ b/service/kendraranking/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.10.3 (2024-09-27) + +* No change notes available for this release. + # v1.10.2 (2024-09-25) * No change notes available for this release. diff --git a/service/kendraranking/api_client.go b/service/kendraranking/api_client.go index 13b13d66b8f..e575b2b0be8 100644 --- a/service/kendraranking/api_client.go +++ b/service/kendraranking/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/kendraranking/go_module_metadata.go b/service/kendraranking/go_module_metadata.go index eed94ca9b53..04677fdd954 100644 --- a/service/kendraranking/go_module_metadata.go +++ b/service/kendraranking/go_module_metadata.go @@ -3,4 +3,4 @@ package kendraranking // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.10.2" +const goModuleVersion = "1.10.3" diff --git a/service/keyspaces/CHANGELOG.md b/service/keyspaces/CHANGELOG.md index dc873ab0655..858662d6074 100644 --- a/service/keyspaces/CHANGELOG.md +++ b/service/keyspaces/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.3 (2024-09-27) + +* No change notes available for this release. + # v1.13.2 (2024-09-25) * No change notes available for this release. diff --git a/service/keyspaces/api_client.go b/service/keyspaces/api_client.go index c3a8f1e93bf..ddeac8b36c9 100644 --- a/service/keyspaces/api_client.go +++ b/service/keyspaces/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/keyspaces/go_module_metadata.go b/service/keyspaces/go_module_metadata.go index 77415dc6d3f..bf7d8558fe2 100644 --- a/service/keyspaces/go_module_metadata.go +++ b/service/keyspaces/go_module_metadata.go @@ -3,4 +3,4 @@ package keyspaces // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.2" +const goModuleVersion = "1.13.3" diff --git a/service/kinesis/CHANGELOG.md b/service/kinesis/CHANGELOG.md index c058fd6389a..c6cde141008 100644 --- a/service/kinesis/CHANGELOG.md +++ b/service/kinesis/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.31.2 (2024-09-27) + +* No change notes available for this release. + # v1.31.1 (2024-09-25) * No change notes available for this release. diff --git a/service/kinesis/api_client.go b/service/kinesis/api_client.go index f54daf6590c..f9970ccdef3 100644 --- a/service/kinesis/api_client.go +++ b/service/kinesis/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/kinesis/go_module_metadata.go b/service/kinesis/go_module_metadata.go index 4aa8a5d6e0b..65cf673e2d3 100644 --- a/service/kinesis/go_module_metadata.go +++ b/service/kinesis/go_module_metadata.go @@ -3,4 +3,4 @@ package kinesis // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.31.1" +const goModuleVersion = "1.31.2" diff --git a/service/kinesis/internal/testing/go.mod b/service/kinesis/internal/testing/go.mod index a8d50ca3cdf..1be270cb6e8 100644 --- a/service/kinesis/internal/testing/go.mod +++ b/service/kinesis/internal/testing/go.mod @@ -5,13 +5,13 @@ go 1.21 require ( github.com/aws/aws-sdk-go-v2 v1.31.0 github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.5 - github.com/aws/aws-sdk-go-v2/service/internal/eventstreamtesting v1.4.23 - github.com/aws/aws-sdk-go-v2/service/kinesis v1.31.1 + github.com/aws/aws-sdk-go-v2/service/internal/eventstreamtesting v1.4.24 + github.com/aws/aws-sdk-go-v2/service/kinesis v1.31.2 github.com/aws/smithy-go v1.21.0 ) require ( - github.com/aws/aws-sdk-go-v2/credentials v1.17.36 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.17.37 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect diff --git a/service/kinesisanalytics/CHANGELOG.md b/service/kinesisanalytics/CHANGELOG.md index 6af6c312e9b..cdca1ed9edf 100644 --- a/service/kinesisanalytics/CHANGELOG.md +++ b/service/kinesisanalytics/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/kinesisanalytics/api_client.go b/service/kinesisanalytics/api_client.go index 0f404861d09..636874e749f 100644 --- a/service/kinesisanalytics/api_client.go +++ b/service/kinesisanalytics/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/kinesisanalytics/go_module_metadata.go b/service/kinesisanalytics/go_module_metadata.go index 37a1523b8cb..20916324ec4 100644 --- a/service/kinesisanalytics/go_module_metadata.go +++ b/service/kinesisanalytics/go_module_metadata.go @@ -3,4 +3,4 @@ package kinesisanalytics // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/kinesisanalyticsv2/CHANGELOG.md b/service/kinesisanalyticsv2/CHANGELOG.md index b000705df5d..02e9ecc57e4 100644 --- a/service/kinesisanalyticsv2/CHANGELOG.md +++ b/service/kinesisanalyticsv2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.30.3 (2024-09-27) + +* No change notes available for this release. + # v1.30.2 (2024-09-25) * No change notes available for this release. diff --git a/service/kinesisanalyticsv2/api_client.go b/service/kinesisanalyticsv2/api_client.go index 6219e8a5c04..4d16d0c35fe 100644 --- a/service/kinesisanalyticsv2/api_client.go +++ b/service/kinesisanalyticsv2/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/kinesisanalyticsv2/go_module_metadata.go b/service/kinesisanalyticsv2/go_module_metadata.go index 2e6e4141c35..a99612252f3 100644 --- a/service/kinesisanalyticsv2/go_module_metadata.go +++ b/service/kinesisanalyticsv2/go_module_metadata.go @@ -3,4 +3,4 @@ package kinesisanalyticsv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.30.2" +const goModuleVersion = "1.30.3" diff --git a/service/kinesisvideo/CHANGELOG.md b/service/kinesisvideo/CHANGELOG.md index 5072d72314c..144d738b044 100644 --- a/service/kinesisvideo/CHANGELOG.md +++ b/service/kinesisvideo/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/kinesisvideo/api_client.go b/service/kinesisvideo/api_client.go index 488c9bcab3a..9acea3f268b 100644 --- a/service/kinesisvideo/api_client.go +++ b/service/kinesisvideo/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/kinesisvideo/go_module_metadata.go b/service/kinesisvideo/go_module_metadata.go index db879093806..8338581c00e 100644 --- a/service/kinesisvideo/go_module_metadata.go +++ b/service/kinesisvideo/go_module_metadata.go @@ -3,4 +3,4 @@ package kinesisvideo // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/kinesisvideoarchivedmedia/CHANGELOG.md b/service/kinesisvideoarchivedmedia/CHANGELOG.md index b07e65f5cfe..9cfbf2c1ac8 100644 --- a/service/kinesisvideoarchivedmedia/CHANGELOG.md +++ b/service/kinesisvideoarchivedmedia/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/kinesisvideoarchivedmedia/api_client.go b/service/kinesisvideoarchivedmedia/api_client.go index 73efbee5299..9ee7f3ccf96 100644 --- a/service/kinesisvideoarchivedmedia/api_client.go +++ b/service/kinesisvideoarchivedmedia/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/kinesisvideoarchivedmedia/go_module_metadata.go b/service/kinesisvideoarchivedmedia/go_module_metadata.go index c62f137d1fb..e6fb2f326b7 100644 --- a/service/kinesisvideoarchivedmedia/go_module_metadata.go +++ b/service/kinesisvideoarchivedmedia/go_module_metadata.go @@ -3,4 +3,4 @@ package kinesisvideoarchivedmedia // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/kinesisvideomedia/CHANGELOG.md b/service/kinesisvideomedia/CHANGELOG.md index aa7a68ea2ee..54445605a72 100644 --- a/service/kinesisvideomedia/CHANGELOG.md +++ b/service/kinesisvideomedia/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.21.3 (2024-09-27) + +* No change notes available for this release. + # v1.21.2 (2024-09-25) * No change notes available for this release. diff --git a/service/kinesisvideomedia/api_client.go b/service/kinesisvideomedia/api_client.go index 4724a55ec25..a0f672dfc0f 100644 --- a/service/kinesisvideomedia/api_client.go +++ b/service/kinesisvideomedia/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/kinesisvideomedia/go_module_metadata.go b/service/kinesisvideomedia/go_module_metadata.go index fef392834e7..8906c59c4ab 100644 --- a/service/kinesisvideomedia/go_module_metadata.go +++ b/service/kinesisvideomedia/go_module_metadata.go @@ -3,4 +3,4 @@ package kinesisvideomedia // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.21.2" +const goModuleVersion = "1.21.3" diff --git a/service/kinesisvideosignaling/CHANGELOG.md b/service/kinesisvideosignaling/CHANGELOG.md index 1688fd917fa..498033ab5ba 100644 --- a/service/kinesisvideosignaling/CHANGELOG.md +++ b/service/kinesisvideosignaling/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/kinesisvideosignaling/api_client.go b/service/kinesisvideosignaling/api_client.go index fe6bd5687aa..82fb2127bb7 100644 --- a/service/kinesisvideosignaling/api_client.go +++ b/service/kinesisvideosignaling/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/kinesisvideosignaling/go_module_metadata.go b/service/kinesisvideosignaling/go_module_metadata.go index 23d0dd756a4..47aa772ad53 100644 --- a/service/kinesisvideosignaling/go_module_metadata.go +++ b/service/kinesisvideosignaling/go_module_metadata.go @@ -3,4 +3,4 @@ package kinesisvideosignaling // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/kinesisvideowebrtcstorage/CHANGELOG.md b/service/kinesisvideowebrtcstorage/CHANGELOG.md index 4c9b56e092b..54ff1698bc3 100644 --- a/service/kinesisvideowebrtcstorage/CHANGELOG.md +++ b/service/kinesisvideowebrtcstorage/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.3 (2024-09-27) + +* No change notes available for this release. + # v1.13.2 (2024-09-25) * No change notes available for this release. diff --git a/service/kinesisvideowebrtcstorage/api_client.go b/service/kinesisvideowebrtcstorage/api_client.go index 58a1314e08a..25d7c0b45ac 100644 --- a/service/kinesisvideowebrtcstorage/api_client.go +++ b/service/kinesisvideowebrtcstorage/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/kinesisvideowebrtcstorage/go_module_metadata.go b/service/kinesisvideowebrtcstorage/go_module_metadata.go index 911449d4a9c..01834162f1d 100644 --- a/service/kinesisvideowebrtcstorage/go_module_metadata.go +++ b/service/kinesisvideowebrtcstorage/go_module_metadata.go @@ -3,4 +3,4 @@ package kinesisvideowebrtcstorage // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.2" +const goModuleVersion = "1.13.3" diff --git a/service/kms/CHANGELOG.md b/service/kms/CHANGELOG.md index cfde0430b4f..a967b5079f2 100644 --- a/service/kms/CHANGELOG.md +++ b/service/kms/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.36.3 (2024-09-27) + +* No change notes available for this release. + # v1.36.2 (2024-09-25) * No change notes available for this release. diff --git a/service/kms/api_client.go b/service/kms/api_client.go index 5c50c166dc7..c5e6b2a2e20 100644 --- a/service/kms/api_client.go +++ b/service/kms/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/kms/go_module_metadata.go b/service/kms/go_module_metadata.go index 2b9e2d7ae05..7ae7d409dce 100644 --- a/service/kms/go_module_metadata.go +++ b/service/kms/go_module_metadata.go @@ -3,4 +3,4 @@ package kms // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.36.2" +const goModuleVersion = "1.36.3" diff --git a/service/lakeformation/CHANGELOG.md b/service/lakeformation/CHANGELOG.md index 0e4907bf054..39367cc96c7 100644 --- a/service/lakeformation/CHANGELOG.md +++ b/service/lakeformation/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.36.3 (2024-09-27) + +* No change notes available for this release. + # v1.36.2 (2024-09-25) * No change notes available for this release. diff --git a/service/lakeformation/api_client.go b/service/lakeformation/api_client.go index 018797eb787..59daeee944b 100644 --- a/service/lakeformation/api_client.go +++ b/service/lakeformation/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/lakeformation/go_module_metadata.go b/service/lakeformation/go_module_metadata.go index 2c0ccc58939..47ab91517ae 100644 --- a/service/lakeformation/go_module_metadata.go +++ b/service/lakeformation/go_module_metadata.go @@ -3,4 +3,4 @@ package lakeformation // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.36.2" +const goModuleVersion = "1.36.3" diff --git a/service/lambda/CHANGELOG.md b/service/lambda/CHANGELOG.md index b64bdc98b6f..cad3e8e2b37 100644 --- a/service/lambda/CHANGELOG.md +++ b/service/lambda/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.62.1 (2024-09-27) + +* No change notes available for this release. + +# v1.62.0 (2024-09-26) + +* **Feature**: Reverting Lambda resource-based policy and block public access APIs. + # v1.61.2 (2024-09-25) * No change notes available for this release. diff --git a/service/lambda/api_client.go b/service/lambda/api_client.go index 870e0e1df35..5ae893f6aeb 100644 --- a/service/lambda/api_client.go +++ b/service/lambda/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/lambda/api_op_AddPermission.go b/service/lambda/api_op_AddPermission.go index 129572dfe15..aa9d8e88e36 100644 --- a/service/lambda/api_op_AddPermission.go +++ b/service/lambda/api_op_AddPermission.go @@ -19,13 +19,13 @@ import ( // // To grant permission to another account, specify the account ID as the Principal // . To grant permission to an organization defined in Organizations, specify the -// organization ID as the PrincipalOrgID . For Amazon Web Servicesservices, the +// organization ID as the PrincipalOrgID . For Amazon Web Services services, the // principal is a domain-style identifier that the service defines, such as -// s3.amazonaws.com or sns.amazonaws.com . For Amazon Web Servicesservices, you can -// also specify the ARN of the associated resource as the SourceArn . If you grant -// permission to a service principal without specifying the source, other accounts -// could potentially configure resources in their account to invoke your Lambda -// function. +// s3.amazonaws.com or sns.amazonaws.com . For Amazon Web Services services, you +// can also specify the ARN of the associated resource as the SourceArn . If you +// grant permission to a service principal without specifying the source, other +// accounts could potentially configure resources in their account to invoke your +// Lambda function. // // This operation adds a statement to a resource-based permissions policy for the // function. For more information about function policies, see [Using resource-based policies for Lambda]. @@ -72,7 +72,7 @@ type AddPermissionInput struct { // This member is required. FunctionName *string - // The Amazon Web Servicesservice, Amazon Web Services account, IAM user, or IAM + // The Amazon Web Services service, Amazon Web Services account, IAM user, or IAM // role that invokes the function. If you specify a service, use SourceArn or // SourceAccount to limit who can invoke the function through that service. // @@ -108,13 +108,13 @@ type AddPermissionInput struct { // this option to avoid modifying a policy that has changed since you last read it. RevisionId *string - // For Amazon Web Servicesservice, the ID of the Amazon Web Services account that + // For Amazon Web Services service, the ID of the Amazon Web Services account that // owns the resource. Use this together with SourceArn to ensure that the // specified account owns the resource. It is possible for an Amazon S3 bucket to // be deleted by its owner and recreated by another account. SourceAccount *string - // For Amazon Web Servicesservices, the ARN of the Amazon Web Services resource + // For Amazon Web Services services, the ARN of the Amazon Web Services resource // that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. // // Note that Lambda configures the comparison using the StringLike operator. diff --git a/service/lambda/api_op_CreateFunction.go b/service/lambda/api_op_CreateFunction.go index f8e98d7fa30..918cc2624c1 100644 --- a/service/lambda/api_op_CreateFunction.go +++ b/service/lambda/api_op_CreateFunction.go @@ -14,8 +14,8 @@ import ( // Creates a Lambda function. To create a function, you need a [deployment package] and an [execution role]. The // deployment package is a .zip file archive or container image that contains your // function code. The execution role grants the function permission to use Amazon -// Web Servicesservices, such as Amazon CloudWatch Logs for log streaming and X-Ray -// for request tracing. +// Web Services services, such as Amazon CloudWatch Logs for log streaming and +// X-Ray for request tracing. // // If the deployment package is a [container image], then you set the package type to Image . For a // container image, the code property must include the URI of a container image in @@ -54,15 +54,15 @@ import ( // code-signing configuration includes set of signing profiles, which define the // trusted publishers for this function. // -// If another Amazon Web Services account or an Amazon Web Servicesservice invokes -// your function, use AddPermissionto grant permission by creating a resource-based Identity -// and Access Management (IAM) policy. You can grant permissions at the function -// level, on a version, or on an alias. +// If another Amazon Web Services account or an Amazon Web Services service +// invokes your function, use AddPermissionto grant permission by creating a resource-based +// Identity and Access Management (IAM) policy. You can grant permissions at the +// function level, on a version, or on an alias. // // To invoke your function directly, use Invoke. To invoke your function in response to -// events in other Amazon Web Servicesservices, create an event source mapping (CreateEventSourceMapping ), -// or configure a function trigger in the other service. For more information, see [Invoking Lambda functions] -// . +// events in other Amazon Web Services services, create an event source mapping (CreateEventSourceMapping +// ), or configure a function trigger in the other service. For more information, +// see [Invoking Lambda functions]. // // [Invoking Lambda functions]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html // [Lambda function states]: https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html diff --git a/service/lambda/api_op_DeleteFunction.go b/service/lambda/api_op_DeleteFunction.go index 512c0dc87b1..ce30b53f668 100644 --- a/service/lambda/api_op_DeleteFunction.go +++ b/service/lambda/api_op_DeleteFunction.go @@ -15,7 +15,7 @@ import ( // doesn't require the user to have explicit permissions for DeleteAlias. // // To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon -// Web Servicesservices and resources that invoke your function directly, delete +// Web Services services and resources that invoke your function directly, delete // the trigger in the service where you originally configured it. func (c *Client) DeleteFunction(ctx context.Context, params *DeleteFunctionInput, optFns ...func(*Options)) (*DeleteFunctionOutput, error) { if params == nil { diff --git a/service/lambda/api_op_DeleteResourcePolicy.go b/service/lambda/api_op_DeleteResourcePolicy.go deleted file mode 100644 index a74b3b6107a..00000000000 --- a/service/lambda/api_op_DeleteResourcePolicy.go +++ /dev/null @@ -1,165 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package lambda - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// The option to create and modify full JSON resource-based policies, and to use -// the PutResourcePolicy, GetResourcePolicy, and DeleteResourcePolicy APIs, won't -// be available in all Amazon Web Services Regions until September 30, 2024. -// -// Deletes a [resource-based policy] from a function. -// -// [resource-based policy]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html -func (c *Client) DeleteResourcePolicy(ctx context.Context, params *DeleteResourcePolicyInput, optFns ...func(*Options)) (*DeleteResourcePolicyOutput, error) { - if params == nil { - params = &DeleteResourcePolicyInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "DeleteResourcePolicy", params, optFns, c.addOperationDeleteResourcePolicyMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*DeleteResourcePolicyOutput) - out.ResultMetadata = metadata - return out, nil -} - -type DeleteResourcePolicyInput struct { - - // The Amazon Resource Name (ARN) of the function you want to delete the policy - // from. You can use either a qualified or an unqualified ARN, but the value you - // specify must be a complete ARN and wildcard characters are not accepted. - // - // This member is required. - ResourceArn *string - - // Delete the existing policy only if its revision ID matches the string you - // specify. To find the revision ID of the policy currently attached to your - // function, use the GetResourcePolicyaction. - RevisionId *string - - noSmithyDocumentSerde -} - -type DeleteResourcePolicyOutput struct { - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpDeleteResourcePolicy{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDeleteResourcePolicy{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "DeleteResourcePolicy"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opDeleteResourcePolicy(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "DeleteResourcePolicy", - } -} diff --git a/service/lambda/api_op_GetPublicAccessBlockConfig.go b/service/lambda/api_op_GetPublicAccessBlockConfig.go deleted file mode 100644 index 81f943cb812..00000000000 --- a/service/lambda/api_op_GetPublicAccessBlockConfig.go +++ /dev/null @@ -1,162 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package lambda - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/aws-sdk-go-v2/service/lambda/types" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// The option to configure public-access settings, and to use the -// PutPublicAccessBlock and GetPublicAccessBlock APIs, won't be available in all -// Amazon Web Services Regions until September 30, 2024. -// -// Retrieve the public-access settings for a function. -func (c *Client) GetPublicAccessBlockConfig(ctx context.Context, params *GetPublicAccessBlockConfigInput, optFns ...func(*Options)) (*GetPublicAccessBlockConfigOutput, error) { - if params == nil { - params = &GetPublicAccessBlockConfigInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "GetPublicAccessBlockConfig", params, optFns, c.addOperationGetPublicAccessBlockConfigMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*GetPublicAccessBlockConfigOutput) - out.ResultMetadata = metadata - return out, nil -} - -type GetPublicAccessBlockConfigInput struct { - - // The Amazon Resource Name (ARN) of the function you want to retrieve - // public-access settings for. - // - // This member is required. - ResourceArn *string - - noSmithyDocumentSerde -} - -type GetPublicAccessBlockConfigOutput struct { - - // The public-access settings configured for the function you specified - PublicAccessBlockConfig *types.PublicAccessBlockConfig - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationGetPublicAccessBlockConfigMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpGetPublicAccessBlockConfig{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpGetPublicAccessBlockConfig{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "GetPublicAccessBlockConfig"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpGetPublicAccessBlockConfigValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPublicAccessBlockConfig(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opGetPublicAccessBlockConfig(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "GetPublicAccessBlockConfig", - } -} diff --git a/service/lambda/api_op_GetResourcePolicy.go b/service/lambda/api_op_GetResourcePolicy.go deleted file mode 100644 index 0776d0a3409..00000000000 --- a/service/lambda/api_op_GetResourcePolicy.go +++ /dev/null @@ -1,167 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package lambda - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// The option to create and modify full JSON resource-based policies, and to use -// the PutResourcePolicy, GetResourcePolicy, and DeleteResourcePolicy APIs, won't -// be available in all Amazon Web Services Regions until September 30, 2024. -// -// Retrieves the [resource-based policy] attached to a function. -// -// [resource-based policy]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html -func (c *Client) GetResourcePolicy(ctx context.Context, params *GetResourcePolicyInput, optFns ...func(*Options)) (*GetResourcePolicyOutput, error) { - if params == nil { - params = &GetResourcePolicyInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "GetResourcePolicy", params, optFns, c.addOperationGetResourcePolicyMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*GetResourcePolicyOutput) - out.ResultMetadata = metadata - return out, nil -} - -type GetResourcePolicyInput struct { - - // The Amazon Resource Name (ARN) of the function you want to retrieve the policy - // for. You can use either a qualified or an unqualified ARN, but the value you - // specify must be a complete ARN and wildcard characters are not accepted. - // - // This member is required. - ResourceArn *string - - noSmithyDocumentSerde -} - -type GetResourcePolicyOutput struct { - - // The resource-based policy attached to the function you specified. - Policy *string - - // The revision ID of the policy. - RevisionId *string - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpGetResourcePolicy{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpGetResourcePolicy{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "GetResourcePolicy"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicy(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opGetResourcePolicy(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "GetResourcePolicy", - } -} diff --git a/service/lambda/api_op_ListTags.go b/service/lambda/api_op_ListTags.go index 937b2a29837..36ef9f6dca2 100644 --- a/service/lambda/api_op_ListTags.go +++ b/service/lambda/api_op_ListTags.go @@ -11,7 +11,7 @@ import ( ) // Returns a function, event source mapping, or code signing configuration's [tags]. You -// can also view funciton tags with GetFunction. +// can also view function tags with GetFunction. // // [tags]: https://docs.aws.amazon.com/lambda/latest/dg/tagging.html func (c *Client) ListTags(ctx context.Context, params *ListTagsInput, optFns ...func(*Options)) (*ListTagsOutput, error) { diff --git a/service/lambda/api_op_PutPublicAccessBlockConfig.go b/service/lambda/api_op_PutPublicAccessBlockConfig.go deleted file mode 100644 index 8a61645b774..00000000000 --- a/service/lambda/api_op_PutPublicAccessBlockConfig.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package lambda - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/aws-sdk-go-v2/service/lambda/types" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// The option to configure public-access settings, and to use the -// PutPublicAccessBlock and GetPublicAccessBlock APIs, won't be available in all -// Amazon Web Services Regions until September 30, 2024. -// -// Configure your function's public-access settings. -// -// To control public access to a Lambda function, you can choose whether to allow -// the creation of [resource-based policies]that allow public access to that function. You can also block -// public access to a function, even if it has an existing resource-based policy -// that allows it. -// -// [resource-based policies]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html -func (c *Client) PutPublicAccessBlockConfig(ctx context.Context, params *PutPublicAccessBlockConfigInput, optFns ...func(*Options)) (*PutPublicAccessBlockConfigOutput, error) { - if params == nil { - params = &PutPublicAccessBlockConfigInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "PutPublicAccessBlockConfig", params, optFns, c.addOperationPutPublicAccessBlockConfigMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*PutPublicAccessBlockConfigOutput) - out.ResultMetadata = metadata - return out, nil -} - -type PutPublicAccessBlockConfigInput struct { - - // An object defining the public-access settings you want to apply. - // - // To block the creation of resource-based policies that would grant public access - // to your function, set BlockPublicPolicy to true . To allow the creation of - // resource-based policies that would grant public access to your function, set - // BlockPublicPolicy to false . - // - // To block public access to your function, even if its resource-based policy - // allows it, set RestrictPublicResource to true . To allow public access to a - // function with a resource-based policy that permits it, set - // RestrictPublicResource to false . - // - // The default setting for both BlockPublicPolicy and RestrictPublicResource is - // true . - // - // This member is required. - PublicAccessBlockConfig *types.PublicAccessBlockConfig - - // The Amazon Resource Name (ARN) of the function you want to configure - // public-access settings for. Public-access settings are applied at the function - // level, so you can't apply different settings to function versions or aliases. - // - // This member is required. - ResourceArn *string - - noSmithyDocumentSerde -} - -type PutPublicAccessBlockConfigOutput struct { - - // The public-access settings Lambda applied to your function. - PublicAccessBlockConfig *types.PublicAccessBlockConfig - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationPutPublicAccessBlockConfigMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpPutPublicAccessBlockConfig{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpPutPublicAccessBlockConfig{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "PutPublicAccessBlockConfig"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpPutPublicAccessBlockConfigValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPublicAccessBlockConfig(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opPutPublicAccessBlockConfig(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "PutPublicAccessBlockConfig", - } -} diff --git a/service/lambda/api_op_PutResourcePolicy.go b/service/lambda/api_op_PutResourcePolicy.go deleted file mode 100644 index db7c65b0d0b..00000000000 --- a/service/lambda/api_op_PutResourcePolicy.go +++ /dev/null @@ -1,192 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package lambda - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// The option to create and modify full JSON resource-based policies, and to use -// the PutResourcePolicy, GetResourcePolicy, and DeleteResourcePolicy APIs, won't -// be available in all Amazon Web Services Regions until September 30, 2024. -// -// Adds a [resource-based policy] to a function. You can use resource-based policies to grant access to -// other [Amazon Web Services accounts], [organizations], or [services]. Resource-based policies apply to a single function, version, or -// alias. -// -// Adding a resource-based policy using this API action replaces any existing -// policy you've previously created. This means that if you've previously added -// resource-based permissions to a function using the AddPermissionaction, those permissions -// will be overwritten by your new policy. -// -// [resource-based policy]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html -// [Amazon Web Services accounts]: https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-cross-account.html -// [organizations]: https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-organization.html -// [services]: https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-services.html -func (c *Client) PutResourcePolicy(ctx context.Context, params *PutResourcePolicyInput, optFns ...func(*Options)) (*PutResourcePolicyOutput, error) { - if params == nil { - params = &PutResourcePolicyInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "PutResourcePolicy", params, optFns, c.addOperationPutResourcePolicyMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*PutResourcePolicyOutput) - out.ResultMetadata = metadata - return out, nil -} - -type PutResourcePolicyInput struct { - - // The JSON resource-based policy you want to add to your function. - // - // To learn more about creating resource-based policies for controlling access to - // Lambda, see [Working with resource-based IAM policies in Lambda]in the Lambda Developer Guide. - // - // [Working with resource-based IAM policies in Lambda]: https://docs.aws.amazon.com/ - // - // This member is required. - Policy *string - - // The Amazon Resource Name (ARN) of the function you want to add the policy to. - // You can use either a qualified or an unqualified ARN, but the value you specify - // must be a complete ARN and wildcard characters are not accepted. - // - // This member is required. - ResourceArn *string - - // Replace the existing policy only if its revision ID matches the string you - // specify. To find the revision ID of the policy currently attached to your - // function, use the GetResourcePolicyaction. - RevisionId *string - - noSmithyDocumentSerde -} - -type PutResourcePolicyOutput struct { - - // The policy Lambda added to your function. - Policy *string - - // The revision ID of the policy Lambda added to your function. - RevisionId *string - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpPutResourcePolicy{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpPutResourcePolicy{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "PutResourcePolicy"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opPutResourcePolicy(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "PutResourcePolicy", - } -} diff --git a/service/lambda/api_op_RemovePermission.go b/service/lambda/api_op_RemovePermission.go index d045cff8b56..2aa97662fe2 100644 --- a/service/lambda/api_op_RemovePermission.go +++ b/service/lambda/api_op_RemovePermission.go @@ -10,7 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Revokes function-use permission from an Amazon Web Servicesservice or another +// Revokes function-use permission from an Amazon Web Services service or another // Amazon Web Services account. You can get the ID of the statement from the output // of GetPolicy. func (c *Client) RemovePermission(ctx context.Context, params *RemovePermissionInput, optFns ...func(*Options)) (*RemovePermissionOutput, error) { diff --git a/service/lambda/api_op_UpdateFunctionConfiguration.go b/service/lambda/api_op_UpdateFunctionConfiguration.go index e9433d724c7..0afa8430eee 100644 --- a/service/lambda/api_op_UpdateFunctionConfiguration.go +++ b/service/lambda/api_op_UpdateFunctionConfiguration.go @@ -26,7 +26,7 @@ import ( // only the unpublished version. // // To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions to an -// Amazon Web Services account or Amazon Web Servicesservice, use AddPermission. +// Amazon Web Services account or Amazon Web Services service, use AddPermission. // // [Lambda function states]: https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html func (c *Client) UpdateFunctionConfiguration(ctx context.Context, params *UpdateFunctionConfigurationInput, optFns ...func(*Options)) (*UpdateFunctionConfigurationOutput, error) { diff --git a/service/lambda/deserializers.go b/service/lambda/deserializers.go index 4e11ff715d0..ded498a1b22 100644 --- a/service/lambda/deserializers.go +++ b/service/lambda/deserializers.go @@ -328,9 +328,6 @@ func awsRestjson1_deserializeOpErrorAddPermission(response *smithyhttp.Response, case strings.EqualFold("PreconditionFailedException", errorCode): return awsRestjson1_deserializeErrorPreconditionFailedException(response, errorBody) - case strings.EqualFold("PublicPolicyException", errorCode): - return awsRestjson1_deserializeErrorPublicPolicyException(response, errorBody) - case strings.EqualFold("ResourceConflictException", errorCode): return awsRestjson1_deserializeErrorResourceConflictException(response, errorBody) @@ -3199,115 +3196,6 @@ func awsRestjson1_deserializeOpErrorDeleteProvisionedConcurrencyConfig(response } } -type awsRestjson1_deserializeOpDeleteResourcePolicy struct { -} - -func (*awsRestjson1_deserializeOpDeleteResourcePolicy) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpDeleteResourcePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorDeleteResourcePolicy(response, &metadata) - } - output := &DeleteResourcePolicyOutput{} - out.Result = output - - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to discard response body, %w", err), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorDeleteResourcePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InvalidParameterValueException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) - - case strings.EqualFold("PreconditionFailedException", errorCode): - return awsRestjson1_deserializeErrorPreconditionFailedException(response, errorBody) - - case strings.EqualFold("ResourceConflictException", errorCode): - return awsRestjson1_deserializeErrorResourceConflictException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("ServiceException", errorCode): - return awsRestjson1_deserializeErrorServiceException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - type awsRestjson1_deserializeOpGetAccountSettings struct { } @@ -6834,14 +6722,14 @@ func awsRestjson1_deserializeOpDocumentGetProvisionedConcurrencyConfigOutput(v * return nil } -type awsRestjson1_deserializeOpGetPublicAccessBlockConfig struct { +type awsRestjson1_deserializeOpGetRuntimeManagementConfig struct { } -func (*awsRestjson1_deserializeOpGetPublicAccessBlockConfig) ID() string { +func (*awsRestjson1_deserializeOpGetRuntimeManagementConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpGetPublicAccessBlockConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpGetRuntimeManagementConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -6859,9 +6747,9 @@ func (m *awsRestjson1_deserializeOpGetPublicAccessBlockConfig) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorGetPublicAccessBlockConfig(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorGetRuntimeManagementConfig(response, &metadata) } - output := &GetPublicAccessBlockConfigOutput{} + output := &GetRuntimeManagementConfigOutput{} out.Result = output var buff [1024]byte @@ -6882,7 +6770,7 @@ func (m *awsRestjson1_deserializeOpGetPublicAccessBlockConfig) HandleDeserialize return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentGetPublicAccessBlockConfigOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentGetRuntimeManagementConfigOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -6896,7 +6784,7 @@ func (m *awsRestjson1_deserializeOpGetPublicAccessBlockConfig) HandleDeserialize return out, metadata, err } -func awsRestjson1_deserializeOpErrorGetPublicAccessBlockConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorGetRuntimeManagementConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -6959,7 +6847,7 @@ func awsRestjson1_deserializeOpErrorGetPublicAccessBlockConfig(response *smithyh } } -func awsRestjson1_deserializeOpDocumentGetPublicAccessBlockConfigOutput(v **GetPublicAccessBlockConfigOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentGetRuntimeManagementConfigOutput(v **GetRuntimeManagementConfigOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -6972,18 +6860,40 @@ func awsRestjson1_deserializeOpDocumentGetPublicAccessBlockConfigOutput(v **GetP return fmt.Errorf("unexpected JSON type %v", value) } - var sv *GetPublicAccessBlockConfigOutput + var sv *GetRuntimeManagementConfigOutput if *v == nil { - sv = &GetPublicAccessBlockConfigOutput{} + sv = &GetRuntimeManagementConfigOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "PublicAccessBlockConfig": - if err := awsRestjson1_deserializeDocumentPublicAccessBlockConfig(&sv.PublicAccessBlockConfig, value); err != nil { - return err + case "FunctionArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NameSpacedFunctionArn to be of type string, got %T instead", value) + } + sv.FunctionArn = ptr.String(jtv) + } + + case "RuntimeVersionArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected RuntimeVersionArn to be of type string, got %T instead", value) + } + sv.RuntimeVersionArn = ptr.String(jtv) + } + + case "UpdateRuntimeOn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected UpdateRuntimeOn to be of type string, got %T instead", value) + } + sv.UpdateRuntimeOn = types.UpdateRuntimeOn(jtv) } default: @@ -6995,14 +6905,14 @@ func awsRestjson1_deserializeOpDocumentGetPublicAccessBlockConfigOutput(v **GetP return nil } -type awsRestjson1_deserializeOpGetResourcePolicy struct { +type awsRestjson1_deserializeOpInvoke struct { } -func (*awsRestjson1_deserializeOpGetResourcePolicy) ID() string { +func (*awsRestjson1_deserializeOpInvoke) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpGetResourcePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpInvoke) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7020,44 +6930,26 @@ func (m *awsRestjson1_deserializeOpGetResourcePolicy) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorGetResourcePolicy(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorInvoke(response, &metadata) } - output := &GetResourcePolicyOutput{} + output := &InvokeOutput{} out.Result = output - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err + err = awsRestjson1_deserializeOpHttpBindingsInvokeOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } - err = awsRestjson1_deserializeOpDocumentGetResourcePolicyOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentInvokeOutput(output, response.Body, response.ContentLength) if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to deserialize response payload, %w", err)} } span.End() return out, metadata, err } -func awsRestjson1_deserializeOpErrorGetResourcePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorInvoke(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7098,18 +6990,96 @@ func awsRestjson1_deserializeOpErrorGetResourcePolicy(response *smithyhttp.Respo } switch { + case strings.EqualFold("EC2AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorEC2AccessDeniedException(response, errorBody) + + case strings.EqualFold("EC2ThrottledException", errorCode): + return awsRestjson1_deserializeErrorEC2ThrottledException(response, errorBody) + + case strings.EqualFold("EC2UnexpectedException", errorCode): + return awsRestjson1_deserializeErrorEC2UnexpectedException(response, errorBody) + + case strings.EqualFold("EFSIOException", errorCode): + return awsRestjson1_deserializeErrorEFSIOException(response, errorBody) + + case strings.EqualFold("EFSMountConnectivityException", errorCode): + return awsRestjson1_deserializeErrorEFSMountConnectivityException(response, errorBody) + + case strings.EqualFold("EFSMountFailureException", errorCode): + return awsRestjson1_deserializeErrorEFSMountFailureException(response, errorBody) + + case strings.EqualFold("EFSMountTimeoutException", errorCode): + return awsRestjson1_deserializeErrorEFSMountTimeoutException(response, errorBody) + + case strings.EqualFold("ENILimitReachedException", errorCode): + return awsRestjson1_deserializeErrorENILimitReachedException(response, errorBody) + case strings.EqualFold("InvalidParameterValueException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) + case strings.EqualFold("InvalidRequestContentException", errorCode): + return awsRestjson1_deserializeErrorInvalidRequestContentException(response, errorBody) + + case strings.EqualFold("InvalidRuntimeException", errorCode): + return awsRestjson1_deserializeErrorInvalidRuntimeException(response, errorBody) + + case strings.EqualFold("InvalidSecurityGroupIDException", errorCode): + return awsRestjson1_deserializeErrorInvalidSecurityGroupIDException(response, errorBody) + + case strings.EqualFold("InvalidSubnetIDException", errorCode): + return awsRestjson1_deserializeErrorInvalidSubnetIDException(response, errorBody) + + case strings.EqualFold("InvalidZipFileException", errorCode): + return awsRestjson1_deserializeErrorInvalidZipFileException(response, errorBody) + + case strings.EqualFold("KMSAccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorKMSAccessDeniedException(response, errorBody) + + case strings.EqualFold("KMSDisabledException", errorCode): + return awsRestjson1_deserializeErrorKMSDisabledException(response, errorBody) + + case strings.EqualFold("KMSInvalidStateException", errorCode): + return awsRestjson1_deserializeErrorKMSInvalidStateException(response, errorBody) + + case strings.EqualFold("KMSNotFoundException", errorCode): + return awsRestjson1_deserializeErrorKMSNotFoundException(response, errorBody) + + case strings.EqualFold("RecursiveInvocationException", errorCode): + return awsRestjson1_deserializeErrorRecursiveInvocationException(response, errorBody) + + case strings.EqualFold("RequestTooLargeException", errorCode): + return awsRestjson1_deserializeErrorRequestTooLargeException(response, errorBody) + + case strings.EqualFold("ResourceConflictException", errorCode): + return awsRestjson1_deserializeErrorResourceConflictException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ResourceNotReadyException", errorCode): + return awsRestjson1_deserializeErrorResourceNotReadyException(response, errorBody) + case strings.EqualFold("ServiceException", errorCode): return awsRestjson1_deserializeErrorServiceException(response, errorBody) + case strings.EqualFold("SnapStartException", errorCode): + return awsRestjson1_deserializeErrorSnapStartException(response, errorBody) + + case strings.EqualFold("SnapStartNotReadyException", errorCode): + return awsRestjson1_deserializeErrorSnapStartNotReadyException(response, errorBody) + + case strings.EqualFold("SnapStartTimeoutException", errorCode): + return awsRestjson1_deserializeErrorSnapStartTimeoutException(response, errorBody) + + case strings.EqualFold("SubnetIPAddressLimitReachedException", errorCode): + return awsRestjson1_deserializeErrorSubnetIPAddressLimitReachedException(response, errorBody) + case strings.EqualFold("TooManyRequestsException", errorCode): return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) + case strings.EqualFold("UnsupportedMediaTypeException", errorCode): + return awsRestjson1_deserializeErrorUnsupportedMediaTypeException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -7120,63 +7090,60 @@ func awsRestjson1_deserializeOpErrorGetResourcePolicy(response *smithyhttp.Respo } } -func awsRestjson1_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePolicyOutput, value interface{}) error { +func awsRestjson1_deserializeOpHttpBindingsInvokeOutput(v *InvokeOutput, response *smithyhttp.Response) error { if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) + return fmt.Errorf("unsupported deserialization for nil %T", v) } - if value == nil { - return nil + + if headerValues := response.Header.Values("X-Amz-Executed-Version"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.ExecutedVersion = ptr.String(headerValues[0]) } - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) + if headerValues := response.Header.Values("X-Amz-Function-Error"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.FunctionError = ptr.String(headerValues[0]) } - var sv *GetResourcePolicyOutput - if *v == nil { - sv = &GetResourcePolicyOutput{} - } else { - sv = *v + if headerValues := response.Header.Values("X-Amz-Log-Result"); len(headerValues) != 0 { + headerValues[0] = strings.TrimSpace(headerValues[0]) + v.LogResult = ptr.String(headerValues[0]) } - for key, value := range shape { - switch key { - case "Policy": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ResourcePolicy to be of type string, got %T instead", value) - } - sv.Policy = ptr.String(jtv) - } + v.StatusCode = int32(response.StatusCode) - case "RevisionId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected RevisionId to be of type string, got %T instead", value) - } - sv.RevisionId = ptr.String(jtv) - } + return nil +} +func awsRestjson1_deserializeOpDocumentInvokeOutput(v *InvokeOutput, body io.ReadCloser, contentLength int64) error { + if v == nil { + return fmt.Errorf("unsupported deserialization of nil %T", v) + } - default: - _, _ = key, value + var buf bytes.Buffer + if contentLength > 0 { + buf.Grow(int(contentLength)) + } else { + buf.Grow(512) + } - } + _, err := buf.ReadFrom(body) + if err != nil { + return err + } + if buf.Len() > 0 { + v.Payload = buf.Bytes() } - *v = sv return nil } -type awsRestjson1_deserializeOpGetRuntimeManagementConfig struct { +type awsRestjson1_deserializeOpInvokeAsync struct { } -func (*awsRestjson1_deserializeOpGetRuntimeManagementConfig) ID() string { +func (*awsRestjson1_deserializeOpInvokeAsync) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpGetRuntimeManagementConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpInvokeAsync) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7194,44 +7161,21 @@ func (m *awsRestjson1_deserializeOpGetRuntimeManagementConfig) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorGetRuntimeManagementConfig(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorInvokeAsync(response, &metadata) } - output := &GetRuntimeManagementConfigOutput{} + output := &InvokeAsyncOutput{} out.Result = output - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentGetRuntimeManagementConfigOutput(&output, shape) + err = awsRestjson1_deserializeOpHttpBindingsInvokeAsyncOutput(output, response) if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } span.End() return out, metadata, err } -func awsRestjson1_deserializeOpErrorGetRuntimeManagementConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorInvokeAsync(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7272,8 +7216,14 @@ func awsRestjson1_deserializeOpErrorGetRuntimeManagementConfig(response *smithyh } switch { - case strings.EqualFold("InvalidParameterValueException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) + case strings.EqualFold("InvalidRequestContentException", errorCode): + return awsRestjson1_deserializeErrorInvalidRequestContentException(response, errorBody) + + case strings.EqualFold("InvalidRuntimeException", errorCode): + return awsRestjson1_deserializeErrorInvalidRuntimeException(response, errorBody) + + case strings.EqualFold("ResourceConflictException", errorCode): + return awsRestjson1_deserializeErrorResourceConflictException(response, errorBody) case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) @@ -7281,9 +7231,6 @@ func awsRestjson1_deserializeOpErrorGetRuntimeManagementConfig(response *smithyh case strings.EqualFold("ServiceException", errorCode): return awsRestjson1_deserializeErrorServiceException(response, errorBody) - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -7294,72 +7241,24 @@ func awsRestjson1_deserializeOpErrorGetRuntimeManagementConfig(response *smithyh } } -func awsRestjson1_deserializeOpDocumentGetRuntimeManagementConfigOutput(v **GetRuntimeManagementConfigOutput, value interface{}) error { +func awsRestjson1_deserializeOpHttpBindingsInvokeAsyncOutput(v *InvokeAsyncOutput, response *smithyhttp.Response) error { if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *GetRuntimeManagementConfigOutput - if *v == nil { - sv = &GetRuntimeManagementConfigOutput{} - } else { - sv = *v + return fmt.Errorf("unsupported deserialization for nil %T", v) } - for key, value := range shape { - switch key { - case "FunctionArn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected NameSpacedFunctionArn to be of type string, got %T instead", value) - } - sv.FunctionArn = ptr.String(jtv) - } - - case "RuntimeVersionArn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected RuntimeVersionArn to be of type string, got %T instead", value) - } - sv.RuntimeVersionArn = ptr.String(jtv) - } - - case "UpdateRuntimeOn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected UpdateRuntimeOn to be of type string, got %T instead", value) - } - sv.UpdateRuntimeOn = types.UpdateRuntimeOn(jtv) - } - - default: - _, _ = key, value + v.Status = int32(response.StatusCode) - } - } - *v = sv return nil } -type awsRestjson1_deserializeOpInvoke struct { +type awsRestjson1_deserializeOpInvokeWithResponseStream struct { } -func (*awsRestjson1_deserializeOpInvoke) ID() string { +func (*awsRestjson1_deserializeOpInvokeWithResponseStream) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpInvoke) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpInvokeWithResponseStream) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7377,26 +7276,21 @@ func (m *awsRestjson1_deserializeOpInvoke) HandleDeserialize(ctx context.Context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorInvoke(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorInvokeWithResponseStream(response, &metadata) } - output := &InvokeOutput{} + output := &InvokeWithResponseStreamOutput{} out.Result = output - err = awsRestjson1_deserializeOpHttpBindingsInvokeOutput(output, response) + err = awsRestjson1_deserializeOpHttpBindingsInvokeWithResponseStreamOutput(output, response) if err != nil { return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} } - err = awsRestjson1_deserializeOpDocumentInvokeOutput(output, response.Body, response.ContentLength) - if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to deserialize response payload, %w", err)} - } - span.End() return out, metadata, err } -func awsRestjson1_deserializeOpErrorInvoke(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorInvokeWithResponseStream(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7537,7 +7431,7 @@ func awsRestjson1_deserializeOpErrorInvoke(response *smithyhttp.Response, metada } } -func awsRestjson1_deserializeOpHttpBindingsInvokeOutput(v *InvokeOutput, response *smithyhttp.Response) error { +func awsRestjson1_deserializeOpHttpBindingsInvokeWithResponseStreamOutput(v *InvokeWithResponseStreamOutput, response *smithyhttp.Response) error { if v == nil { return fmt.Errorf("unsupported deserialization for nil %T", v) } @@ -7547,50 +7441,24 @@ func awsRestjson1_deserializeOpHttpBindingsInvokeOutput(v *InvokeOutput, respons v.ExecutedVersion = ptr.String(headerValues[0]) } - if headerValues := response.Header.Values("X-Amz-Function-Error"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.FunctionError = ptr.String(headerValues[0]) - } - - if headerValues := response.Header.Values("X-Amz-Log-Result"); len(headerValues) != 0 { + if headerValues := response.Header.Values("Content-Type"); len(headerValues) != 0 { headerValues[0] = strings.TrimSpace(headerValues[0]) - v.LogResult = ptr.String(headerValues[0]) + v.ResponseStreamContentType = ptr.String(headerValues[0]) } v.StatusCode = int32(response.StatusCode) return nil } -func awsRestjson1_deserializeOpDocumentInvokeOutput(v *InvokeOutput, body io.ReadCloser, contentLength int64) error { - if v == nil { - return fmt.Errorf("unsupported deserialization of nil %T", v) - } - - var buf bytes.Buffer - if contentLength > 0 { - buf.Grow(int(contentLength)) - } else { - buf.Grow(512) - } - - _, err := buf.ReadFrom(body) - if err != nil { - return err - } - if buf.Len() > 0 { - v.Payload = buf.Bytes() - } - return nil -} -type awsRestjson1_deserializeOpInvokeAsync struct { +type awsRestjson1_deserializeOpListAliases struct { } -func (*awsRestjson1_deserializeOpInvokeAsync) ID() string { +func (*awsRestjson1_deserializeOpListAliases) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpInvokeAsync) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListAliases) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7608,21 +7476,44 @@ func (m *awsRestjson1_deserializeOpInvokeAsync) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorInvokeAsync(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListAliases(response, &metadata) } - output := &InvokeAsyncOutput{} + output := &ListAliasesOutput{} out.Result = output - err = awsRestjson1_deserializeOpHttpBindingsInvokeAsyncOutput(output, response) + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentListAliasesOutput(&output, shape) if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } } span.End() return out, metadata, err } -func awsRestjson1_deserializeOpErrorInvokeAsync(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListAliases(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7663,14 +7554,8 @@ func awsRestjson1_deserializeOpErrorInvokeAsync(response *smithyhttp.Response, m } switch { - case strings.EqualFold("InvalidRequestContentException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestContentException(response, errorBody) - - case strings.EqualFold("InvalidRuntimeException", errorCode): - return awsRestjson1_deserializeErrorInvalidRuntimeException(response, errorBody) - - case strings.EqualFold("ResourceConflictException", errorCode): - return awsRestjson1_deserializeErrorResourceConflictException(response, errorBody) + case strings.EqualFold("InvalidParameterValueException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) @@ -7678,6 +7563,9 @@ func awsRestjson1_deserializeOpErrorInvokeAsync(response *smithyhttp.Response, m case strings.EqualFold("ServiceException", errorCode): return awsRestjson1_deserializeErrorServiceException(response, errorBody) + case strings.EqualFold("TooManyRequestsException", errorCode): + return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -7688,24 +7576,59 @@ func awsRestjson1_deserializeOpErrorInvokeAsync(response *smithyhttp.Response, m } } -func awsRestjson1_deserializeOpHttpBindingsInvokeAsyncOutput(v *InvokeAsyncOutput, response *smithyhttp.Response) error { +func awsRestjson1_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, value interface{}) error { if v == nil { - return fmt.Errorf("unsupported deserialization for nil %T", v) + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil } - v.Status = int32(response.StatusCode) + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListAliasesOutput + if *v == nil { + sv = &ListAliasesOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Aliases": + if err := awsRestjson1_deserializeDocumentAliasList(&sv.Aliases, value); err != nil { + return err + } + + case "NextMarker": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.NextMarker = ptr.String(jtv) + } + + default: + _, _ = key, value + } + } + *v = sv return nil } -type awsRestjson1_deserializeOpInvokeWithResponseStream struct { +type awsRestjson1_deserializeOpListCodeSigningConfigs struct { } -func (*awsRestjson1_deserializeOpInvokeWithResponseStream) ID() string { +func (*awsRestjson1_deserializeOpListCodeSigningConfigs) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpInvokeWithResponseStream) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListCodeSigningConfigs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7723,21 +7646,44 @@ func (m *awsRestjson1_deserializeOpInvokeWithResponseStream) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorInvokeWithResponseStream(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListCodeSigningConfigs(response, &metadata) } - output := &InvokeWithResponseStreamOutput{} + output := &ListCodeSigningConfigsOutput{} out.Result = output - err = awsRestjson1_deserializeOpHttpBindingsInvokeWithResponseStreamOutput(output, response) + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentListCodeSigningConfigsOutput(&output, shape) if err != nil { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } } span.End() return out, metadata, err } -func awsRestjson1_deserializeOpErrorInvokeWithResponseStream(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListCodeSigningConfigs(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -7778,96 +7724,12 @@ func awsRestjson1_deserializeOpErrorInvokeWithResponseStream(response *smithyhtt } switch { - case strings.EqualFold("EC2AccessDeniedException", errorCode): - return awsRestjson1_deserializeErrorEC2AccessDeniedException(response, errorBody) - - case strings.EqualFold("EC2ThrottledException", errorCode): - return awsRestjson1_deserializeErrorEC2ThrottledException(response, errorBody) - - case strings.EqualFold("EC2UnexpectedException", errorCode): - return awsRestjson1_deserializeErrorEC2UnexpectedException(response, errorBody) - - case strings.EqualFold("EFSIOException", errorCode): - return awsRestjson1_deserializeErrorEFSIOException(response, errorBody) - - case strings.EqualFold("EFSMountConnectivityException", errorCode): - return awsRestjson1_deserializeErrorEFSMountConnectivityException(response, errorBody) - - case strings.EqualFold("EFSMountFailureException", errorCode): - return awsRestjson1_deserializeErrorEFSMountFailureException(response, errorBody) - - case strings.EqualFold("EFSMountTimeoutException", errorCode): - return awsRestjson1_deserializeErrorEFSMountTimeoutException(response, errorBody) - - case strings.EqualFold("ENILimitReachedException", errorCode): - return awsRestjson1_deserializeErrorENILimitReachedException(response, errorBody) - case strings.EqualFold("InvalidParameterValueException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) - case strings.EqualFold("InvalidRequestContentException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestContentException(response, errorBody) - - case strings.EqualFold("InvalidRuntimeException", errorCode): - return awsRestjson1_deserializeErrorInvalidRuntimeException(response, errorBody) - - case strings.EqualFold("InvalidSecurityGroupIDException", errorCode): - return awsRestjson1_deserializeErrorInvalidSecurityGroupIDException(response, errorBody) - - case strings.EqualFold("InvalidSubnetIDException", errorCode): - return awsRestjson1_deserializeErrorInvalidSubnetIDException(response, errorBody) - - case strings.EqualFold("InvalidZipFileException", errorCode): - return awsRestjson1_deserializeErrorInvalidZipFileException(response, errorBody) - - case strings.EqualFold("KMSAccessDeniedException", errorCode): - return awsRestjson1_deserializeErrorKMSAccessDeniedException(response, errorBody) - - case strings.EqualFold("KMSDisabledException", errorCode): - return awsRestjson1_deserializeErrorKMSDisabledException(response, errorBody) - - case strings.EqualFold("KMSInvalidStateException", errorCode): - return awsRestjson1_deserializeErrorKMSInvalidStateException(response, errorBody) - - case strings.EqualFold("KMSNotFoundException", errorCode): - return awsRestjson1_deserializeErrorKMSNotFoundException(response, errorBody) - - case strings.EqualFold("RecursiveInvocationException", errorCode): - return awsRestjson1_deserializeErrorRecursiveInvocationException(response, errorBody) - - case strings.EqualFold("RequestTooLargeException", errorCode): - return awsRestjson1_deserializeErrorRequestTooLargeException(response, errorBody) - - case strings.EqualFold("ResourceConflictException", errorCode): - return awsRestjson1_deserializeErrorResourceConflictException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("ResourceNotReadyException", errorCode): - return awsRestjson1_deserializeErrorResourceNotReadyException(response, errorBody) - case strings.EqualFold("ServiceException", errorCode): return awsRestjson1_deserializeErrorServiceException(response, errorBody) - case strings.EqualFold("SnapStartException", errorCode): - return awsRestjson1_deserializeErrorSnapStartException(response, errorBody) - - case strings.EqualFold("SnapStartNotReadyException", errorCode): - return awsRestjson1_deserializeErrorSnapStartNotReadyException(response, errorBody) - - case strings.EqualFold("SnapStartTimeoutException", errorCode): - return awsRestjson1_deserializeErrorSnapStartTimeoutException(response, errorBody) - - case strings.EqualFold("SubnetIPAddressLimitReachedException", errorCode): - return awsRestjson1_deserializeErrorSubnetIPAddressLimitReachedException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnsupportedMediaTypeException", errorCode): - return awsRestjson1_deserializeErrorUnsupportedMediaTypeException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -7878,34 +7740,59 @@ func awsRestjson1_deserializeOpErrorInvokeWithResponseStream(response *smithyhtt } } -func awsRestjson1_deserializeOpHttpBindingsInvokeWithResponseStreamOutput(v *InvokeWithResponseStreamOutput, response *smithyhttp.Response) error { +func awsRestjson1_deserializeOpDocumentListCodeSigningConfigsOutput(v **ListCodeSigningConfigsOutput, value interface{}) error { if v == nil { - return fmt.Errorf("unsupported deserialization for nil %T", v) + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil } - if headerValues := response.Header.Values("X-Amz-Executed-Version"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ExecutedVersion = ptr.String(headerValues[0]) + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) } - if headerValues := response.Header.Values("Content-Type"); len(headerValues) != 0 { - headerValues[0] = strings.TrimSpace(headerValues[0]) - v.ResponseStreamContentType = ptr.String(headerValues[0]) + var sv *ListCodeSigningConfigsOutput + if *v == nil { + sv = &ListCodeSigningConfigsOutput{} + } else { + sv = *v } - v.StatusCode = int32(response.StatusCode) + for key, value := range shape { + switch key { + case "CodeSigningConfigs": + if err := awsRestjson1_deserializeDocumentCodeSigningConfigList(&sv.CodeSigningConfigs, value); err != nil { + return err + } + + case "NextMarker": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.NextMarker = ptr.String(jtv) + } + + default: + _, _ = key, value + } + } + *v = sv return nil } -type awsRestjson1_deserializeOpListAliases struct { +type awsRestjson1_deserializeOpListEventSourceMappings struct { } -func (*awsRestjson1_deserializeOpListAliases) ID() string { +func (*awsRestjson1_deserializeOpListEventSourceMappings) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListAliases) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListEventSourceMappings) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -7923,9 +7810,9 @@ func (m *awsRestjson1_deserializeOpListAliases) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListAliases(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListEventSourceMappings(response, &metadata) } - output := &ListAliasesOutput{} + output := &ListEventSourceMappingsOutput{} out.Result = output var buff [1024]byte @@ -7946,7 +7833,7 @@ func (m *awsRestjson1_deserializeOpListAliases) HandleDeserialize(ctx context.Co return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListAliasesOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListEventSourceMappingsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -7960,7 +7847,7 @@ func (m *awsRestjson1_deserializeOpListAliases) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsRestjson1_deserializeOpErrorListAliases(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListEventSourceMappings(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8023,7 +7910,7 @@ func awsRestjson1_deserializeOpErrorListAliases(response *smithyhttp.Response, m } } -func awsRestjson1_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListEventSourceMappingsOutput(v **ListEventSourceMappingsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -8036,17 +7923,17 @@ func awsRestjson1_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListAliasesOutput + var sv *ListEventSourceMappingsOutput if *v == nil { - sv = &ListAliasesOutput{} + sv = &ListEventSourceMappingsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "Aliases": - if err := awsRestjson1_deserializeDocumentAliasList(&sv.Aliases, value); err != nil { + case "EventSourceMappings": + if err := awsRestjson1_deserializeDocumentEventSourceMappingsList(&sv.EventSourceMappings, value); err != nil { return err } @@ -8068,14 +7955,14 @@ func awsRestjson1_deserializeOpDocumentListAliasesOutput(v **ListAliasesOutput, return nil } -type awsRestjson1_deserializeOpListCodeSigningConfigs struct { +type awsRestjson1_deserializeOpListFunctionEventInvokeConfigs struct { } -func (*awsRestjson1_deserializeOpListCodeSigningConfigs) ID() string { +func (*awsRestjson1_deserializeOpListFunctionEventInvokeConfigs) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListCodeSigningConfigs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListFunctionEventInvokeConfigs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8093,9 +7980,9 @@ func (m *awsRestjson1_deserializeOpListCodeSigningConfigs) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListCodeSigningConfigs(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListFunctionEventInvokeConfigs(response, &metadata) } - output := &ListCodeSigningConfigsOutput{} + output := &ListFunctionEventInvokeConfigsOutput{} out.Result = output var buff [1024]byte @@ -8116,7 +8003,7 @@ func (m *awsRestjson1_deserializeOpListCodeSigningConfigs) HandleDeserialize(ctx return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListCodeSigningConfigsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListFunctionEventInvokeConfigsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8130,7 +8017,7 @@ func (m *awsRestjson1_deserializeOpListCodeSigningConfigs) HandleDeserialize(ctx return out, metadata, err } -func awsRestjson1_deserializeOpErrorListCodeSigningConfigs(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListFunctionEventInvokeConfigs(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8174,9 +8061,15 @@ func awsRestjson1_deserializeOpErrorListCodeSigningConfigs(response *smithyhttp. case strings.EqualFold("InvalidParameterValueException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ServiceException", errorCode): return awsRestjson1_deserializeErrorServiceException(response, errorBody) + case strings.EqualFold("TooManyRequestsException", errorCode): + return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -8187,7 +8080,7 @@ func awsRestjson1_deserializeOpErrorListCodeSigningConfigs(response *smithyhttp. } } -func awsRestjson1_deserializeOpDocumentListCodeSigningConfigsOutput(v **ListCodeSigningConfigsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListFunctionEventInvokeConfigsOutput(v **ListFunctionEventInvokeConfigsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -8200,17 +8093,17 @@ func awsRestjson1_deserializeOpDocumentListCodeSigningConfigsOutput(v **ListCode return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListCodeSigningConfigsOutput + var sv *ListFunctionEventInvokeConfigsOutput if *v == nil { - sv = &ListCodeSigningConfigsOutput{} + sv = &ListFunctionEventInvokeConfigsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "CodeSigningConfigs": - if err := awsRestjson1_deserializeDocumentCodeSigningConfigList(&sv.CodeSigningConfigs, value); err != nil { + case "FunctionEventInvokeConfigs": + if err := awsRestjson1_deserializeDocumentFunctionEventInvokeConfigList(&sv.FunctionEventInvokeConfigs, value); err != nil { return err } @@ -8232,14 +8125,14 @@ func awsRestjson1_deserializeOpDocumentListCodeSigningConfigsOutput(v **ListCode return nil } -type awsRestjson1_deserializeOpListEventSourceMappings struct { +type awsRestjson1_deserializeOpListFunctions struct { } -func (*awsRestjson1_deserializeOpListEventSourceMappings) ID() string { +func (*awsRestjson1_deserializeOpListFunctions) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListEventSourceMappings) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListFunctions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8257,9 +8150,9 @@ func (m *awsRestjson1_deserializeOpListEventSourceMappings) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListEventSourceMappings(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListFunctions(response, &metadata) } - output := &ListEventSourceMappingsOutput{} + output := &ListFunctionsOutput{} out.Result = output var buff [1024]byte @@ -8280,7 +8173,7 @@ func (m *awsRestjson1_deserializeOpListEventSourceMappings) HandleDeserialize(ct return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListEventSourceMappingsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListFunctionsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8294,7 +8187,7 @@ func (m *awsRestjson1_deserializeOpListEventSourceMappings) HandleDeserialize(ct return out, metadata, err } -func awsRestjson1_deserializeOpErrorListEventSourceMappings(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListFunctions(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8338,9 +8231,6 @@ func awsRestjson1_deserializeOpErrorListEventSourceMappings(response *smithyhttp case strings.EqualFold("InvalidParameterValueException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ServiceException", errorCode): return awsRestjson1_deserializeErrorServiceException(response, errorBody) @@ -8357,7 +8247,7 @@ func awsRestjson1_deserializeOpErrorListEventSourceMappings(response *smithyhttp } } -func awsRestjson1_deserializeOpDocumentListEventSourceMappingsOutput(v **ListEventSourceMappingsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListFunctionsOutput(v **ListFunctionsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -8370,17 +8260,17 @@ func awsRestjson1_deserializeOpDocumentListEventSourceMappingsOutput(v **ListEve return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListEventSourceMappingsOutput + var sv *ListFunctionsOutput if *v == nil { - sv = &ListEventSourceMappingsOutput{} + sv = &ListFunctionsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "EventSourceMappings": - if err := awsRestjson1_deserializeDocumentEventSourceMappingsList(&sv.EventSourceMappings, value); err != nil { + case "Functions": + if err := awsRestjson1_deserializeDocumentFunctionList(&sv.Functions, value); err != nil { return err } @@ -8402,14 +8292,14 @@ func awsRestjson1_deserializeOpDocumentListEventSourceMappingsOutput(v **ListEve return nil } -type awsRestjson1_deserializeOpListFunctionEventInvokeConfigs struct { +type awsRestjson1_deserializeOpListFunctionsByCodeSigningConfig struct { } -func (*awsRestjson1_deserializeOpListFunctionEventInvokeConfigs) ID() string { +func (*awsRestjson1_deserializeOpListFunctionsByCodeSigningConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListFunctionEventInvokeConfigs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListFunctionsByCodeSigningConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8427,9 +8317,9 @@ func (m *awsRestjson1_deserializeOpListFunctionEventInvokeConfigs) HandleDeseria } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListFunctionEventInvokeConfigs(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListFunctionsByCodeSigningConfig(response, &metadata) } - output := &ListFunctionEventInvokeConfigsOutput{} + output := &ListFunctionsByCodeSigningConfigOutput{} out.Result = output var buff [1024]byte @@ -8450,7 +8340,7 @@ func (m *awsRestjson1_deserializeOpListFunctionEventInvokeConfigs) HandleDeseria return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListFunctionEventInvokeConfigsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListFunctionsByCodeSigningConfigOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8464,7 +8354,7 @@ func (m *awsRestjson1_deserializeOpListFunctionEventInvokeConfigs) HandleDeseria return out, metadata, err } -func awsRestjson1_deserializeOpErrorListFunctionEventInvokeConfigs(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListFunctionsByCodeSigningConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8514,9 +8404,6 @@ func awsRestjson1_deserializeOpErrorListFunctionEventInvokeConfigs(response *smi case strings.EqualFold("ServiceException", errorCode): return awsRestjson1_deserializeErrorServiceException(response, errorBody) - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -8527,7 +8414,7 @@ func awsRestjson1_deserializeOpErrorListFunctionEventInvokeConfigs(response *smi } } -func awsRestjson1_deserializeOpDocumentListFunctionEventInvokeConfigsOutput(v **ListFunctionEventInvokeConfigsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListFunctionsByCodeSigningConfigOutput(v **ListFunctionsByCodeSigningConfigOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -8540,17 +8427,17 @@ func awsRestjson1_deserializeOpDocumentListFunctionEventInvokeConfigsOutput(v ** return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListFunctionEventInvokeConfigsOutput + var sv *ListFunctionsByCodeSigningConfigOutput if *v == nil { - sv = &ListFunctionEventInvokeConfigsOutput{} + sv = &ListFunctionsByCodeSigningConfigOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "FunctionEventInvokeConfigs": - if err := awsRestjson1_deserializeDocumentFunctionEventInvokeConfigList(&sv.FunctionEventInvokeConfigs, value); err != nil { + case "FunctionArns": + if err := awsRestjson1_deserializeDocumentFunctionArnList(&sv.FunctionArns, value); err != nil { return err } @@ -8572,14 +8459,14 @@ func awsRestjson1_deserializeOpDocumentListFunctionEventInvokeConfigsOutput(v ** return nil } -type awsRestjson1_deserializeOpListFunctions struct { +type awsRestjson1_deserializeOpListFunctionUrlConfigs struct { } -func (*awsRestjson1_deserializeOpListFunctions) ID() string { +func (*awsRestjson1_deserializeOpListFunctionUrlConfigs) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListFunctions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListFunctionUrlConfigs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8597,9 +8484,9 @@ func (m *awsRestjson1_deserializeOpListFunctions) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListFunctions(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListFunctionUrlConfigs(response, &metadata) } - output := &ListFunctionsOutput{} + output := &ListFunctionUrlConfigsOutput{} out.Result = output var buff [1024]byte @@ -8620,7 +8507,7 @@ func (m *awsRestjson1_deserializeOpListFunctions) HandleDeserialize(ctx context. return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListFunctionsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListFunctionUrlConfigsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8634,7 +8521,7 @@ func (m *awsRestjson1_deserializeOpListFunctions) HandleDeserialize(ctx context. return out, metadata, err } -func awsRestjson1_deserializeOpErrorListFunctions(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListFunctionUrlConfigs(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8678,6 +8565,9 @@ func awsRestjson1_deserializeOpErrorListFunctions(response *smithyhttp.Response, case strings.EqualFold("InvalidParameterValueException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ServiceException", errorCode): return awsRestjson1_deserializeErrorServiceException(response, errorBody) @@ -8694,7 +8584,7 @@ func awsRestjson1_deserializeOpErrorListFunctions(response *smithyhttp.Response, } } -func awsRestjson1_deserializeOpDocumentListFunctionsOutput(v **ListFunctionsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListFunctionUrlConfigsOutput(v **ListFunctionUrlConfigsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -8707,17 +8597,17 @@ func awsRestjson1_deserializeOpDocumentListFunctionsOutput(v **ListFunctionsOutp return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListFunctionsOutput + var sv *ListFunctionUrlConfigsOutput if *v == nil { - sv = &ListFunctionsOutput{} + sv = &ListFunctionUrlConfigsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "Functions": - if err := awsRestjson1_deserializeDocumentFunctionList(&sv.Functions, value); err != nil { + case "FunctionUrlConfigs": + if err := awsRestjson1_deserializeDocumentFunctionUrlConfigList(&sv.FunctionUrlConfigs, value); err != nil { return err } @@ -8739,14 +8629,14 @@ func awsRestjson1_deserializeOpDocumentListFunctionsOutput(v **ListFunctionsOutp return nil } -type awsRestjson1_deserializeOpListFunctionsByCodeSigningConfig struct { +type awsRestjson1_deserializeOpListLayers struct { } -func (*awsRestjson1_deserializeOpListFunctionsByCodeSigningConfig) ID() string { +func (*awsRestjson1_deserializeOpListLayers) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListFunctionsByCodeSigningConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListLayers) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8764,9 +8654,9 @@ func (m *awsRestjson1_deserializeOpListFunctionsByCodeSigningConfig) HandleDeser } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListFunctionsByCodeSigningConfig(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListLayers(response, &metadata) } - output := &ListFunctionsByCodeSigningConfigOutput{} + output := &ListLayersOutput{} out.Result = output var buff [1024]byte @@ -8787,7 +8677,7 @@ func (m *awsRestjson1_deserializeOpListFunctionsByCodeSigningConfig) HandleDeser return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListFunctionsByCodeSigningConfigOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListLayersOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8801,7 +8691,7 @@ func (m *awsRestjson1_deserializeOpListFunctionsByCodeSigningConfig) HandleDeser return out, metadata, err } -func awsRestjson1_deserializeOpErrorListFunctionsByCodeSigningConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListLayers(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -8845,12 +8735,12 @@ func awsRestjson1_deserializeOpErrorListFunctionsByCodeSigningConfig(response *s case strings.EqualFold("InvalidParameterValueException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - case strings.EqualFold("ServiceException", errorCode): return awsRestjson1_deserializeErrorServiceException(response, errorBody) + case strings.EqualFold("TooManyRequestsException", errorCode): + return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -8861,7 +8751,7 @@ func awsRestjson1_deserializeOpErrorListFunctionsByCodeSigningConfig(response *s } } -func awsRestjson1_deserializeOpDocumentListFunctionsByCodeSigningConfigOutput(v **ListFunctionsByCodeSigningConfigOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListLayersOutput(v **ListLayersOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -8874,17 +8764,17 @@ func awsRestjson1_deserializeOpDocumentListFunctionsByCodeSigningConfigOutput(v return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListFunctionsByCodeSigningConfigOutput + var sv *ListLayersOutput if *v == nil { - sv = &ListFunctionsByCodeSigningConfigOutput{} + sv = &ListLayersOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "FunctionArns": - if err := awsRestjson1_deserializeDocumentFunctionArnList(&sv.FunctionArns, value); err != nil { + case "Layers": + if err := awsRestjson1_deserializeDocumentLayersList(&sv.Layers, value); err != nil { return err } @@ -8906,14 +8796,14 @@ func awsRestjson1_deserializeOpDocumentListFunctionsByCodeSigningConfigOutput(v return nil } -type awsRestjson1_deserializeOpListFunctionUrlConfigs struct { +type awsRestjson1_deserializeOpListLayerVersions struct { } -func (*awsRestjson1_deserializeOpListFunctionUrlConfigs) ID() string { +func (*awsRestjson1_deserializeOpListLayerVersions) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListFunctionUrlConfigs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListLayerVersions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -8931,9 +8821,9 @@ func (m *awsRestjson1_deserializeOpListFunctionUrlConfigs) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListFunctionUrlConfigs(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListLayerVersions(response, &metadata) } - output := &ListFunctionUrlConfigsOutput{} + output := &ListLayerVersionsOutput{} out.Result = output var buff [1024]byte @@ -8954,7 +8844,7 @@ func (m *awsRestjson1_deserializeOpListFunctionUrlConfigs) HandleDeserialize(ctx return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListFunctionUrlConfigsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListLayerVersionsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -8968,7 +8858,7 @@ func (m *awsRestjson1_deserializeOpListFunctionUrlConfigs) HandleDeserialize(ctx return out, metadata, err } -func awsRestjson1_deserializeOpErrorListFunctionUrlConfigs(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListLayerVersions(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9031,7 +8921,7 @@ func awsRestjson1_deserializeOpErrorListFunctionUrlConfigs(response *smithyhttp. } } -func awsRestjson1_deserializeOpDocumentListFunctionUrlConfigsOutput(v **ListFunctionUrlConfigsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListLayerVersionsOutput(v **ListLayerVersionsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -9044,17 +8934,17 @@ func awsRestjson1_deserializeOpDocumentListFunctionUrlConfigsOutput(v **ListFunc return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListFunctionUrlConfigsOutput + var sv *ListLayerVersionsOutput if *v == nil { - sv = &ListFunctionUrlConfigsOutput{} + sv = &ListLayerVersionsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "FunctionUrlConfigs": - if err := awsRestjson1_deserializeDocumentFunctionUrlConfigList(&sv.FunctionUrlConfigs, value); err != nil { + case "LayerVersions": + if err := awsRestjson1_deserializeDocumentLayerVersionsList(&sv.LayerVersions, value); err != nil { return err } @@ -9076,14 +8966,14 @@ func awsRestjson1_deserializeOpDocumentListFunctionUrlConfigsOutput(v **ListFunc return nil } -type awsRestjson1_deserializeOpListLayers struct { +type awsRestjson1_deserializeOpListProvisionedConcurrencyConfigs struct { } -func (*awsRestjson1_deserializeOpListLayers) ID() string { +func (*awsRestjson1_deserializeOpListProvisionedConcurrencyConfigs) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListLayers) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListProvisionedConcurrencyConfigs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9101,9 +8991,9 @@ func (m *awsRestjson1_deserializeOpListLayers) HandleDeserialize(ctx context.Con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListLayers(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListProvisionedConcurrencyConfigs(response, &metadata) } - output := &ListLayersOutput{} + output := &ListProvisionedConcurrencyConfigsOutput{} out.Result = output var buff [1024]byte @@ -9124,7 +9014,7 @@ func (m *awsRestjson1_deserializeOpListLayers) HandleDeserialize(ctx context.Con return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListLayersOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListProvisionedConcurrencyConfigsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9138,7 +9028,7 @@ func (m *awsRestjson1_deserializeOpListLayers) HandleDeserialize(ctx context.Con return out, metadata, err } -func awsRestjson1_deserializeOpErrorListLayers(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListProvisionedConcurrencyConfigs(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9182,6 +9072,9 @@ func awsRestjson1_deserializeOpErrorListLayers(response *smithyhttp.Response, me case strings.EqualFold("InvalidParameterValueException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + case strings.EqualFold("ServiceException", errorCode): return awsRestjson1_deserializeErrorServiceException(response, errorBody) @@ -9198,7 +9091,7 @@ func awsRestjson1_deserializeOpErrorListLayers(response *smithyhttp.Response, me } } -func awsRestjson1_deserializeOpDocumentListLayersOutput(v **ListLayersOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListProvisionedConcurrencyConfigsOutput(v **ListProvisionedConcurrencyConfigsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -9211,20 +9104,15 @@ func awsRestjson1_deserializeOpDocumentListLayersOutput(v **ListLayersOutput, va return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListLayersOutput + var sv *ListProvisionedConcurrencyConfigsOutput if *v == nil { - sv = &ListLayersOutput{} + sv = &ListProvisionedConcurrencyConfigsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "Layers": - if err := awsRestjson1_deserializeDocumentLayersList(&sv.Layers, value); err != nil { - return err - } - case "NextMarker": if value != nil { jtv, ok := value.(string) @@ -9234,6 +9122,11 @@ func awsRestjson1_deserializeOpDocumentListLayersOutput(v **ListLayersOutput, va sv.NextMarker = ptr.String(jtv) } + case "ProvisionedConcurrencyConfigs": + if err := awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigList(&sv.ProvisionedConcurrencyConfigs, value); err != nil { + return err + } + default: _, _ = key, value @@ -9243,14 +9136,14 @@ func awsRestjson1_deserializeOpDocumentListLayersOutput(v **ListLayersOutput, va return nil } -type awsRestjson1_deserializeOpListLayerVersions struct { +type awsRestjson1_deserializeOpListTags struct { } -func (*awsRestjson1_deserializeOpListLayerVersions) ID() string { +func (*awsRestjson1_deserializeOpListTags) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListLayerVersions) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9268,9 +9161,9 @@ func (m *awsRestjson1_deserializeOpListLayerVersions) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListLayerVersions(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListTags(response, &metadata) } - output := &ListLayerVersionsOutput{} + output := &ListTagsOutput{} out.Result = output var buff [1024]byte @@ -9291,7 +9184,7 @@ func (m *awsRestjson1_deserializeOpListLayerVersions) HandleDeserialize(ctx cont return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListLayerVersionsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListTagsOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9305,7 +9198,7 @@ func (m *awsRestjson1_deserializeOpListLayerVersions) HandleDeserialize(ctx cont return out, metadata, err } -func awsRestjson1_deserializeOpErrorListLayerVersions(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9368,7 +9261,7 @@ func awsRestjson1_deserializeOpErrorListLayerVersions(response *smithyhttp.Respo } } -func awsRestjson1_deserializeOpDocumentListLayerVersionsOutput(v **ListLayerVersionsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -9381,29 +9274,20 @@ func awsRestjson1_deserializeOpDocumentListLayerVersionsOutput(v **ListLayerVers return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListLayerVersionsOutput + var sv *ListTagsOutput if *v == nil { - sv = &ListLayerVersionsOutput{} + sv = &ListTagsOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "LayerVersions": - if err := awsRestjson1_deserializeDocumentLayerVersionsList(&sv.LayerVersions, value); err != nil { + case "Tags": + if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { return err } - case "NextMarker": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected String to be of type string, got %T instead", value) - } - sv.NextMarker = ptr.String(jtv) - } - default: _, _ = key, value @@ -9413,14 +9297,14 @@ func awsRestjson1_deserializeOpDocumentListLayerVersionsOutput(v **ListLayerVers return nil } -type awsRestjson1_deserializeOpListProvisionedConcurrencyConfigs struct { +type awsRestjson1_deserializeOpListVersionsByFunction struct { } -func (*awsRestjson1_deserializeOpListProvisionedConcurrencyConfigs) ID() string { +func (*awsRestjson1_deserializeOpListVersionsByFunction) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListProvisionedConcurrencyConfigs) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpListVersionsByFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9438,9 +9322,9 @@ func (m *awsRestjson1_deserializeOpListProvisionedConcurrencyConfigs) HandleDese } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListProvisionedConcurrencyConfigs(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorListVersionsByFunction(response, &metadata) } - output := &ListProvisionedConcurrencyConfigsOutput{} + output := &ListVersionsByFunctionOutput{} out.Result = output var buff [1024]byte @@ -9461,7 +9345,7 @@ func (m *awsRestjson1_deserializeOpListProvisionedConcurrencyConfigs) HandleDese return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListProvisionedConcurrencyConfigsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentListVersionsByFunctionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9475,7 +9359,7 @@ func (m *awsRestjson1_deserializeOpListProvisionedConcurrencyConfigs) HandleDese return out, metadata, err } -func awsRestjson1_deserializeOpErrorListProvisionedConcurrencyConfigs(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorListVersionsByFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9538,7 +9422,7 @@ func awsRestjson1_deserializeOpErrorListProvisionedConcurrencyConfigs(response * } } -func awsRestjson1_deserializeOpDocumentListProvisionedConcurrencyConfigsOutput(v **ListProvisionedConcurrencyConfigsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentListVersionsByFunctionOutput(v **ListVersionsByFunctionOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -9551,9 +9435,9 @@ func awsRestjson1_deserializeOpDocumentListProvisionedConcurrencyConfigsOutput(v return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListProvisionedConcurrencyConfigsOutput + var sv *ListVersionsByFunctionOutput if *v == nil { - sv = &ListProvisionedConcurrencyConfigsOutput{} + sv = &ListVersionsByFunctionOutput{} } else { sv = *v } @@ -9569,8 +9453,8 @@ func awsRestjson1_deserializeOpDocumentListProvisionedConcurrencyConfigsOutput(v sv.NextMarker = ptr.String(jtv) } - case "ProvisionedConcurrencyConfigs": - if err := awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigList(&sv.ProvisionedConcurrencyConfigs, value); err != nil { + case "Versions": + if err := awsRestjson1_deserializeDocumentFunctionList(&sv.Versions, value); err != nil { return err } @@ -9583,14 +9467,14 @@ func awsRestjson1_deserializeOpDocumentListProvisionedConcurrencyConfigsOutput(v return nil } -type awsRestjson1_deserializeOpListTags struct { +type awsRestjson1_deserializeOpPublishLayerVersion struct { } -func (*awsRestjson1_deserializeOpListTags) ID() string { +func (*awsRestjson1_deserializeOpPublishLayerVersion) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpListTags) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpPublishLayerVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9608,9 +9492,9 @@ func (m *awsRestjson1_deserializeOpListTags) HandleDeserialize(ctx context.Conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListTags(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorPublishLayerVersion(response, &metadata) } - output := &ListTagsOutput{} + output := &PublishLayerVersionOutput{} out.Result = output var buff [1024]byte @@ -9631,7 +9515,7 @@ func (m *awsRestjson1_deserializeOpListTags) HandleDeserialize(ctx context.Conte return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentListTagsOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9645,7 +9529,7 @@ func (m *awsRestjson1_deserializeOpListTags) HandleDeserialize(ctx context.Conte return out, metadata, err } -func awsRestjson1_deserializeOpErrorListTags(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorPublishLayerVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -9686,6 +9570,9 @@ func awsRestjson1_deserializeOpErrorListTags(response *smithyhttp.Response, meta } switch { + case strings.EqualFold("CodeStorageExceededException", errorCode): + return awsRestjson1_deserializeErrorCodeStorageExceededException(response, errorBody) + case strings.EqualFold("InvalidParameterValueException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) @@ -9708,7 +9595,7 @@ func awsRestjson1_deserializeOpErrorListTags(response *smithyhttp.Response, meta } } -func awsRestjson1_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLayerVersionOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -9721,188 +9608,86 @@ func awsRestjson1_deserializeOpDocumentListTagsOutput(v **ListTagsOutput, value return fmt.Errorf("unexpected JSON type %v", value) } - var sv *ListTagsOutput + var sv *PublishLayerVersionOutput if *v == nil { - sv = &ListTagsOutput{} + sv = &PublishLayerVersionOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "Tags": - if err := awsRestjson1_deserializeDocumentTags(&sv.Tags, value); err != nil { + case "CompatibleArchitectures": + if err := awsRestjson1_deserializeDocumentCompatibleArchitectures(&sv.CompatibleArchitectures, value); err != nil { return err } - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpListVersionsByFunction struct { -} - -func (*awsRestjson1_deserializeOpListVersionsByFunction) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpListVersionsByFunction) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListVersionsByFunction(response, &metadata) - } - output := &ListVersionsByFunctionOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentListVersionsByFunctionOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorListVersionsByFunction(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InvalidParameterValueException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("ServiceException", errorCode): - return awsRestjson1_deserializeErrorServiceException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) + case "CompatibleRuntimes": + if err := awsRestjson1_deserializeDocumentCompatibleRuntimes(&sv.CompatibleRuntimes, value); err != nil { + return err + } - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError + case "Content": + if err := awsRestjson1_deserializeDocumentLayerVersionContentOutput(&sv.Content, value); err != nil { + return err + } - } -} + case "CreatedDate": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Timestamp to be of type string, got %T instead", value) + } + sv.CreatedDate = ptr.String(jtv) + } -func awsRestjson1_deserializeOpDocumentListVersionsByFunctionOutput(v **ListVersionsByFunctionOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } + case "Description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Description to be of type string, got %T instead", value) + } + sv.Description = ptr.String(jtv) + } - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } + case "LayerArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LayerArn to be of type string, got %T instead", value) + } + sv.LayerArn = ptr.String(jtv) + } - var sv *ListVersionsByFunctionOutput - if *v == nil { - sv = &ListVersionsByFunctionOutput{} - } else { - sv = *v - } + case "LayerVersionArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LayerVersionArn to be of type string, got %T instead", value) + } + sv.LayerVersionArn = ptr.String(jtv) + } - for key, value := range shape { - switch key { - case "NextMarker": + case "LicenseInfo": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected String to be of type string, got %T instead", value) + return fmt.Errorf("expected LicenseInfo to be of type string, got %T instead", value) } - sv.NextMarker = ptr.String(jtv) + sv.LicenseInfo = ptr.String(jtv) } - case "Versions": - if err := awsRestjson1_deserializeDocumentFunctionList(&sv.Versions, value); err != nil { - return err + case "Version": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected LayerVersionNumber to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Version = i64 } default: @@ -9914,14 +9699,14 @@ func awsRestjson1_deserializeOpDocumentListVersionsByFunctionOutput(v **ListVers return nil } -type awsRestjson1_deserializeOpPublishLayerVersion struct { +type awsRestjson1_deserializeOpPublishVersion struct { } -func (*awsRestjson1_deserializeOpPublishLayerVersion) ID() string { +func (*awsRestjson1_deserializeOpPublishVersion) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpPublishLayerVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpPublishVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -9939,9 +9724,9 @@ func (m *awsRestjson1_deserializeOpPublishLayerVersion) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorPublishLayerVersion(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorPublishVersion(response, &metadata) } - output := &PublishLayerVersionOutput{} + output := &PublishVersionOutput{} out.Result = output var buff [1024]byte @@ -9962,7 +9747,7 @@ func (m *awsRestjson1_deserializeOpPublishLayerVersion) HandleDeserialize(ctx co return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentPublishVersionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -9976,7 +9761,7 @@ func (m *awsRestjson1_deserializeOpPublishLayerVersion) HandleDeserialize(ctx co return out, metadata, err } -func awsRestjson1_deserializeOpErrorPublishLayerVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorPublishVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -10023,6 +9808,12 @@ func awsRestjson1_deserializeOpErrorPublishLayerVersion(response *smithyhttp.Res case strings.EqualFold("InvalidParameterValueException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) + case strings.EqualFold("PreconditionFailedException", errorCode): + return awsRestjson1_deserializeErrorPreconditionFailedException(response, errorBody) + + case strings.EqualFold("ResourceConflictException", errorCode): + return awsRestjson1_deserializeErrorResourceConflictException(response, errorBody) + case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) @@ -10042,7 +9833,7 @@ func awsRestjson1_deserializeOpErrorPublishLayerVersion(response *smithyhttp.Res } } -func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLayerVersionOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -10055,255 +9846,17 @@ func awsRestjson1_deserializeOpDocumentPublishLayerVersionOutput(v **PublishLaye return fmt.Errorf("unexpected JSON type %v", value) } - var sv *PublishLayerVersionOutput + var sv *PublishVersionOutput if *v == nil { - sv = &PublishLayerVersionOutput{} + sv = &PublishVersionOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "CompatibleArchitectures": - if err := awsRestjson1_deserializeDocumentCompatibleArchitectures(&sv.CompatibleArchitectures, value); err != nil { - return err - } - - case "CompatibleRuntimes": - if err := awsRestjson1_deserializeDocumentCompatibleRuntimes(&sv.CompatibleRuntimes, value); err != nil { - return err - } - - case "Content": - if err := awsRestjson1_deserializeDocumentLayerVersionContentOutput(&sv.Content, value); err != nil { - return err - } - - case "CreatedDate": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Timestamp to be of type string, got %T instead", value) - } - sv.CreatedDate = ptr.String(jtv) - } - - case "Description": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Description to be of type string, got %T instead", value) - } - sv.Description = ptr.String(jtv) - } - - case "LayerArn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected LayerArn to be of type string, got %T instead", value) - } - sv.LayerArn = ptr.String(jtv) - } - - case "LayerVersionArn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected LayerVersionArn to be of type string, got %T instead", value) - } - sv.LayerVersionArn = ptr.String(jtv) - } - - case "LicenseInfo": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected LicenseInfo to be of type string, got %T instead", value) - } - sv.LicenseInfo = ptr.String(jtv) - } - - case "Version": - if value != nil { - jtv, ok := value.(json.Number) - if !ok { - return fmt.Errorf("expected LayerVersionNumber to be json.Number, got %T instead", value) - } - i64, err := jtv.Int64() - if err != nil { - return err - } - sv.Version = i64 - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpPublishVersion struct { -} - -func (*awsRestjson1_deserializeOpPublishVersion) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpPublishVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorPublishVersion(response, &metadata) - } - output := &PublishVersionOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentPublishVersionOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorPublishVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("CodeStorageExceededException", errorCode): - return awsRestjson1_deserializeErrorCodeStorageExceededException(response, errorBody) - - case strings.EqualFold("InvalidParameterValueException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) - - case strings.EqualFold("PreconditionFailedException", errorCode): - return awsRestjson1_deserializeErrorPreconditionFailedException(response, errorBody) - - case strings.EqualFold("ResourceConflictException", errorCode): - return awsRestjson1_deserializeErrorResourceConflictException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("ServiceException", errorCode): - return awsRestjson1_deserializeErrorServiceException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *PublishVersionOutput - if *v == nil { - sv = &PublishVersionOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "Architectures": - if err := awsRestjson1_deserializeDocumentArchitecturesList(&sv.Architectures, value); err != nil { + case "Architectures": + if err := awsRestjson1_deserializeDocumentArchitecturesList(&sv.Architectures, value); err != nil { return err } @@ -10503,443 +10056,91 @@ func awsRestjson1_deserializeOpDocumentPublishVersionOutput(v **PublishVersionOu sv.Runtime = types.Runtime(jtv) } - case "RuntimeVersionConfig": - if err := awsRestjson1_deserializeDocumentRuntimeVersionConfig(&sv.RuntimeVersionConfig, value); err != nil { - return err - } - - case "SigningJobArn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Arn to be of type string, got %T instead", value) - } - sv.SigningJobArn = ptr.String(jtv) - } - - case "SigningProfileVersionArn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Arn to be of type string, got %T instead", value) - } - sv.SigningProfileVersionArn = ptr.String(jtv) - } - - case "SnapStart": - if err := awsRestjson1_deserializeDocumentSnapStartResponse(&sv.SnapStart, value); err != nil { - return err - } - - case "State": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected State to be of type string, got %T instead", value) - } - sv.State = types.State(jtv) - } - - case "StateReason": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected StateReason to be of type string, got %T instead", value) - } - sv.StateReason = ptr.String(jtv) - } - - case "StateReasonCode": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected StateReasonCode to be of type string, got %T instead", value) - } - sv.StateReasonCode = types.StateReasonCode(jtv) - } - - case "Timeout": - if value != nil { - jtv, ok := value.(json.Number) - if !ok { - return fmt.Errorf("expected Timeout to be json.Number, got %T instead", value) - } - i64, err := jtv.Int64() - if err != nil { - return err - } - sv.Timeout = ptr.Int32(int32(i64)) - } - - case "TracingConfig": - if err := awsRestjson1_deserializeDocumentTracingConfigResponse(&sv.TracingConfig, value); err != nil { - return err - } - - case "Version": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Version to be of type string, got %T instead", value) - } - sv.Version = ptr.String(jtv) - } - - case "VpcConfig": - if err := awsRestjson1_deserializeDocumentVpcConfigResponse(&sv.VpcConfig, value); err != nil { - return err - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpPutFunctionCodeSigningConfig struct { -} - -func (*awsRestjson1_deserializeOpPutFunctionCodeSigningConfig) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpPutFunctionCodeSigningConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorPutFunctionCodeSigningConfig(response, &metadata) - } - output := &PutFunctionCodeSigningConfigOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentPutFunctionCodeSigningConfigOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorPutFunctionCodeSigningConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("CodeSigningConfigNotFoundException", errorCode): - return awsRestjson1_deserializeErrorCodeSigningConfigNotFoundException(response, errorBody) - - case strings.EqualFold("InvalidParameterValueException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) - - case strings.EqualFold("ResourceConflictException", errorCode): - return awsRestjson1_deserializeErrorResourceConflictException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("ServiceException", errorCode): - return awsRestjson1_deserializeErrorServiceException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentPutFunctionCodeSigningConfigOutput(v **PutFunctionCodeSigningConfigOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *PutFunctionCodeSigningConfigOutput - if *v == nil { - sv = &PutFunctionCodeSigningConfigOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "CodeSigningConfigArn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected CodeSigningConfigArn to be of type string, got %T instead", value) - } - sv.CodeSigningConfigArn = ptr.String(jtv) - } - - case "FunctionName": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected FunctionName to be of type string, got %T instead", value) - } - sv.FunctionName = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpPutFunctionConcurrency struct { -} - -func (*awsRestjson1_deserializeOpPutFunctionConcurrency) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpPutFunctionConcurrency) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorPutFunctionConcurrency(response, &metadata) - } - output := &PutFunctionConcurrencyOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentPutFunctionConcurrencyOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorPutFunctionConcurrency(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InvalidParameterValueException", errorCode): - return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) - - case strings.EqualFold("ResourceConflictException", errorCode): - return awsRestjson1_deserializeErrorResourceConflictException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("ServiceException", errorCode): - return awsRestjson1_deserializeErrorServiceException(response, errorBody) + case "RuntimeVersionConfig": + if err := awsRestjson1_deserializeDocumentRuntimeVersionConfig(&sv.RuntimeVersionConfig, value); err != nil { + return err + } - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) + case "SigningJobArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.SigningJobArn = ptr.String(jtv) + } - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError + case "SigningProfileVersionArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.SigningProfileVersionArn = ptr.String(jtv) + } - } -} + case "SnapStart": + if err := awsRestjson1_deserializeDocumentSnapStartResponse(&sv.SnapStart, value); err != nil { + return err + } -func awsRestjson1_deserializeOpDocumentPutFunctionConcurrencyOutput(v **PutFunctionConcurrencyOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } + case "State": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected State to be of type string, got %T instead", value) + } + sv.State = types.State(jtv) + } - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } + case "StateReason": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected StateReason to be of type string, got %T instead", value) + } + sv.StateReason = ptr.String(jtv) + } - var sv *PutFunctionConcurrencyOutput - if *v == nil { - sv = &PutFunctionConcurrencyOutput{} - } else { - sv = *v - } + case "StateReasonCode": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected StateReasonCode to be of type string, got %T instead", value) + } + sv.StateReasonCode = types.StateReasonCode(jtv) + } - for key, value := range shape { - switch key { - case "ReservedConcurrentExecutions": + case "Timeout": if value != nil { jtv, ok := value.(json.Number) if !ok { - return fmt.Errorf("expected ReservedConcurrentExecutions to be json.Number, got %T instead", value) + return fmt.Errorf("expected Timeout to be json.Number, got %T instead", value) } i64, err := jtv.Int64() if err != nil { return err } - sv.ReservedConcurrentExecutions = ptr.Int32(int32(i64)) + sv.Timeout = ptr.Int32(int32(i64)) + } + + case "TracingConfig": + if err := awsRestjson1_deserializeDocumentTracingConfigResponse(&sv.TracingConfig, value); err != nil { + return err + } + + case "Version": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Version to be of type string, got %T instead", value) + } + sv.Version = ptr.String(jtv) + } + + case "VpcConfig": + if err := awsRestjson1_deserializeDocumentVpcConfigResponse(&sv.VpcConfig, value); err != nil { + return err } default: @@ -10951,14 +10152,14 @@ func awsRestjson1_deserializeOpDocumentPutFunctionConcurrencyOutput(v **PutFunct return nil } -type awsRestjson1_deserializeOpPutFunctionEventInvokeConfig struct { +type awsRestjson1_deserializeOpPutFunctionCodeSigningConfig struct { } -func (*awsRestjson1_deserializeOpPutFunctionEventInvokeConfig) ID() string { +func (*awsRestjson1_deserializeOpPutFunctionCodeSigningConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpPutFunctionEventInvokeConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpPutFunctionCodeSigningConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -10976,9 +10177,9 @@ func (m *awsRestjson1_deserializeOpPutFunctionEventInvokeConfig) HandleDeseriali } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorPutFunctionEventInvokeConfig(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorPutFunctionCodeSigningConfig(response, &metadata) } - output := &PutFunctionEventInvokeConfigOutput{} + output := &PutFunctionCodeSigningConfigOutput{} out.Result = output var buff [1024]byte @@ -10999,7 +10200,7 @@ func (m *awsRestjson1_deserializeOpPutFunctionEventInvokeConfig) HandleDeseriali return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentPutFunctionEventInvokeConfigOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentPutFunctionCodeSigningConfigOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11013,7 +10214,7 @@ func (m *awsRestjson1_deserializeOpPutFunctionEventInvokeConfig) HandleDeseriali return out, metadata, err } -func awsRestjson1_deserializeOpErrorPutFunctionEventInvokeConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorPutFunctionCodeSigningConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11054,6 +10255,9 @@ func awsRestjson1_deserializeOpErrorPutFunctionEventInvokeConfig(response *smith } switch { + case strings.EqualFold("CodeSigningConfigNotFoundException", errorCode): + return awsRestjson1_deserializeErrorCodeSigningConfigNotFoundException(response, errorBody) + case strings.EqualFold("InvalidParameterValueException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) @@ -11079,7 +10283,7 @@ func awsRestjson1_deserializeOpErrorPutFunctionEventInvokeConfig(response *smith } } -func awsRestjson1_deserializeOpDocumentPutFunctionEventInvokeConfigOutput(v **PutFunctionEventInvokeConfigOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentPutFunctionCodeSigningConfigOutput(v **PutFunctionCodeSigningConfigOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -11092,69 +10296,31 @@ func awsRestjson1_deserializeOpDocumentPutFunctionEventInvokeConfigOutput(v **Pu return fmt.Errorf("unexpected JSON type %v", value) } - var sv *PutFunctionEventInvokeConfigOutput + var sv *PutFunctionCodeSigningConfigOutput if *v == nil { - sv = &PutFunctionEventInvokeConfigOutput{} + sv = &PutFunctionCodeSigningConfigOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "DestinationConfig": - if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { - return err - } - - case "FunctionArn": + case "CodeSigningConfigArn": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected FunctionArn to be of type string, got %T instead", value) - } - sv.FunctionArn = ptr.String(jtv) - } - - case "LastModified": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.LastModified = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected Date to be a JSON Number, got %T instead", value) - - } - } - - case "MaximumEventAgeInSeconds": - if value != nil { - jtv, ok := value.(json.Number) - if !ok { - return fmt.Errorf("expected MaximumEventAgeInSeconds to be json.Number, got %T instead", value) - } - i64, err := jtv.Int64() - if err != nil { - return err + return fmt.Errorf("expected CodeSigningConfigArn to be of type string, got %T instead", value) } - sv.MaximumEventAgeInSeconds = ptr.Int32(int32(i64)) + sv.CodeSigningConfigArn = ptr.String(jtv) } - case "MaximumRetryAttempts": + case "FunctionName": if value != nil { - jtv, ok := value.(json.Number) + jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected MaximumRetryAttempts to be json.Number, got %T instead", value) - } - i64, err := jtv.Int64() - if err != nil { - return err + return fmt.Errorf("expected FunctionName to be of type string, got %T instead", value) } - sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) + sv.FunctionName = ptr.String(jtv) } default: @@ -11166,14 +10332,14 @@ func awsRestjson1_deserializeOpDocumentPutFunctionEventInvokeConfigOutput(v **Pu return nil } -type awsRestjson1_deserializeOpPutFunctionRecursionConfig struct { +type awsRestjson1_deserializeOpPutFunctionConcurrency struct { } -func (*awsRestjson1_deserializeOpPutFunctionRecursionConfig) ID() string { +func (*awsRestjson1_deserializeOpPutFunctionConcurrency) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpPutFunctionRecursionConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpPutFunctionConcurrency) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11191,9 +10357,9 @@ func (m *awsRestjson1_deserializeOpPutFunctionRecursionConfig) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorPutFunctionRecursionConfig(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorPutFunctionConcurrency(response, &metadata) } - output := &PutFunctionRecursionConfigOutput{} + output := &PutFunctionConcurrencyOutput{} out.Result = output var buff [1024]byte @@ -11214,7 +10380,7 @@ func (m *awsRestjson1_deserializeOpPutFunctionRecursionConfig) HandleDeserialize return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentPutFunctionRecursionConfigOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentPutFunctionConcurrencyOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11228,7 +10394,7 @@ func (m *awsRestjson1_deserializeOpPutFunctionRecursionConfig) HandleDeserialize return out, metadata, err } -func awsRestjson1_deserializeOpErrorPutFunctionRecursionConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorPutFunctionConcurrency(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11294,7 +10460,7 @@ func awsRestjson1_deserializeOpErrorPutFunctionRecursionConfig(response *smithyh } } -func awsRestjson1_deserializeOpDocumentPutFunctionRecursionConfigOutput(v **PutFunctionRecursionConfigOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentPutFunctionConcurrencyOutput(v **PutFunctionConcurrencyOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -11307,22 +10473,26 @@ func awsRestjson1_deserializeOpDocumentPutFunctionRecursionConfigOutput(v **PutF return fmt.Errorf("unexpected JSON type %v", value) } - var sv *PutFunctionRecursionConfigOutput + var sv *PutFunctionConcurrencyOutput if *v == nil { - sv = &PutFunctionRecursionConfigOutput{} + sv = &PutFunctionConcurrencyOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "RecursiveLoop": + case "ReservedConcurrentExecutions": if value != nil { - jtv, ok := value.(string) + jtv, ok := value.(json.Number) if !ok { - return fmt.Errorf("expected RecursiveLoop to be of type string, got %T instead", value) + return fmt.Errorf("expected ReservedConcurrentExecutions to be json.Number, got %T instead", value) } - sv.RecursiveLoop = types.RecursiveLoop(jtv) + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.ReservedConcurrentExecutions = ptr.Int32(int32(i64)) } default: @@ -11334,14 +10504,14 @@ func awsRestjson1_deserializeOpDocumentPutFunctionRecursionConfigOutput(v **PutF return nil } -type awsRestjson1_deserializeOpPutProvisionedConcurrencyConfig struct { +type awsRestjson1_deserializeOpPutFunctionEventInvokeConfig struct { } -func (*awsRestjson1_deserializeOpPutProvisionedConcurrencyConfig) ID() string { +func (*awsRestjson1_deserializeOpPutFunctionEventInvokeConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpPutProvisionedConcurrencyConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpPutFunctionEventInvokeConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11359,9 +10529,9 @@ func (m *awsRestjson1_deserializeOpPutProvisionedConcurrencyConfig) HandleDeseri } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorPutProvisionedConcurrencyConfig(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorPutFunctionEventInvokeConfig(response, &metadata) } - output := &PutProvisionedConcurrencyConfigOutput{} + output := &PutFunctionEventInvokeConfigOutput{} out.Result = output var buff [1024]byte @@ -11382,7 +10552,7 @@ func (m *awsRestjson1_deserializeOpPutProvisionedConcurrencyConfig) HandleDeseri return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentPutFunctionEventInvokeConfigOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11396,7 +10566,7 @@ func (m *awsRestjson1_deserializeOpPutProvisionedConcurrencyConfig) HandleDeseri return out, metadata, err } -func awsRestjson1_deserializeOpErrorPutProvisionedConcurrencyConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorPutFunctionEventInvokeConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11462,7 +10632,7 @@ func awsRestjson1_deserializeOpErrorPutProvisionedConcurrencyConfig(response *sm } } -func awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(v **PutProvisionedConcurrencyConfigOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentPutFunctionEventInvokeConfigOutput(v **PutFunctionEventInvokeConfigOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -11475,79 +10645,69 @@ func awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(v * return fmt.Errorf("unexpected JSON type %v", value) } - var sv *PutProvisionedConcurrencyConfigOutput + var sv *PutFunctionEventInvokeConfigOutput if *v == nil { - sv = &PutProvisionedConcurrencyConfigOutput{} + sv = &PutFunctionEventInvokeConfigOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "AllocatedProvisionedConcurrentExecutions": - if value != nil { - jtv, ok := value.(json.Number) - if !ok { - return fmt.Errorf("expected NonNegativeInteger to be json.Number, got %T instead", value) - } - i64, err := jtv.Int64() - if err != nil { - return err - } - sv.AllocatedProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) + case "DestinationConfig": + if err := awsRestjson1_deserializeDocumentDestinationConfig(&sv.DestinationConfig, value); err != nil { + return err } - case "AvailableProvisionedConcurrentExecutions": + case "FunctionArn": if value != nil { - jtv, ok := value.(json.Number) + jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected NonNegativeInteger to be json.Number, got %T instead", value) - } - i64, err := jtv.Int64() - if err != nil { - return err + return fmt.Errorf("expected FunctionArn to be of type string, got %T instead", value) } - sv.AvailableProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) + sv.FunctionArn = ptr.String(jtv) } case "LastModified": if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Timestamp to be of type string, got %T instead", value) + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastModified = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Date to be a JSON Number, got %T instead", value) + } - sv.LastModified = ptr.String(jtv) } - case "RequestedProvisionedConcurrentExecutions": + case "MaximumEventAgeInSeconds": if value != nil { jtv, ok := value.(json.Number) if !ok { - return fmt.Errorf("expected PositiveInteger to be json.Number, got %T instead", value) + return fmt.Errorf("expected MaximumEventAgeInSeconds to be json.Number, got %T instead", value) } i64, err := jtv.Int64() if err != nil { return err } - sv.RequestedProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) + sv.MaximumEventAgeInSeconds = ptr.Int32(int32(i64)) } - case "Status": + case "MaximumRetryAttempts": if value != nil { - jtv, ok := value.(string) + jtv, ok := value.(json.Number) if !ok { - return fmt.Errorf("expected ProvisionedConcurrencyStatusEnum to be of type string, got %T instead", value) + return fmt.Errorf("expected MaximumRetryAttempts to be json.Number, got %T instead", value) } - sv.Status = types.ProvisionedConcurrencyStatusEnum(jtv) - } - - case "StatusReason": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected String to be of type string, got %T instead", value) + i64, err := jtv.Int64() + if err != nil { + return err } - sv.StatusReason = ptr.String(jtv) + sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } default: @@ -11559,14 +10719,14 @@ func awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(v * return nil } -type awsRestjson1_deserializeOpPutPublicAccessBlockConfig struct { +type awsRestjson1_deserializeOpPutFunctionRecursionConfig struct { } -func (*awsRestjson1_deserializeOpPutPublicAccessBlockConfig) ID() string { +func (*awsRestjson1_deserializeOpPutFunctionRecursionConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpPutPublicAccessBlockConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpPutFunctionRecursionConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11584,9 +10744,9 @@ func (m *awsRestjson1_deserializeOpPutPublicAccessBlockConfig) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorPutPublicAccessBlockConfig(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorPutFunctionRecursionConfig(response, &metadata) } - output := &PutPublicAccessBlockConfigOutput{} + output := &PutFunctionRecursionConfigOutput{} out.Result = output var buff [1024]byte @@ -11607,7 +10767,7 @@ func (m *awsRestjson1_deserializeOpPutPublicAccessBlockConfig) HandleDeserialize return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentPutPublicAccessBlockConfigOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentPutFunctionRecursionConfigOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11621,7 +10781,7 @@ func (m *awsRestjson1_deserializeOpPutPublicAccessBlockConfig) HandleDeserialize return out, metadata, err } -func awsRestjson1_deserializeOpErrorPutPublicAccessBlockConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorPutFunctionRecursionConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11687,7 +10847,7 @@ func awsRestjson1_deserializeOpErrorPutPublicAccessBlockConfig(response *smithyh } } -func awsRestjson1_deserializeOpDocumentPutPublicAccessBlockConfigOutput(v **PutPublicAccessBlockConfigOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentPutFunctionRecursionConfigOutput(v **PutFunctionRecursionConfigOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -11700,18 +10860,22 @@ func awsRestjson1_deserializeOpDocumentPutPublicAccessBlockConfigOutput(v **PutP return fmt.Errorf("unexpected JSON type %v", value) } - var sv *PutPublicAccessBlockConfigOutput + var sv *PutFunctionRecursionConfigOutput if *v == nil { - sv = &PutPublicAccessBlockConfigOutput{} + sv = &PutFunctionRecursionConfigOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "PublicAccessBlockConfig": - if err := awsRestjson1_deserializeDocumentPublicAccessBlockConfig(&sv.PublicAccessBlockConfig, value); err != nil { - return err + case "RecursiveLoop": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected RecursiveLoop to be of type string, got %T instead", value) + } + sv.RecursiveLoop = types.RecursiveLoop(jtv) } default: @@ -11723,14 +10887,14 @@ func awsRestjson1_deserializeOpDocumentPutPublicAccessBlockConfigOutput(v **PutP return nil } -type awsRestjson1_deserializeOpPutResourcePolicy struct { +type awsRestjson1_deserializeOpPutProvisionedConcurrencyConfig struct { } -func (*awsRestjson1_deserializeOpPutResourcePolicy) ID() string { +func (*awsRestjson1_deserializeOpPutProvisionedConcurrencyConfig) ID() string { return "OperationDeserializer" } -func (m *awsRestjson1_deserializeOpPutResourcePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsRestjson1_deserializeOpPutProvisionedConcurrencyConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11748,9 +10912,9 @@ func (m *awsRestjson1_deserializeOpPutResourcePolicy) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorPutResourcePolicy(response, &metadata) + return out, metadata, awsRestjson1_deserializeOpErrorPutProvisionedConcurrencyConfig(response, &metadata) } - output := &PutResourcePolicyOutput{} + output := &PutProvisionedConcurrencyConfigOutput{} out.Result = output var buff [1024]byte @@ -11771,7 +10935,7 @@ func (m *awsRestjson1_deserializeOpPutResourcePolicy) HandleDeserialize(ctx cont return out, metadata, err } - err = awsRestjson1_deserializeOpDocumentPutResourcePolicyOutput(&output, shape) + err = awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11785,7 +10949,7 @@ func (m *awsRestjson1_deserializeOpPutResourcePolicy) HandleDeserialize(ctx cont return out, metadata, err } -func awsRestjson1_deserializeOpErrorPutResourcePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsRestjson1_deserializeOpErrorPutProvisionedConcurrencyConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11829,15 +10993,6 @@ func awsRestjson1_deserializeOpErrorPutResourcePolicy(response *smithyhttp.Respo case strings.EqualFold("InvalidParameterValueException", errorCode): return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) - case strings.EqualFold("PolicyLengthExceededException", errorCode): - return awsRestjson1_deserializeErrorPolicyLengthExceededException(response, errorBody) - - case strings.EqualFold("PreconditionFailedException", errorCode): - return awsRestjson1_deserializeErrorPreconditionFailedException(response, errorBody) - - case strings.EqualFold("PublicPolicyException", errorCode): - return awsRestjson1_deserializeErrorPublicPolicyException(response, errorBody) - case strings.EqualFold("ResourceConflictException", errorCode): return awsRestjson1_deserializeErrorResourceConflictException(response, errorBody) @@ -11860,7 +11015,7 @@ func awsRestjson1_deserializeOpErrorPutResourcePolicy(response *smithyhttp.Respo } } -func awsRestjson1_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePolicyOutput, value interface{}) error { +func awsRestjson1_deserializeOpDocumentPutProvisionedConcurrencyConfigOutput(v **PutProvisionedConcurrencyConfigOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } @@ -11873,31 +11028,79 @@ func awsRestjson1_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePo return fmt.Errorf("unexpected JSON type %v", value) } - var sv *PutResourcePolicyOutput + var sv *PutProvisionedConcurrencyConfigOutput if *v == nil { - sv = &PutResourcePolicyOutput{} + sv = &PutProvisionedConcurrencyConfigOutput{} } else { sv = *v } for key, value := range shape { switch key { - case "Policy": + case "AllocatedProvisionedConcurrentExecutions": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected NonNegativeInteger to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.AllocatedProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) + } + + case "AvailableProvisionedConcurrentExecutions": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected NonNegativeInteger to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.AvailableProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) + } + + case "LastModified": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected ResourcePolicy to be of type string, got %T instead", value) + return fmt.Errorf("expected Timestamp to be of type string, got %T instead", value) } - sv.Policy = ptr.String(jtv) + sv.LastModified = ptr.String(jtv) } - case "RevisionId": + case "RequestedProvisionedConcurrentExecutions": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected PositiveInteger to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.RequestedProvisionedConcurrentExecutions = ptr.Int32(int32(i64)) + } + + case "Status": if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected RevisionId to be of type string, got %T instead", value) + return fmt.Errorf("expected ProvisionedConcurrencyStatusEnum to be of type string, got %T instead", value) } - sv.RevisionId = ptr.String(jtv) + sv.Status = types.ProvisionedConcurrencyStatusEnum(jtv) + } + + case "StatusReason": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.StatusReason = ptr.String(jtv) } default: @@ -12288,9 +11491,6 @@ func awsRestjson1_deserializeOpErrorRemovePermission(response *smithyhttp.Respon case strings.EqualFold("PreconditionFailedException", errorCode): return awsRestjson1_deserializeErrorPreconditionFailedException(response, errorBody) - case strings.EqualFold("PublicPolicyException", errorCode): - return awsRestjson1_deserializeErrorPublicPolicyException(response, errorBody) - case strings.EqualFold("ResourceNotFoundException", errorCode): return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) @@ -15766,42 +14966,6 @@ func awsRestjson1_deserializeErrorProvisionedConcurrencyConfigNotFoundException( return output } -func awsRestjson1_deserializeErrorPublicPolicyException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.PublicPolicyException{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - err := awsRestjson1_deserializeDocumentPublicPolicyException(&output, shape) - - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - - return output -} - func awsRestjson1_deserializeErrorRecursiveInvocationException(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.RecursiveInvocationException{} var buff [1024]byte @@ -20940,104 +20104,6 @@ func awsRestjson1_deserializeDocumentProvisionedConcurrencyConfigNotFoundExcepti return nil } -func awsRestjson1_deserializeDocumentPublicAccessBlockConfig(v **types.PublicAccessBlockConfig, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *types.PublicAccessBlockConfig - if *v == nil { - sv = &types.PublicAccessBlockConfig{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "BlockPublicPolicy": - if value != nil { - jtv, ok := value.(bool) - if !ok { - return fmt.Errorf("expected NullableBoolean to be of type *bool, got %T instead", value) - } - sv.BlockPublicPolicy = ptr.Bool(jtv) - } - - case "RestrictPublicResource": - if value != nil { - jtv, ok := value.(bool) - if !ok { - return fmt.Errorf("expected NullableBoolean to be of type *bool, got %T instead", value) - } - sv.RestrictPublicResource = ptr.Bool(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentPublicPolicyException(v **types.PublicPolicyException, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *types.PublicPolicyException - if *v == nil { - sv = &types.PublicPolicyException{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "Message": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected String to be of type string, got %T instead", value) - } - sv.Message = ptr.String(jtv) - } - - case "Type": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected String to be of type string, got %T instead", value) - } - sv.Type = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - func awsRestjson1_deserializeDocumentQueues(v *[]string, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/lambda/generated.json b/service/lambda/generated.json index 16b008fe7d5..42f7f193c80 100644 --- a/service/lambda/generated.json +++ b/service/lambda/generated.json @@ -27,7 +27,6 @@ "api_op_DeleteFunctionUrlConfig.go", "api_op_DeleteLayerVersion.go", "api_op_DeleteProvisionedConcurrencyConfig.go", - "api_op_DeleteResourcePolicy.go", "api_op_GetAccountSettings.go", "api_op_GetAlias.go", "api_op_GetCodeSigningConfig.go", @@ -44,8 +43,6 @@ "api_op_GetLayerVersionPolicy.go", "api_op_GetPolicy.go", "api_op_GetProvisionedConcurrencyConfig.go", - "api_op_GetPublicAccessBlockConfig.go", - "api_op_GetResourcePolicy.go", "api_op_GetRuntimeManagementConfig.go", "api_op_Invoke.go", "api_op_InvokeAsync.go", @@ -69,8 +66,6 @@ "api_op_PutFunctionEventInvokeConfig.go", "api_op_PutFunctionRecursionConfig.go", "api_op_PutProvisionedConcurrencyConfig.go", - "api_op_PutPublicAccessBlockConfig.go", - "api_op_PutResourcePolicy.go", "api_op_PutRuntimeManagementConfig.go", "api_op_RemoveLayerVersionPermission.go", "api_op_RemovePermission.go", diff --git a/service/lambda/go_module_metadata.go b/service/lambda/go_module_metadata.go index a73b1add966..059572cc714 100644 --- a/service/lambda/go_module_metadata.go +++ b/service/lambda/go_module_metadata.go @@ -3,4 +3,4 @@ package lambda // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.61.2" +const goModuleVersion = "1.62.1" diff --git a/service/lambda/serializers.go b/service/lambda/serializers.go index 28542c0b2ab..defa7e2ee84 100644 --- a/service/lambda/serializers.go +++ b/service/lambda/serializers.go @@ -1791,81 +1791,6 @@ func awsRestjson1_serializeOpHttpBindingsDeleteProvisionedConcurrencyConfigInput return nil } -type awsRestjson1_serializeOpDeleteResourcePolicy struct { -} - -func (*awsRestjson1_serializeOpDeleteResourcePolicy) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpDeleteResourcePolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*DeleteResourcePolicyInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/2024-09-16/resource-policy/{ResourceArn}") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "DELETE" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if err := awsRestjson1_serializeOpHttpBindingsDeleteResourcePolicyInput(input, restEncoder); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsDeleteResourcePolicyInput(v *DeleteResourcePolicyInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - if v.ResourceArn == nil || len(*v.ResourceArn) == 0 { - return &smithy.SerializationError{Err: fmt.Errorf("input member ResourceArn must not be empty")} - } - if v.ResourceArn != nil { - if err := encoder.SetURI("ResourceArn").String(*v.ResourceArn); err != nil { - return err - } - } - - if v.RevisionId != nil { - encoder.SetQuery("RevisionId").String(*v.RevisionId) - } - - return nil -} - type awsRestjson1_serializeOpGetAccountSettings struct { } @@ -3035,148 +2960,6 @@ func awsRestjson1_serializeOpHttpBindingsGetProvisionedConcurrencyConfigInput(v return nil } -type awsRestjson1_serializeOpGetPublicAccessBlockConfig struct { -} - -func (*awsRestjson1_serializeOpGetPublicAccessBlockConfig) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpGetPublicAccessBlockConfig) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*GetPublicAccessBlockConfigInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/2024-09-16/public-access-block/{ResourceArn}") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "GET" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if err := awsRestjson1_serializeOpHttpBindingsGetPublicAccessBlockConfigInput(input, restEncoder); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsGetPublicAccessBlockConfigInput(v *GetPublicAccessBlockConfigInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - if v.ResourceArn == nil || len(*v.ResourceArn) == 0 { - return &smithy.SerializationError{Err: fmt.Errorf("input member ResourceArn must not be empty")} - } - if v.ResourceArn != nil { - if err := encoder.SetURI("ResourceArn").String(*v.ResourceArn); err != nil { - return err - } - } - - return nil -} - -type awsRestjson1_serializeOpGetResourcePolicy struct { -} - -func (*awsRestjson1_serializeOpGetResourcePolicy) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpGetResourcePolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*GetResourcePolicyInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/2024-09-16/resource-policy/{ResourceArn}") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "GET" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if err := awsRestjson1_serializeOpHttpBindingsGetResourcePolicyInput(input, restEncoder); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsGetResourcePolicyInput(v *GetResourcePolicyInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - if v.ResourceArn == nil || len(*v.ResourceArn) == 0 { - return &smithy.SerializationError{Err: fmt.Errorf("input member ResourceArn must not be empty")} - } - if v.ResourceArn != nil { - if err := encoder.SetURI("ResourceArn").String(*v.ResourceArn); err != nil { - return err - } - } - - return nil -} - type awsRestjson1_serializeOpGetRuntimeManagementConfig struct { } @@ -5193,201 +4976,6 @@ func awsRestjson1_serializeOpDocumentPutProvisionedConcurrencyConfigInput(v *Put return nil } -type awsRestjson1_serializeOpPutPublicAccessBlockConfig struct { -} - -func (*awsRestjson1_serializeOpPutPublicAccessBlockConfig) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpPutPublicAccessBlockConfig) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*PutPublicAccessBlockConfigInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/2024-09-16/public-access-block/{ResourceArn}") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "PUT" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if err := awsRestjson1_serializeOpHttpBindingsPutPublicAccessBlockConfigInput(input, restEncoder); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentPutPublicAccessBlockConfigInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsPutPublicAccessBlockConfigInput(v *PutPublicAccessBlockConfigInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - if v.ResourceArn == nil || len(*v.ResourceArn) == 0 { - return &smithy.SerializationError{Err: fmt.Errorf("input member ResourceArn must not be empty")} - } - if v.ResourceArn != nil { - if err := encoder.SetURI("ResourceArn").String(*v.ResourceArn); err != nil { - return err - } - } - - return nil -} - -func awsRestjson1_serializeOpDocumentPutPublicAccessBlockConfigInput(v *PutPublicAccessBlockConfigInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.PublicAccessBlockConfig != nil { - ok := object.Key("PublicAccessBlockConfig") - if err := awsRestjson1_serializeDocumentPublicAccessBlockConfig(v.PublicAccessBlockConfig, ok); err != nil { - return err - } - } - - return nil -} - -type awsRestjson1_serializeOpPutResourcePolicy struct { -} - -func (*awsRestjson1_serializeOpPutResourcePolicy) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpPutResourcePolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*PutResourcePolicyInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/2024-09-16/resource-policy/{ResourceArn}") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "PUT" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if err := awsRestjson1_serializeOpHttpBindingsPutResourcePolicyInput(input, restEncoder); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentPutResourcePolicyInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsPutResourcePolicyInput(v *PutResourcePolicyInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - if v.ResourceArn == nil || len(*v.ResourceArn) == 0 { - return &smithy.SerializationError{Err: fmt.Errorf("input member ResourceArn must not be empty")} - } - if v.ResourceArn != nil { - if err := encoder.SetURI("ResourceArn").String(*v.ResourceArn); err != nil { - return err - } - } - - return nil -} - -func awsRestjson1_serializeOpDocumentPutResourcePolicyInput(v *PutResourcePolicyInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.Policy != nil { - ok := object.Key("Policy") - ok.String(*v.Policy) - } - - if v.RevisionId != nil { - ok := object.Key("RevisionId") - ok.String(*v.RevisionId) - } - - return nil -} - type awsRestjson1_serializeOpPutRuntimeManagementConfig struct { } @@ -7342,23 +6930,6 @@ func awsRestjson1_serializeDocumentOnSuccess(v *types.OnSuccess, value smithyjso return nil } -func awsRestjson1_serializeDocumentPublicAccessBlockConfig(v *types.PublicAccessBlockConfig, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.BlockPublicPolicy != nil { - ok := object.Key("BlockPublicPolicy") - ok.Boolean(*v.BlockPublicPolicy) - } - - if v.RestrictPublicResource != nil { - ok := object.Key("RestrictPublicResource") - ok.Boolean(*v.RestrictPublicResource) - } - - return nil -} - func awsRestjson1_serializeDocumentQueues(v []string, value smithyjson.Value) error { array := value.Array() defer array.Close() diff --git a/service/lambda/snapshot_test.go b/service/lambda/snapshot_test.go index 68edd3b2355..032a01ea21e 100644 --- a/service/lambda/snapshot_test.go +++ b/service/lambda/snapshot_test.go @@ -266,18 +266,6 @@ func TestCheckSnapshot_DeleteProvisionedConcurrencyConfig(t *testing.T) { } } -func TestCheckSnapshot_DeleteResourcePolicy(t *testing.T) { - svc := New(Options{}) - _, err := svc.DeleteResourcePolicy(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "DeleteResourcePolicy") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - func TestCheckSnapshot_GetAccountSettings(t *testing.T) { svc := New(Options{}) _, err := svc.GetAccountSettings(context.Background(), nil, func(o *Options) { @@ -470,30 +458,6 @@ func TestCheckSnapshot_GetProvisionedConcurrencyConfig(t *testing.T) { } } -func TestCheckSnapshot_GetPublicAccessBlockConfig(t *testing.T) { - svc := New(Options{}) - _, err := svc.GetPublicAccessBlockConfig(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "GetPublicAccessBlockConfig") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_GetResourcePolicy(t *testing.T) { - svc := New(Options{}) - _, err := svc.GetResourcePolicy(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "GetResourcePolicy") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - func TestCheckSnapshot_GetRuntimeManagementConfig(t *testing.T) { svc := New(Options{}) _, err := svc.GetRuntimeManagementConfig(context.Background(), nil, func(o *Options) { @@ -770,30 +734,6 @@ func TestCheckSnapshot_PutProvisionedConcurrencyConfig(t *testing.T) { } } -func TestCheckSnapshot_PutPublicAccessBlockConfig(t *testing.T) { - svc := New(Options{}) - _, err := svc.PutPublicAccessBlockConfig(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "PutPublicAccessBlockConfig") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_PutResourcePolicy(t *testing.T) { - svc := New(Options{}) - _, err := svc.PutResourcePolicy(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "PutResourcePolicy") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - func TestCheckSnapshot_PutRuntimeManagementConfig(t *testing.T) { svc := New(Options{}) _, err := svc.PutRuntimeManagementConfig(context.Background(), nil, func(o *Options) { @@ -1141,18 +1081,6 @@ func TestUpdateSnapshot_DeleteProvisionedConcurrencyConfig(t *testing.T) { } } -func TestUpdateSnapshot_DeleteResourcePolicy(t *testing.T) { - svc := New(Options{}) - _, err := svc.DeleteResourcePolicy(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "DeleteResourcePolicy") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - func TestUpdateSnapshot_GetAccountSettings(t *testing.T) { svc := New(Options{}) _, err := svc.GetAccountSettings(context.Background(), nil, func(o *Options) { @@ -1345,30 +1273,6 @@ func TestUpdateSnapshot_GetProvisionedConcurrencyConfig(t *testing.T) { } } -func TestUpdateSnapshot_GetPublicAccessBlockConfig(t *testing.T) { - svc := New(Options{}) - _, err := svc.GetPublicAccessBlockConfig(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "GetPublicAccessBlockConfig") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_GetResourcePolicy(t *testing.T) { - svc := New(Options{}) - _, err := svc.GetResourcePolicy(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "GetResourcePolicy") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - func TestUpdateSnapshot_GetRuntimeManagementConfig(t *testing.T) { svc := New(Options{}) _, err := svc.GetRuntimeManagementConfig(context.Background(), nil, func(o *Options) { @@ -1645,30 +1549,6 @@ func TestUpdateSnapshot_PutProvisionedConcurrencyConfig(t *testing.T) { } } -func TestUpdateSnapshot_PutPublicAccessBlockConfig(t *testing.T) { - svc := New(Options{}) - _, err := svc.PutPublicAccessBlockConfig(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "PutPublicAccessBlockConfig") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_PutResourcePolicy(t *testing.T) { - svc := New(Options{}) - _, err := svc.PutResourcePolicy(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "PutResourcePolicy") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - func TestUpdateSnapshot_PutRuntimeManagementConfig(t *testing.T) { svc := New(Options{}) _, err := svc.PutRuntimeManagementConfig(context.Background(), nil, func(o *Options) { diff --git a/service/lambda/types/errors.go b/service/lambda/types/errors.go index b329619fb75..92dd0d56a22 100644 --- a/service/lambda/types/errors.go +++ b/service/lambda/types/errors.go @@ -742,37 +742,6 @@ func (e *ProvisionedConcurrencyConfigNotFoundException) ErrorFault() smithy.Erro return smithy.FaultClient } -// Lambda prevented your policy from being created because it would grant public -// access to your function. If you intended to create a public policy, use the PutPublicAccessBlockConfigAPI -// action to configure your function's public-access settings to allow public -// policies. -type PublicPolicyException struct { - Message *string - - ErrorCodeOverride *string - - Type *string - - noSmithyDocumentSerde -} - -func (e *PublicPolicyException) Error() string { - return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) -} -func (e *PublicPolicyException) ErrorMessage() string { - if e.Message == nil { - return "" - } - return *e.Message -} -func (e *PublicPolicyException) ErrorCode() string { - if e == nil || e.ErrorCodeOverride == nil { - return "PublicPolicyException" - } - return *e.ErrorCodeOverride -} -func (e *PublicPolicyException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } - // Lambda has detected your function being invoked in a recursive loop with other // Amazon Web Services resources and stopped your function's invocation. type RecursiveInvocationException struct { diff --git a/service/lambda/types/types.go b/service/lambda/types/types.go index e10d881abd6..49e0b085d54 100644 --- a/service/lambda/types/types.go +++ b/service/lambda/types/types.go @@ -1127,24 +1127,6 @@ type ProvisionedConcurrencyConfigListItem struct { noSmithyDocumentSerde } -// An object that defines the public-access settings for a function. -type PublicAccessBlockConfig struct { - - // To block the creation of resource-based policies that would grant public access - // to your function, set BlockPublicPolicy to true . To allow the creation of - // resource-based policies that would grant public access to your function, set - // BlockPublicPolicy to false . - BlockPublicPolicy *bool - - // To block public access to your function, even if its resource-based policy - // allows it, set RestrictPublicResource to true . To allow public access to a - // function with a resource-based policy that permits it, set - // RestrictPublicResource to false . - RestrictPublicResource *bool - - noSmithyDocumentSerde -} - // The ARN of the runtime and any errors that occured. type RuntimeVersionConfig struct { diff --git a/service/lambda/validators.go b/service/lambda/validators.go index 4550af31989..c4c103d7baf 100644 --- a/service/lambda/validators.go +++ b/service/lambda/validators.go @@ -350,26 +350,6 @@ func (m *validateOpDeleteProvisionedConcurrencyConfig) HandleInitialize(ctx cont return next.HandleInitialize(ctx, in) } -type validateOpDeleteResourcePolicy struct { -} - -func (*validateOpDeleteResourcePolicy) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDeleteResourcePolicy) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DeleteResourcePolicyInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDeleteResourcePolicyInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - type validateOpGetAlias struct { } @@ -670,46 +650,6 @@ func (m *validateOpGetProvisionedConcurrencyConfig) HandleInitialize(ctx context return next.HandleInitialize(ctx, in) } -type validateOpGetPublicAccessBlockConfig struct { -} - -func (*validateOpGetPublicAccessBlockConfig) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpGetPublicAccessBlockConfig) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*GetPublicAccessBlockConfigInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpGetPublicAccessBlockConfigInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpGetResourcePolicy struct { -} - -func (*validateOpGetResourcePolicy) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpGetResourcePolicy) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*GetResourcePolicyInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpGetResourcePolicyInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - type validateOpGetRuntimeManagementConfig struct { } @@ -1090,46 +1030,6 @@ func (m *validateOpPutProvisionedConcurrencyConfig) HandleInitialize(ctx context return next.HandleInitialize(ctx, in) } -type validateOpPutPublicAccessBlockConfig struct { -} - -func (*validateOpPutPublicAccessBlockConfig) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpPutPublicAccessBlockConfig) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*PutPublicAccessBlockConfigInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpPutPublicAccessBlockConfigInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpPutResourcePolicy struct { -} - -func (*validateOpPutResourcePolicy) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpPutResourcePolicy) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*PutResourcePolicyInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpPutResourcePolicyInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - type validateOpPutRuntimeManagementConfig struct { } @@ -1438,10 +1338,6 @@ func addOpDeleteProvisionedConcurrencyConfigValidationMiddleware(stack *middlewa return stack.Initialize.Add(&validateOpDeleteProvisionedConcurrencyConfig{}, middleware.After) } -func addOpDeleteResourcePolicyValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDeleteResourcePolicy{}, middleware.After) -} - func addOpGetAliasValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpGetAlias{}, middleware.After) } @@ -1502,14 +1398,6 @@ func addOpGetProvisionedConcurrencyConfigValidationMiddleware(stack *middleware. return stack.Initialize.Add(&validateOpGetProvisionedConcurrencyConfig{}, middleware.After) } -func addOpGetPublicAccessBlockConfigValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpGetPublicAccessBlockConfig{}, middleware.After) -} - -func addOpGetResourcePolicyValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpGetResourcePolicy{}, middleware.After) -} - func addOpGetRuntimeManagementConfigValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpGetRuntimeManagementConfig{}, middleware.After) } @@ -1586,14 +1474,6 @@ func addOpPutProvisionedConcurrencyConfigValidationMiddleware(stack *middleware. return stack.Initialize.Add(&validateOpPutProvisionedConcurrencyConfig{}, middleware.After) } -func addOpPutPublicAccessBlockConfigValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpPutPublicAccessBlockConfig{}, middleware.After) -} - -func addOpPutResourcePolicyValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpPutResourcePolicy{}, middleware.After) -} - func addOpPutRuntimeManagementConfigValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpPutRuntimeManagementConfig{}, middleware.After) } @@ -2021,21 +1901,6 @@ func validateOpDeleteProvisionedConcurrencyConfigInput(v *DeleteProvisionedConcu } } -func validateOpDeleteResourcePolicyInput(v *DeleteResourcePolicyInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DeleteResourcePolicyInput"} - if v.ResourceArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - func validateOpGetAliasInput(v *GetAliasInput) error { if v == nil { return nil @@ -2273,36 +2138,6 @@ func validateOpGetProvisionedConcurrencyConfigInput(v *GetProvisionedConcurrency } } -func validateOpGetPublicAccessBlockConfigInput(v *GetPublicAccessBlockConfigInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "GetPublicAccessBlockConfigInput"} - if v.ResourceArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpGetResourcePolicyInput(v *GetResourcePolicyInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "GetResourcePolicyInput"} - if v.ResourceArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - func validateOpGetRuntimeManagementConfigInput(v *GetRuntimeManagementConfigInput) error { if v == nil { return nil @@ -2609,42 +2444,6 @@ func validateOpPutProvisionedConcurrencyConfigInput(v *PutProvisionedConcurrency } } -func validateOpPutPublicAccessBlockConfigInput(v *PutPublicAccessBlockConfigInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "PutPublicAccessBlockConfigInput"} - if v.ResourceArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) - } - if v.PublicAccessBlockConfig == nil { - invalidParams.Add(smithy.NewErrParamRequired("PublicAccessBlockConfig")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpPutResourcePolicyInput(v *PutResourcePolicyInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "PutResourcePolicyInput"} - if v.ResourceArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) - } - if v.Policy == nil { - invalidParams.Add(smithy.NewErrParamRequired("Policy")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - func validateOpPutRuntimeManagementConfigInput(v *PutRuntimeManagementConfigInput) error { if v == nil { return nil diff --git a/service/launchwizard/CHANGELOG.md b/service/launchwizard/CHANGELOG.md index c61ce8480aa..85c6a54bccf 100644 --- a/service/launchwizard/CHANGELOG.md +++ b/service/launchwizard/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.7.3 (2024-09-27) + +* No change notes available for this release. + # v1.7.2 (2024-09-25) * No change notes available for this release. diff --git a/service/launchwizard/api_client.go b/service/launchwizard/api_client.go index af0e34ab262..3e8c893b07f 100644 --- a/service/launchwizard/api_client.go +++ b/service/launchwizard/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/launchwizard/go_module_metadata.go b/service/launchwizard/go_module_metadata.go index 9fcc5c0fd91..575e02ba189 100644 --- a/service/launchwizard/go_module_metadata.go +++ b/service/launchwizard/go_module_metadata.go @@ -3,4 +3,4 @@ package launchwizard // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.7.2" +const goModuleVersion = "1.7.3" diff --git a/service/lexmodelbuildingservice/CHANGELOG.md b/service/lexmodelbuildingservice/CHANGELOG.md index 727289ef4a0..149ae74f459 100644 --- a/service/lexmodelbuildingservice/CHANGELOG.md +++ b/service/lexmodelbuildingservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/lexmodelbuildingservice/api_client.go b/service/lexmodelbuildingservice/api_client.go index 76f9b7a9f2b..3d5f2d81168 100644 --- a/service/lexmodelbuildingservice/api_client.go +++ b/service/lexmodelbuildingservice/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/lexmodelbuildingservice/go_module_metadata.go b/service/lexmodelbuildingservice/go_module_metadata.go index 953ae98a581..7468d98172f 100644 --- a/service/lexmodelbuildingservice/go_module_metadata.go +++ b/service/lexmodelbuildingservice/go_module_metadata.go @@ -3,4 +3,4 @@ package lexmodelbuildingservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/lexmodelsv2/CHANGELOG.md b/service/lexmodelsv2/CHANGELOG.md index b09e0695286..c1d4623a1cc 100644 --- a/service/lexmodelsv2/CHANGELOG.md +++ b/service/lexmodelsv2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.48.3 (2024-09-27) + +* No change notes available for this release. + # v1.48.2 (2024-09-25) * No change notes available for this release. diff --git a/service/lexmodelsv2/api_client.go b/service/lexmodelsv2/api_client.go index 671fb099ded..bc04e7ab4c3 100644 --- a/service/lexmodelsv2/api_client.go +++ b/service/lexmodelsv2/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/lexmodelsv2/go_module_metadata.go b/service/lexmodelsv2/go_module_metadata.go index 692f032779c..b07370b68ae 100644 --- a/service/lexmodelsv2/go_module_metadata.go +++ b/service/lexmodelsv2/go_module_metadata.go @@ -3,4 +3,4 @@ package lexmodelsv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.48.2" +const goModuleVersion = "1.48.3" diff --git a/service/lexruntimeservice/CHANGELOG.md b/service/lexruntimeservice/CHANGELOG.md index 01c7ced7b77..12edf301f1d 100644 --- a/service/lexruntimeservice/CHANGELOG.md +++ b/service/lexruntimeservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/lexruntimeservice/api_client.go b/service/lexruntimeservice/api_client.go index 3a28fcaf22f..222513f79be 100644 --- a/service/lexruntimeservice/api_client.go +++ b/service/lexruntimeservice/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/lexruntimeservice/go_module_metadata.go b/service/lexruntimeservice/go_module_metadata.go index 7d39e7da40f..a961ae28638 100644 --- a/service/lexruntimeservice/go_module_metadata.go +++ b/service/lexruntimeservice/go_module_metadata.go @@ -3,4 +3,4 @@ package lexruntimeservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/lexruntimev2/CHANGELOG.md b/service/lexruntimev2/CHANGELOG.md index 1fa03d66ed2..e009444c4de 100644 --- a/service/lexruntimev2/CHANGELOG.md +++ b/service/lexruntimev2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/lexruntimev2/api_client.go b/service/lexruntimev2/api_client.go index 8271fc058e8..1271a11c20b 100644 --- a/service/lexruntimev2/api_client.go +++ b/service/lexruntimev2/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/lexruntimev2/go_module_metadata.go b/service/lexruntimev2/go_module_metadata.go index 8f9a2190b7f..ffddb14d979 100644 --- a/service/lexruntimev2/go_module_metadata.go +++ b/service/lexruntimev2/go_module_metadata.go @@ -3,4 +3,4 @@ package lexruntimev2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/licensemanager/CHANGELOG.md b/service/licensemanager/CHANGELOG.md index 5c8807c9ebf..76c96cf1243 100644 --- a/service/licensemanager/CHANGELOG.md +++ b/service/licensemanager/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/licensemanager/api_client.go b/service/licensemanager/api_client.go index f89b60e94e8..a038fc82b16 100644 --- a/service/licensemanager/api_client.go +++ b/service/licensemanager/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/licensemanager/go_module_metadata.go b/service/licensemanager/go_module_metadata.go index 084d8891537..ebd7381e09f 100644 --- a/service/licensemanager/go_module_metadata.go +++ b/service/licensemanager/go_module_metadata.go @@ -3,4 +3,4 @@ package licensemanager // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/licensemanagerlinuxsubscriptions/CHANGELOG.md b/service/licensemanagerlinuxsubscriptions/CHANGELOG.md index bdecec070cd..e109d505aa8 100644 --- a/service/licensemanagerlinuxsubscriptions/CHANGELOG.md +++ b/service/licensemanagerlinuxsubscriptions/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.3 (2024-09-27) + +* No change notes available for this release. + # v1.13.2 (2024-09-25) * No change notes available for this release. diff --git a/service/licensemanagerlinuxsubscriptions/api_client.go b/service/licensemanagerlinuxsubscriptions/api_client.go index cc36e4e60b6..a4dbd71fcca 100644 --- a/service/licensemanagerlinuxsubscriptions/api_client.go +++ b/service/licensemanagerlinuxsubscriptions/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/licensemanagerlinuxsubscriptions/go_module_metadata.go b/service/licensemanagerlinuxsubscriptions/go_module_metadata.go index 8c795cff817..27690d8b22a 100644 --- a/service/licensemanagerlinuxsubscriptions/go_module_metadata.go +++ b/service/licensemanagerlinuxsubscriptions/go_module_metadata.go @@ -3,4 +3,4 @@ package licensemanagerlinuxsubscriptions // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.2" +const goModuleVersion = "1.13.3" diff --git a/service/licensemanagerusersubscriptions/CHANGELOG.md b/service/licensemanagerusersubscriptions/CHANGELOG.md index 058ed54694d..b180549a4bc 100644 --- a/service/licensemanagerusersubscriptions/CHANGELOG.md +++ b/service/licensemanagerusersubscriptions/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.3 (2024-09-27) + +* No change notes available for this release. + # v1.12.2 (2024-09-25) * No change notes available for this release. diff --git a/service/licensemanagerusersubscriptions/api_client.go b/service/licensemanagerusersubscriptions/api_client.go index 4e12b016139..bd56cbde64d 100644 --- a/service/licensemanagerusersubscriptions/api_client.go +++ b/service/licensemanagerusersubscriptions/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/licensemanagerusersubscriptions/go_module_metadata.go b/service/licensemanagerusersubscriptions/go_module_metadata.go index 883dbd5d100..9a907957044 100644 --- a/service/licensemanagerusersubscriptions/go_module_metadata.go +++ b/service/licensemanagerusersubscriptions/go_module_metadata.go @@ -3,4 +3,4 @@ package licensemanagerusersubscriptions // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.2" +const goModuleVersion = "1.12.3" diff --git a/service/lightsail/CHANGELOG.md b/service/lightsail/CHANGELOG.md index 1b4a9b971b9..dc467a60536 100644 --- a/service/lightsail/CHANGELOG.md +++ b/service/lightsail/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.41.3 (2024-09-27) + +* No change notes available for this release. + # v1.41.2 (2024-09-25) * No change notes available for this release. diff --git a/service/lightsail/api_client.go b/service/lightsail/api_client.go index 62c5c753309..5da76840c2e 100644 --- a/service/lightsail/api_client.go +++ b/service/lightsail/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/lightsail/go_module_metadata.go b/service/lightsail/go_module_metadata.go index 01cc46f7e6f..716cd9687e4 100644 --- a/service/lightsail/go_module_metadata.go +++ b/service/lightsail/go_module_metadata.go @@ -3,4 +3,4 @@ package lightsail // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.41.2" +const goModuleVersion = "1.41.3" diff --git a/service/location/CHANGELOG.md b/service/location/CHANGELOG.md index ff8ea0ba90b..66a79eb23a3 100644 --- a/service/location/CHANGELOG.md +++ b/service/location/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.41.3 (2024-09-27) + +* No change notes available for this release. + # v1.41.2 (2024-09-25) * No change notes available for this release. diff --git a/service/location/api_client.go b/service/location/api_client.go index ec5feb4d453..a3f02d3c48b 100644 --- a/service/location/api_client.go +++ b/service/location/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/location/go_module_metadata.go b/service/location/go_module_metadata.go index 12f0e5f6cfa..f8c16d7f022 100644 --- a/service/location/go_module_metadata.go +++ b/service/location/go_module_metadata.go @@ -3,4 +3,4 @@ package location // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.41.2" +const goModuleVersion = "1.41.3" diff --git a/service/lookoutequipment/CHANGELOG.md b/service/lookoutequipment/CHANGELOG.md index 9d8039742f6..865c51b54dc 100644 --- a/service/lookoutequipment/CHANGELOG.md +++ b/service/lookoutequipment/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.29.3 (2024-09-27) + +* No change notes available for this release. + # v1.29.2 (2024-09-25) * No change notes available for this release. diff --git a/service/lookoutequipment/api_client.go b/service/lookoutequipment/api_client.go index 7174fdd0520..114fe6ad053 100644 --- a/service/lookoutequipment/api_client.go +++ b/service/lookoutequipment/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/lookoutequipment/go_module_metadata.go b/service/lookoutequipment/go_module_metadata.go index d9c101834a5..1439eacfa5c 100644 --- a/service/lookoutequipment/go_module_metadata.go +++ b/service/lookoutequipment/go_module_metadata.go @@ -3,4 +3,4 @@ package lookoutequipment // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.29.2" +const goModuleVersion = "1.29.3" diff --git a/service/lookoutmetrics/CHANGELOG.md b/service/lookoutmetrics/CHANGELOG.md index 8549061c8f3..7afa8abaaf6 100644 --- a/service/lookoutmetrics/CHANGELOG.md +++ b/service/lookoutmetrics/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.30.3 (2024-09-27) + +* No change notes available for this release. + # v1.30.2 (2024-09-25) * No change notes available for this release. diff --git a/service/lookoutmetrics/api_client.go b/service/lookoutmetrics/api_client.go index 03525af0688..edb53e772a4 100644 --- a/service/lookoutmetrics/api_client.go +++ b/service/lookoutmetrics/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/lookoutmetrics/go_module_metadata.go b/service/lookoutmetrics/go_module_metadata.go index dd00057c544..cfa64e1d722 100644 --- a/service/lookoutmetrics/go_module_metadata.go +++ b/service/lookoutmetrics/go_module_metadata.go @@ -3,4 +3,4 @@ package lookoutmetrics // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.30.2" +const goModuleVersion = "1.30.3" diff --git a/service/lookoutvision/CHANGELOG.md b/service/lookoutvision/CHANGELOG.md index b1124c40ca7..01aaa993e6b 100644 --- a/service/lookoutvision/CHANGELOG.md +++ b/service/lookoutvision/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/lookoutvision/api_client.go b/service/lookoutvision/api_client.go index 7b0a67b093f..3209ea9ec5b 100644 --- a/service/lookoutvision/api_client.go +++ b/service/lookoutvision/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/lookoutvision/go_module_metadata.go b/service/lookoutvision/go_module_metadata.go index 172103bc3e0..cd795146b57 100644 --- a/service/lookoutvision/go_module_metadata.go +++ b/service/lookoutvision/go_module_metadata.go @@ -3,4 +3,4 @@ package lookoutvision // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/m2/CHANGELOG.md b/service/m2/CHANGELOG.md index fa48cae4506..2909e699e85 100644 --- a/service/m2/CHANGELOG.md +++ b/service/m2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.3 (2024-09-27) + +* No change notes available for this release. + # v1.16.2 (2024-09-25) * No change notes available for this release. diff --git a/service/m2/api_client.go b/service/m2/api_client.go index 9ee048c43d3..0ba064806f3 100644 --- a/service/m2/api_client.go +++ b/service/m2/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/m2/go_module_metadata.go b/service/m2/go_module_metadata.go index 931605d2c7c..20b6b6ec7a6 100644 --- a/service/m2/go_module_metadata.go +++ b/service/m2/go_module_metadata.go @@ -3,4 +3,4 @@ package m2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.2" +const goModuleVersion = "1.16.3" diff --git a/service/machinelearning/CHANGELOG.md b/service/machinelearning/CHANGELOG.md index f278667b7ce..14f4891342a 100644 --- a/service/machinelearning/CHANGELOG.md +++ b/service/machinelearning/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/machinelearning/api_client.go b/service/machinelearning/api_client.go index 859e3b331c7..b268ba07828 100644 --- a/service/machinelearning/api_client.go +++ b/service/machinelearning/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/machinelearning/go_module_metadata.go b/service/machinelearning/go_module_metadata.go index d62290a1582..b5cf2e081b7 100644 --- a/service/machinelearning/go_module_metadata.go +++ b/service/machinelearning/go_module_metadata.go @@ -3,4 +3,4 @@ package machinelearning // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/macie2/CHANGELOG.md b/service/macie2/CHANGELOG.md index 6906dae561a..cf0342b3866 100644 --- a/service/macie2/CHANGELOG.md +++ b/service/macie2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.42.3 (2024-09-27) + +* No change notes available for this release. + # v1.42.2 (2024-09-25) * No change notes available for this release. diff --git a/service/macie2/api_client.go b/service/macie2/api_client.go index e65bfd1de2c..063f5fd89bb 100644 --- a/service/macie2/api_client.go +++ b/service/macie2/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/macie2/go_module_metadata.go b/service/macie2/go_module_metadata.go index c5fa8e61a43..3c95a65ffa8 100644 --- a/service/macie2/go_module_metadata.go +++ b/service/macie2/go_module_metadata.go @@ -3,4 +3,4 @@ package macie2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.42.2" +const goModuleVersion = "1.42.3" diff --git a/service/mailmanager/CHANGELOG.md b/service/mailmanager/CHANGELOG.md index cda700de54c..573773162d7 100644 --- a/service/mailmanager/CHANGELOG.md +++ b/service/mailmanager/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.4.3 (2024-09-27) + +* No change notes available for this release. + # v1.4.2 (2024-09-25) * No change notes available for this release. diff --git a/service/mailmanager/api_client.go b/service/mailmanager/api_client.go index 10a5fff7f27..ce20e946eed 100644 --- a/service/mailmanager/api_client.go +++ b/service/mailmanager/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/mailmanager/go_module_metadata.go b/service/mailmanager/go_module_metadata.go index 5efd0a12269..70b3242373d 100644 --- a/service/mailmanager/go_module_metadata.go +++ b/service/mailmanager/go_module_metadata.go @@ -3,4 +3,4 @@ package mailmanager // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.4.2" +const goModuleVersion = "1.4.3" diff --git a/service/managedblockchain/CHANGELOG.md b/service/managedblockchain/CHANGELOG.md index de34a897c21..e57b36d779b 100644 --- a/service/managedblockchain/CHANGELOG.md +++ b/service/managedblockchain/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/managedblockchain/api_client.go b/service/managedblockchain/api_client.go index 4159452364e..ef167a5b169 100644 --- a/service/managedblockchain/api_client.go +++ b/service/managedblockchain/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/managedblockchain/go_module_metadata.go b/service/managedblockchain/go_module_metadata.go index 28e6572d7d6..6b9480a4c6e 100644 --- a/service/managedblockchain/go_module_metadata.go +++ b/service/managedblockchain/go_module_metadata.go @@ -3,4 +3,4 @@ package managedblockchain // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/managedblockchainquery/CHANGELOG.md b/service/managedblockchainquery/CHANGELOG.md index 1cd307e817b..be89cad28da 100644 --- a/service/managedblockchainquery/CHANGELOG.md +++ b/service/managedblockchainquery/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.3 (2024-09-27) + +* No change notes available for this release. + # v1.15.2 (2024-09-25) * No change notes available for this release. diff --git a/service/managedblockchainquery/api_client.go b/service/managedblockchainquery/api_client.go index 1f3cd77b9b6..3e5595039a4 100644 --- a/service/managedblockchainquery/api_client.go +++ b/service/managedblockchainquery/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/managedblockchainquery/go_module_metadata.go b/service/managedblockchainquery/go_module_metadata.go index b91537024bc..7248a09f3b6 100644 --- a/service/managedblockchainquery/go_module_metadata.go +++ b/service/managedblockchainquery/go_module_metadata.go @@ -3,4 +3,4 @@ package managedblockchainquery // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.2" +const goModuleVersion = "1.15.3" diff --git a/service/marketplaceagreement/CHANGELOG.md b/service/marketplaceagreement/CHANGELOG.md index d74d3fee392..c53ae253348 100644 --- a/service/marketplaceagreement/CHANGELOG.md +++ b/service/marketplaceagreement/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.5.3 (2024-09-27) + +* No change notes available for this release. + # v1.5.2 (2024-09-25) * No change notes available for this release. diff --git a/service/marketplaceagreement/api_client.go b/service/marketplaceagreement/api_client.go index 92b5e20e219..b35679ab487 100644 --- a/service/marketplaceagreement/api_client.go +++ b/service/marketplaceagreement/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/marketplaceagreement/go_module_metadata.go b/service/marketplaceagreement/go_module_metadata.go index a745b48910e..89bdca17f79 100644 --- a/service/marketplaceagreement/go_module_metadata.go +++ b/service/marketplaceagreement/go_module_metadata.go @@ -3,4 +3,4 @@ package marketplaceagreement // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.5.2" +const goModuleVersion = "1.5.3" diff --git a/service/marketplacecatalog/CHANGELOG.md b/service/marketplacecatalog/CHANGELOG.md index 8e7e31fca81..435aed77791 100644 --- a/service/marketplacecatalog/CHANGELOG.md +++ b/service/marketplacecatalog/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.29.3 (2024-09-27) + +* No change notes available for this release. + # v1.29.2 (2024-09-25) * No change notes available for this release. diff --git a/service/marketplacecatalog/api_client.go b/service/marketplacecatalog/api_client.go index c380c7ffe19..e23474d61b8 100644 --- a/service/marketplacecatalog/api_client.go +++ b/service/marketplacecatalog/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/marketplacecatalog/go_module_metadata.go b/service/marketplacecatalog/go_module_metadata.go index 549090edb05..0bddb8ffb97 100644 --- a/service/marketplacecatalog/go_module_metadata.go +++ b/service/marketplacecatalog/go_module_metadata.go @@ -3,4 +3,4 @@ package marketplacecatalog // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.29.2" +const goModuleVersion = "1.29.3" diff --git a/service/marketplacecommerceanalytics/CHANGELOG.md b/service/marketplacecommerceanalytics/CHANGELOG.md index c78777d73ed..bb0cafd0565 100644 --- a/service/marketplacecommerceanalytics/CHANGELOG.md +++ b/service/marketplacecommerceanalytics/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/marketplacecommerceanalytics/api_client.go b/service/marketplacecommerceanalytics/api_client.go index 517bac59813..0b5943753a8 100644 --- a/service/marketplacecommerceanalytics/api_client.go +++ b/service/marketplacecommerceanalytics/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/marketplacecommerceanalytics/go_module_metadata.go b/service/marketplacecommerceanalytics/go_module_metadata.go index 1cca8a62511..84d331e78d1 100644 --- a/service/marketplacecommerceanalytics/go_module_metadata.go +++ b/service/marketplacecommerceanalytics/go_module_metadata.go @@ -3,4 +3,4 @@ package marketplacecommerceanalytics // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/marketplacedeployment/CHANGELOG.md b/service/marketplacedeployment/CHANGELOG.md index 5383cc683fc..44349e406ec 100644 --- a/service/marketplacedeployment/CHANGELOG.md +++ b/service/marketplacedeployment/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.5.3 (2024-09-27) + +* No change notes available for this release. + # v1.5.2 (2024-09-25) * No change notes available for this release. diff --git a/service/marketplacedeployment/api_client.go b/service/marketplacedeployment/api_client.go index 567a7bce400..d7e2eb70956 100644 --- a/service/marketplacedeployment/api_client.go +++ b/service/marketplacedeployment/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/marketplacedeployment/go_module_metadata.go b/service/marketplacedeployment/go_module_metadata.go index 93c47c6e999..f08982d4899 100644 --- a/service/marketplacedeployment/go_module_metadata.go +++ b/service/marketplacedeployment/go_module_metadata.go @@ -3,4 +3,4 @@ package marketplacedeployment // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.5.2" +const goModuleVersion = "1.5.3" diff --git a/service/marketplaceentitlementservice/CHANGELOG.md b/service/marketplaceentitlementservice/CHANGELOG.md index 7fe1d3f7b70..281847bef01 100644 --- a/service/marketplaceentitlementservice/CHANGELOG.md +++ b/service/marketplaceentitlementservice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/marketplaceentitlementservice/api_client.go b/service/marketplaceentitlementservice/api_client.go index f2eca3fceb6..8486f569e0b 100644 --- a/service/marketplaceentitlementservice/api_client.go +++ b/service/marketplaceentitlementservice/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/marketplaceentitlementservice/go_module_metadata.go b/service/marketplaceentitlementservice/go_module_metadata.go index 9059a23552d..fb7463f425d 100644 --- a/service/marketplaceentitlementservice/go_module_metadata.go +++ b/service/marketplaceentitlementservice/go_module_metadata.go @@ -3,4 +3,4 @@ package marketplaceentitlementservice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/marketplacemetering/CHANGELOG.md b/service/marketplacemetering/CHANGELOG.md index d98198aad8e..19c52efbaf4 100644 --- a/service/marketplacemetering/CHANGELOG.md +++ b/service/marketplacemetering/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/marketplacemetering/api_client.go b/service/marketplacemetering/api_client.go index aa622287373..6eaa22e0f6f 100644 --- a/service/marketplacemetering/api_client.go +++ b/service/marketplacemetering/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/marketplacemetering/go_module_metadata.go b/service/marketplacemetering/go_module_metadata.go index bec31115cc8..b2cb63ba727 100644 --- a/service/marketplacemetering/go_module_metadata.go +++ b/service/marketplacemetering/go_module_metadata.go @@ -3,4 +3,4 @@ package marketplacemetering // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/mediaconnect/CHANGELOG.md b/service/mediaconnect/CHANGELOG.md index 6cd9b9d8012..cbd2a9cc64a 100644 --- a/service/mediaconnect/CHANGELOG.md +++ b/service/mediaconnect/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.34.3 (2024-09-27) + +* No change notes available for this release. + # v1.34.2 (2024-09-25) * No change notes available for this release. diff --git a/service/mediaconnect/api_client.go b/service/mediaconnect/api_client.go index f0ae12c558a..e920ea0bd8b 100644 --- a/service/mediaconnect/api_client.go +++ b/service/mediaconnect/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/mediaconnect/go_module_metadata.go b/service/mediaconnect/go_module_metadata.go index e506eef049b..a2c469dc400 100644 --- a/service/mediaconnect/go_module_metadata.go +++ b/service/mediaconnect/go_module_metadata.go @@ -3,4 +3,4 @@ package mediaconnect // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.34.2" +const goModuleVersion = "1.34.3" diff --git a/service/mediaconvert/CHANGELOG.md b/service/mediaconvert/CHANGELOG.md index 58c47b75e12..c54be5261b9 100644 --- a/service/mediaconvert/CHANGELOG.md +++ b/service/mediaconvert/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.60.3 (2024-09-27) + +* No change notes available for this release. + # v1.60.2 (2024-09-25) * No change notes available for this release. diff --git a/service/mediaconvert/api_client.go b/service/mediaconvert/api_client.go index 8bf93a099d4..840daec5fff 100644 --- a/service/mediaconvert/api_client.go +++ b/service/mediaconvert/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/mediaconvert/go_module_metadata.go b/service/mediaconvert/go_module_metadata.go index 982b4404218..162018b992e 100644 --- a/service/mediaconvert/go_module_metadata.go +++ b/service/mediaconvert/go_module_metadata.go @@ -3,4 +3,4 @@ package mediaconvert // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.60.2" +const goModuleVersion = "1.60.3" diff --git a/service/medialive/CHANGELOG.md b/service/medialive/CHANGELOG.md index a7795c9dc43..2ef509fbc17 100644 --- a/service/medialive/CHANGELOG.md +++ b/service/medialive/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.61.3 (2024-09-27) + +* No change notes available for this release. + # v1.61.2 (2024-09-25) * No change notes available for this release. diff --git a/service/medialive/api_client.go b/service/medialive/api_client.go index 0c675862f0d..583f89fb339 100644 --- a/service/medialive/api_client.go +++ b/service/medialive/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/medialive/go_module_metadata.go b/service/medialive/go_module_metadata.go index c2e26f21c9c..d986d73d481 100644 --- a/service/medialive/go_module_metadata.go +++ b/service/medialive/go_module_metadata.go @@ -3,4 +3,4 @@ package medialive // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.61.2" +const goModuleVersion = "1.61.3" diff --git a/service/mediapackage/CHANGELOG.md b/service/mediapackage/CHANGELOG.md index 61e4305c88b..2c5ba5bd6a1 100644 --- a/service/mediapackage/CHANGELOG.md +++ b/service/mediapackage/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.33.3 (2024-09-27) + +* No change notes available for this release. + # v1.33.2 (2024-09-25) * No change notes available for this release. diff --git a/service/mediapackage/api_client.go b/service/mediapackage/api_client.go index bacdb84d556..a6cac4a9515 100644 --- a/service/mediapackage/api_client.go +++ b/service/mediapackage/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/mediapackage/go_module_metadata.go b/service/mediapackage/go_module_metadata.go index 1cce8fadda3..5bda5aacc5b 100644 --- a/service/mediapackage/go_module_metadata.go +++ b/service/mediapackage/go_module_metadata.go @@ -3,4 +3,4 @@ package mediapackage // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.33.2" +const goModuleVersion = "1.33.3" diff --git a/service/mediapackagev2/CHANGELOG.md b/service/mediapackagev2/CHANGELOG.md index 3c4d79ca176..36709079c7d 100644 --- a/service/mediapackagev2/CHANGELOG.md +++ b/service/mediapackagev2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.3 (2024-09-27) + +* No change notes available for this release. + # v1.16.2 (2024-09-25) * No change notes available for this release. diff --git a/service/mediapackagev2/api_client.go b/service/mediapackagev2/api_client.go index a53d7292ca8..a849e1a7b27 100644 --- a/service/mediapackagev2/api_client.go +++ b/service/mediapackagev2/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/mediapackagev2/go_module_metadata.go b/service/mediapackagev2/go_module_metadata.go index 21c80488ce7..9bd724a227f 100644 --- a/service/mediapackagev2/go_module_metadata.go +++ b/service/mediapackagev2/go_module_metadata.go @@ -3,4 +3,4 @@ package mediapackagev2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.2" +const goModuleVersion = "1.16.3" diff --git a/service/mediapackagevod/CHANGELOG.md b/service/mediapackagevod/CHANGELOG.md index 9f0c7d57338..64e1a2d15b4 100644 --- a/service/mediapackagevod/CHANGELOG.md +++ b/service/mediapackagevod/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.33.3 (2024-09-27) + +* No change notes available for this release. + # v1.33.2 (2024-09-25) * No change notes available for this release. diff --git a/service/mediapackagevod/api_client.go b/service/mediapackagevod/api_client.go index d1327e4e132..f45006bd960 100644 --- a/service/mediapackagevod/api_client.go +++ b/service/mediapackagevod/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/mediapackagevod/go_module_metadata.go b/service/mediapackagevod/go_module_metadata.go index 5dbeed05cb0..4c3661e770b 100644 --- a/service/mediapackagevod/go_module_metadata.go +++ b/service/mediapackagevod/go_module_metadata.go @@ -3,4 +3,4 @@ package mediapackagevod // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.33.2" +const goModuleVersion = "1.33.3" diff --git a/service/mediastore/CHANGELOG.md b/service/mediastore/CHANGELOG.md index c25a4c44f27..8a1818170b6 100644 --- a/service/mediastore/CHANGELOG.md +++ b/service/mediastore/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/mediastore/api_client.go b/service/mediastore/api_client.go index fd41bc102fa..db1d8711a82 100644 --- a/service/mediastore/api_client.go +++ b/service/mediastore/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/mediastore/go_module_metadata.go b/service/mediastore/go_module_metadata.go index 7054b14b794..089ac86f6c7 100644 --- a/service/mediastore/go_module_metadata.go +++ b/service/mediastore/go_module_metadata.go @@ -3,4 +3,4 @@ package mediastore // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/mediastoredata/CHANGELOG.md b/service/mediastoredata/CHANGELOG.md index a3a0c1ef71a..62879621235 100644 --- a/service/mediastoredata/CHANGELOG.md +++ b/service/mediastoredata/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/mediastoredata/api_client.go b/service/mediastoredata/api_client.go index a4747a83227..e3f64e692e3 100644 --- a/service/mediastoredata/api_client.go +++ b/service/mediastoredata/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/mediastoredata/go_module_metadata.go b/service/mediastoredata/go_module_metadata.go index 20dbff51c06..f53c1bba634 100644 --- a/service/mediastoredata/go_module_metadata.go +++ b/service/mediastoredata/go_module_metadata.go @@ -3,4 +3,4 @@ package mediastoredata // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/mediatailor/CHANGELOG.md b/service/mediatailor/CHANGELOG.md index 4caf1df600b..1915aa316a5 100644 --- a/service/mediatailor/CHANGELOG.md +++ b/service/mediatailor/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.41.3 (2024-09-27) + +* No change notes available for this release. + # v1.41.2 (2024-09-25) * No change notes available for this release. diff --git a/service/mediatailor/api_client.go b/service/mediatailor/api_client.go index 654c9b2a225..a7a15205ba6 100644 --- a/service/mediatailor/api_client.go +++ b/service/mediatailor/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/mediatailor/go_module_metadata.go b/service/mediatailor/go_module_metadata.go index 8443819f413..335785d8726 100644 --- a/service/mediatailor/go_module_metadata.go +++ b/service/mediatailor/go_module_metadata.go @@ -3,4 +3,4 @@ package mediatailor // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.41.2" +const goModuleVersion = "1.41.3" diff --git a/service/medicalimaging/CHANGELOG.md b/service/medicalimaging/CHANGELOG.md index 61fc9994805..35cdf0e84f4 100644 --- a/service/medicalimaging/CHANGELOG.md +++ b/service/medicalimaging/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.3 (2024-09-27) + +* No change notes available for this release. + # v1.13.2 (2024-09-25) * No change notes available for this release. diff --git a/service/medicalimaging/api_client.go b/service/medicalimaging/api_client.go index 4c9eac3b356..79a0a967f40 100644 --- a/service/medicalimaging/api_client.go +++ b/service/medicalimaging/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/medicalimaging/go_module_metadata.go b/service/medicalimaging/go_module_metadata.go index 9e07c3ef769..b8a477c9b0e 100644 --- a/service/medicalimaging/go_module_metadata.go +++ b/service/medicalimaging/go_module_metadata.go @@ -3,4 +3,4 @@ package medicalimaging // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.2" +const goModuleVersion = "1.13.3" diff --git a/service/memorydb/CHANGELOG.md b/service/memorydb/CHANGELOG.md index af463484081..fed113f9f8b 100644 --- a/service/memorydb/CHANGELOG.md +++ b/service/memorydb/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/memorydb/api_client.go b/service/memorydb/api_client.go index 5927215f53c..513bc4ab5bf 100644 --- a/service/memorydb/api_client.go +++ b/service/memorydb/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/memorydb/go_module_metadata.go b/service/memorydb/go_module_metadata.go index 6b03c4006a0..7706c574dec 100644 --- a/service/memorydb/go_module_metadata.go +++ b/service/memorydb/go_module_metadata.go @@ -3,4 +3,4 @@ package memorydb // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/mgn/CHANGELOG.md b/service/mgn/CHANGELOG.md index 0a0044ec1f0..846f1785385 100644 --- a/service/mgn/CHANGELOG.md +++ b/service/mgn/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.31.3 (2024-09-27) + +* No change notes available for this release. + # v1.31.2 (2024-09-25) * No change notes available for this release. diff --git a/service/mgn/api_client.go b/service/mgn/api_client.go index 171cee62c91..a854bc49853 100644 --- a/service/mgn/api_client.go +++ b/service/mgn/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/mgn/go_module_metadata.go b/service/mgn/go_module_metadata.go index 7675e454668..fe1f7a9245b 100644 --- a/service/mgn/go_module_metadata.go +++ b/service/mgn/go_module_metadata.go @@ -3,4 +3,4 @@ package mgn // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.31.2" +const goModuleVersion = "1.31.3" diff --git a/service/migrationhub/CHANGELOG.md b/service/migrationhub/CHANGELOG.md index c25a4c44f27..8a1818170b6 100644 --- a/service/migrationhub/CHANGELOG.md +++ b/service/migrationhub/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/migrationhub/api_client.go b/service/migrationhub/api_client.go index 08f4a46dd92..c5109d1a5d6 100644 --- a/service/migrationhub/api_client.go +++ b/service/migrationhub/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/migrationhub/go_module_metadata.go b/service/migrationhub/go_module_metadata.go index a4319103d7b..c9ccbe04ebb 100644 --- a/service/migrationhub/go_module_metadata.go +++ b/service/migrationhub/go_module_metadata.go @@ -3,4 +3,4 @@ package migrationhub // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/migrationhubconfig/CHANGELOG.md b/service/migrationhubconfig/CHANGELOG.md index 5aba00b2a97..a03363790c1 100644 --- a/service/migrationhubconfig/CHANGELOG.md +++ b/service/migrationhubconfig/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/migrationhubconfig/api_client.go b/service/migrationhubconfig/api_client.go index 4081dcbfcc2..e24166637b0 100644 --- a/service/migrationhubconfig/api_client.go +++ b/service/migrationhubconfig/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/migrationhubconfig/go_module_metadata.go b/service/migrationhubconfig/go_module_metadata.go index 408d937925c..53e6e43dd03 100644 --- a/service/migrationhubconfig/go_module_metadata.go +++ b/service/migrationhubconfig/go_module_metadata.go @@ -3,4 +3,4 @@ package migrationhubconfig // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/migrationhuborchestrator/CHANGELOG.md b/service/migrationhuborchestrator/CHANGELOG.md index 521f61f0bc8..afe096a6da7 100644 --- a/service/migrationhuborchestrator/CHANGELOG.md +++ b/service/migrationhuborchestrator/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.3 (2024-09-27) + +* No change notes available for this release. + # v1.12.2 (2024-09-25) * No change notes available for this release. diff --git a/service/migrationhuborchestrator/api_client.go b/service/migrationhuborchestrator/api_client.go index 0ead8a69cb3..3e2dd9a2bcf 100644 --- a/service/migrationhuborchestrator/api_client.go +++ b/service/migrationhuborchestrator/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/migrationhuborchestrator/go_module_metadata.go b/service/migrationhuborchestrator/go_module_metadata.go index c657d4f699a..ebe9b66f568 100644 --- a/service/migrationhuborchestrator/go_module_metadata.go +++ b/service/migrationhuborchestrator/go_module_metadata.go @@ -3,4 +3,4 @@ package migrationhuborchestrator // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.2" +const goModuleVersion = "1.12.3" diff --git a/service/migrationhubrefactorspaces/CHANGELOG.md b/service/migrationhubrefactorspaces/CHANGELOG.md index bac7ed8f7aa..34e77fc45da 100644 --- a/service/migrationhubrefactorspaces/CHANGELOG.md +++ b/service/migrationhubrefactorspaces/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.19.3 (2024-09-27) + +* No change notes available for this release. + # v1.19.2 (2024-09-25) * No change notes available for this release. diff --git a/service/migrationhubrefactorspaces/api_client.go b/service/migrationhubrefactorspaces/api_client.go index 074b3dd7f68..b474e4edb5d 100644 --- a/service/migrationhubrefactorspaces/api_client.go +++ b/service/migrationhubrefactorspaces/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/migrationhubrefactorspaces/go_module_metadata.go b/service/migrationhubrefactorspaces/go_module_metadata.go index 8cb475e6efc..d1fd4207a16 100644 --- a/service/migrationhubrefactorspaces/go_module_metadata.go +++ b/service/migrationhubrefactorspaces/go_module_metadata.go @@ -3,4 +3,4 @@ package migrationhubrefactorspaces // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.2" +const goModuleVersion = "1.19.3" diff --git a/service/migrationhubstrategy/CHANGELOG.md b/service/migrationhubstrategy/CHANGELOG.md index d100d66de5d..276e4cbf4c3 100644 --- a/service/migrationhubstrategy/CHANGELOG.md +++ b/service/migrationhubstrategy/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.20.3 (2024-09-27) + +* No change notes available for this release. + # v1.20.2 (2024-09-25) * No change notes available for this release. diff --git a/service/migrationhubstrategy/api_client.go b/service/migrationhubstrategy/api_client.go index 97618123c76..6902f7ed54b 100644 --- a/service/migrationhubstrategy/api_client.go +++ b/service/migrationhubstrategy/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/migrationhubstrategy/go_module_metadata.go b/service/migrationhubstrategy/go_module_metadata.go index 3e910a13692..e0df340b3a3 100644 --- a/service/migrationhubstrategy/go_module_metadata.go +++ b/service/migrationhubstrategy/go_module_metadata.go @@ -3,4 +3,4 @@ package migrationhubstrategy // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.2" +const goModuleVersion = "1.20.3" diff --git a/service/mq/CHANGELOG.md b/service/mq/CHANGELOG.md index e8f65062aa9..276367cee48 100644 --- a/service/mq/CHANGELOG.md +++ b/service/mq/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/mq/api_client.go b/service/mq/api_client.go index c0e8af8aaec..a8b6ca58c1e 100644 --- a/service/mq/api_client.go +++ b/service/mq/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/mq/go_module_metadata.go b/service/mq/go_module_metadata.go index c22212f7161..775aee781f3 100644 --- a/service/mq/go_module_metadata.go +++ b/service/mq/go_module_metadata.go @@ -3,4 +3,4 @@ package mq // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/mturk/CHANGELOG.md b/service/mturk/CHANGELOG.md index cc997bd30c7..e7a7a602850 100644 --- a/service/mturk/CHANGELOG.md +++ b/service/mturk/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/mturk/api_client.go b/service/mturk/api_client.go index 4f6494d9591..5c58d791ebf 100644 --- a/service/mturk/api_client.go +++ b/service/mturk/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/mturk/go_module_metadata.go b/service/mturk/go_module_metadata.go index d2fc613d446..461d6774ed9 100644 --- a/service/mturk/go_module_metadata.go +++ b/service/mturk/go_module_metadata.go @@ -3,4 +3,4 @@ package mturk // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/mwaa/CHANGELOG.md b/service/mwaa/CHANGELOG.md index b4f4c2c5d23..cc1ab0c7c02 100644 --- a/service/mwaa/CHANGELOG.md +++ b/service/mwaa/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.30.3 (2024-09-27) + +* No change notes available for this release. + # v1.30.2 (2024-09-25) * No change notes available for this release. diff --git a/service/mwaa/api_client.go b/service/mwaa/api_client.go index b0ef4b14f5f..07929795807 100644 --- a/service/mwaa/api_client.go +++ b/service/mwaa/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/mwaa/go_module_metadata.go b/service/mwaa/go_module_metadata.go index 407b6bb47d9..ff28f85f245 100644 --- a/service/mwaa/go_module_metadata.go +++ b/service/mwaa/go_module_metadata.go @@ -3,4 +3,4 @@ package mwaa // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.30.2" +const goModuleVersion = "1.30.3" diff --git a/service/neptune/CHANGELOG.md b/service/neptune/CHANGELOG.md index ea7889d2f42..52cd4802e32 100644 --- a/service/neptune/CHANGELOG.md +++ b/service/neptune/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.34.3 (2024-09-27) + +* No change notes available for this release. + # v1.34.2 (2024-09-25) * No change notes available for this release. diff --git a/service/neptune/api_client.go b/service/neptune/api_client.go index d4eca8718ef..b6b4759c05d 100644 --- a/service/neptune/api_client.go +++ b/service/neptune/api_client.go @@ -189,10 +189,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/neptune/go_module_metadata.go b/service/neptune/go_module_metadata.go index ece1234f5a5..c7380710bd0 100644 --- a/service/neptune/go_module_metadata.go +++ b/service/neptune/go_module_metadata.go @@ -3,4 +3,4 @@ package neptune // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.34.2" +const goModuleVersion = "1.34.3" diff --git a/service/neptunedata/CHANGELOG.md b/service/neptunedata/CHANGELOG.md index 76e3f4e0568..6730241d7c7 100644 --- a/service/neptunedata/CHANGELOG.md +++ b/service/neptunedata/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.8.3 (2024-09-27) + +* No change notes available for this release. + # v1.8.2 (2024-09-25) * No change notes available for this release. diff --git a/service/neptunedata/api_client.go b/service/neptunedata/api_client.go index dd45aaec0d1..72a666527a4 100644 --- a/service/neptunedata/api_client.go +++ b/service/neptunedata/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/neptunedata/go_module_metadata.go b/service/neptunedata/go_module_metadata.go index 47ac9b19fc5..69299e471d6 100644 --- a/service/neptunedata/go_module_metadata.go +++ b/service/neptunedata/go_module_metadata.go @@ -3,4 +3,4 @@ package neptunedata // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.8.2" +const goModuleVersion = "1.8.3" diff --git a/service/neptunegraph/CHANGELOG.md b/service/neptunegraph/CHANGELOG.md index 50c23a037cc..f82b136e79c 100644 --- a/service/neptunegraph/CHANGELOG.md +++ b/service/neptunegraph/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.3 (2024-09-27) + +* No change notes available for this release. + # v1.12.2 (2024-09-25) * No change notes available for this release. diff --git a/service/neptunegraph/api_client.go b/service/neptunegraph/api_client.go index 9cc00ab5a18..d2c44acc265 100644 --- a/service/neptunegraph/api_client.go +++ b/service/neptunegraph/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/neptunegraph/go_module_metadata.go b/service/neptunegraph/go_module_metadata.go index c8abceb82fc..9cecee2f772 100644 --- a/service/neptunegraph/go_module_metadata.go +++ b/service/neptunegraph/go_module_metadata.go @@ -3,4 +3,4 @@ package neptunegraph // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.2" +const goModuleVersion = "1.12.3" diff --git a/service/networkfirewall/CHANGELOG.md b/service/networkfirewall/CHANGELOG.md index b9c4be34b42..cbc261a50a2 100644 --- a/service/networkfirewall/CHANGELOG.md +++ b/service/networkfirewall/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.42.3 (2024-09-27) + +* No change notes available for this release. + # v1.42.2 (2024-09-25) * No change notes available for this release. diff --git a/service/networkfirewall/api_client.go b/service/networkfirewall/api_client.go index 29e50bfe4ec..93fa460d857 100644 --- a/service/networkfirewall/api_client.go +++ b/service/networkfirewall/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/networkfirewall/go_module_metadata.go b/service/networkfirewall/go_module_metadata.go index 25d3c06b478..1a752bc82ed 100644 --- a/service/networkfirewall/go_module_metadata.go +++ b/service/networkfirewall/go_module_metadata.go @@ -3,4 +3,4 @@ package networkfirewall // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.42.2" +const goModuleVersion = "1.42.3" diff --git a/service/networkmanager/CHANGELOG.md b/service/networkmanager/CHANGELOG.md index dab99605443..fa8490d386a 100644 --- a/service/networkmanager/CHANGELOG.md +++ b/service/networkmanager/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.30.3 (2024-09-27) + +* No change notes available for this release. + # v1.30.2 (2024-09-25) * No change notes available for this release. diff --git a/service/networkmanager/api_client.go b/service/networkmanager/api_client.go index 5bf0ea5f99f..8f66733f845 100644 --- a/service/networkmanager/api_client.go +++ b/service/networkmanager/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/networkmanager/go_module_metadata.go b/service/networkmanager/go_module_metadata.go index 8570c059265..7854a6fdc08 100644 --- a/service/networkmanager/go_module_metadata.go +++ b/service/networkmanager/go_module_metadata.go @@ -3,4 +3,4 @@ package networkmanager // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.30.2" +const goModuleVersion = "1.30.3" diff --git a/service/networkmonitor/CHANGELOG.md b/service/networkmonitor/CHANGELOG.md index 5673568dcc5..39243165b6a 100644 --- a/service/networkmonitor/CHANGELOG.md +++ b/service/networkmonitor/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.6.3 (2024-09-27) + +* No change notes available for this release. + # v1.6.2 (2024-09-25) * No change notes available for this release. diff --git a/service/networkmonitor/api_client.go b/service/networkmonitor/api_client.go index 649e4abeafe..8b028a633cb 100644 --- a/service/networkmonitor/api_client.go +++ b/service/networkmonitor/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/networkmonitor/go_module_metadata.go b/service/networkmonitor/go_module_metadata.go index c5718ef9b88..ae350d0e3c0 100644 --- a/service/networkmonitor/go_module_metadata.go +++ b/service/networkmonitor/go_module_metadata.go @@ -3,4 +3,4 @@ package networkmonitor // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.2" +const goModuleVersion = "1.6.3" diff --git a/service/nimble/CHANGELOG.md b/service/nimble/CHANGELOG.md index 68e7a0a128f..225a8134f23 100644 --- a/service/nimble/CHANGELOG.md +++ b/service/nimble/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/nimble/api_client.go b/service/nimble/api_client.go index 0bb3e864c3e..78e12656df1 100644 --- a/service/nimble/api_client.go +++ b/service/nimble/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/nimble/go_module_metadata.go b/service/nimble/go_module_metadata.go index 9841c6a07c4..bd974ebe3b4 100644 --- a/service/nimble/go_module_metadata.go +++ b/service/nimble/go_module_metadata.go @@ -3,4 +3,4 @@ package nimble // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/oam/CHANGELOG.md b/service/oam/CHANGELOG.md index 935cafee8b6..27066bb4005 100644 --- a/service/oam/CHANGELOG.md +++ b/service/oam/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.3 (2024-09-27) + +* No change notes available for this release. + # v1.14.2 (2024-09-25) * No change notes available for this release. diff --git a/service/oam/api_client.go b/service/oam/api_client.go index 88d9606a208..3896d8bde69 100644 --- a/service/oam/api_client.go +++ b/service/oam/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/oam/go_module_metadata.go b/service/oam/go_module_metadata.go index c44c34a79f6..dda0d1baa20 100644 --- a/service/oam/go_module_metadata.go +++ b/service/oam/go_module_metadata.go @@ -3,4 +3,4 @@ package oam // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.2" +const goModuleVersion = "1.14.3" diff --git a/service/omics/CHANGELOG.md b/service/omics/CHANGELOG.md index c98773bae4c..b22c2709aad 100644 --- a/service/omics/CHANGELOG.md +++ b/service/omics/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/omics/api_client.go b/service/omics/api_client.go index d906f7fce4b..7a55658d523 100644 --- a/service/omics/api_client.go +++ b/service/omics/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/omics/go_module_metadata.go b/service/omics/go_module_metadata.go index 2e20cf93ed8..8010da99ebb 100644 --- a/service/omics/go_module_metadata.go +++ b/service/omics/go_module_metadata.go @@ -3,4 +3,4 @@ package omics // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/opensearch/CHANGELOG.md b/service/opensearch/CHANGELOG.md index 66643914997..45eba6534d3 100644 --- a/service/opensearch/CHANGELOG.md +++ b/service/opensearch/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.40.3 (2024-09-27) + +* No change notes available for this release. + # v1.40.2 (2024-09-25) * No change notes available for this release. diff --git a/service/opensearch/api_client.go b/service/opensearch/api_client.go index 969adfce662..0da4a59dbe5 100644 --- a/service/opensearch/api_client.go +++ b/service/opensearch/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/opensearch/go_module_metadata.go b/service/opensearch/go_module_metadata.go index 739ba112a49..a03d23e9497 100644 --- a/service/opensearch/go_module_metadata.go +++ b/service/opensearch/go_module_metadata.go @@ -3,4 +3,4 @@ package opensearch // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.40.2" +const goModuleVersion = "1.40.3" diff --git a/service/opensearchserverless/CHANGELOG.md b/service/opensearchserverless/CHANGELOG.md index 4f49bf4a19a..7e083b3b6ab 100644 --- a/service/opensearchserverless/CHANGELOG.md +++ b/service/opensearchserverless/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.3 (2024-09-27) + +* No change notes available for this release. + # v1.15.2 (2024-09-25) * No change notes available for this release. diff --git a/service/opensearchserverless/api_client.go b/service/opensearchserverless/api_client.go index 3fce10f788d..87fdeaf56c3 100644 --- a/service/opensearchserverless/api_client.go +++ b/service/opensearchserverless/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/opensearchserverless/go_module_metadata.go b/service/opensearchserverless/go_module_metadata.go index 4c27cacf38d..2bf22bcf5f0 100644 --- a/service/opensearchserverless/go_module_metadata.go +++ b/service/opensearchserverless/go_module_metadata.go @@ -3,4 +3,4 @@ package opensearchserverless // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.2" +const goModuleVersion = "1.15.3" diff --git a/service/opsworks/CHANGELOG.md b/service/opsworks/CHANGELOG.md index bec9f1f2a8c..a13cd8cede1 100644 --- a/service/opsworks/CHANGELOG.md +++ b/service/opsworks/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/opsworks/api_client.go b/service/opsworks/api_client.go index d0f8461f3f7..7798b36a723 100644 --- a/service/opsworks/api_client.go +++ b/service/opsworks/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/opsworks/go_module_metadata.go b/service/opsworks/go_module_metadata.go index e37984b2859..9302e964b14 100644 --- a/service/opsworks/go_module_metadata.go +++ b/service/opsworks/go_module_metadata.go @@ -3,4 +3,4 @@ package opsworks // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/opsworkscm/CHANGELOG.md b/service/opsworkscm/CHANGELOG.md index 33c97d67064..71bb6fb9ba9 100644 --- a/service/opsworkscm/CHANGELOG.md +++ b/service/opsworkscm/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/opsworkscm/api_client.go b/service/opsworkscm/api_client.go index 4c9382c8939..ab7bce7e001 100644 --- a/service/opsworkscm/api_client.go +++ b/service/opsworkscm/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/opsworkscm/go_module_metadata.go b/service/opsworkscm/go_module_metadata.go index 9adec427e5c..096ba41f207 100644 --- a/service/opsworkscm/go_module_metadata.go +++ b/service/opsworkscm/go_module_metadata.go @@ -3,4 +3,4 @@ package opsworkscm // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/organizations/CHANGELOG.md b/service/organizations/CHANGELOG.md index 133f2957c93..6a486e3b8c4 100644 --- a/service/organizations/CHANGELOG.md +++ b/service/organizations/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.33.1 (2024-09-27) + +* No change notes available for this release. + +# v1.33.0 (2024-09-26) + +* **Feature**: Add support for policy operations on the CHATBOT_POLICY policy type. + # v1.32.2 (2024-09-25) * No change notes available for this release. diff --git a/service/organizations/api_client.go b/service/organizations/api_client.go index 5e623ba8233..df97c89fe6e 100644 --- a/service/organizations/api_client.go +++ b/service/organizations/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/organizations/api_op_AttachPolicy.go b/service/organizations/api_op_AttachPolicy.go index b2939feb6f2..b4ed4136894 100644 --- a/service/organizations/api_op_AttachPolicy.go +++ b/service/organizations/api_op_AttachPolicy.go @@ -14,14 +14,16 @@ import ( // account. How the policy affects accounts depends on the type of policy. Refer to // the Organizations User Guide for information about each policy type: // -// [AISERVICES_OPT_OUT_POLICY] +// [SERVICE_CONTROL_POLICY] // // [BACKUP_POLICY] // -// [SERVICE_CONTROL_POLICY] -// // [TAG_POLICY] // +// [CHATBOT_POLICY] +// +// [AISERVICES_OPT_OUT_POLICY] +// // This operation can be called only from the organization's management account or // by a member account that is a delegated administrator for an Amazon Web Services // service. @@ -29,6 +31,7 @@ import ( // [AISERVICES_OPT_OUT_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html // [BACKUP_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html // [SERVICE_CONTROL_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html +// [CHATBOT_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html // [TAG_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html func (c *Client) AttachPolicy(ctx context.Context, params *AttachPolicyInput, optFns ...func(*Options)) (*AttachPolicyOutput, error) { if params == nil { diff --git a/service/organizations/api_op_CreatePolicy.go b/service/organizations/api_op_CreatePolicy.go index cd2fb790a73..73cddd66624 100644 --- a/service/organizations/api_op_CreatePolicy.go +++ b/service/organizations/api_op_CreatePolicy.go @@ -69,17 +69,20 @@ type CreatePolicyInput struct { // The type of policy to create. You can specify one of the following values: // - // [AISERVICES_OPT_OUT_POLICY] + // [SERVICE_CONTROL_POLICY] // // [BACKUP_POLICY] // - // [SERVICE_CONTROL_POLICY] - // // [TAG_POLICY] // + // [CHATBOT_POLICY] + // + // [AISERVICES_OPT_OUT_POLICY] + // // [AISERVICES_OPT_OUT_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html // [BACKUP_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html // [SERVICE_CONTROL_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html + // [CHATBOT_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html // [TAG_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html // // This member is required. diff --git a/service/organizations/api_op_DescribeEffectivePolicy.go b/service/organizations/api_op_DescribeEffectivePolicy.go index 82750b14b21..7d00e4c3cfc 100644 --- a/service/organizations/api_op_DescribeEffectivePolicy.go +++ b/service/organizations/api_op_DescribeEffectivePolicy.go @@ -45,14 +45,17 @@ type DescribeEffectivePolicyInput struct { // The type of policy that you want information about. You can specify one of the // following values: // - // [AISERVICES_OPT_OUT_POLICY] - // // [BACKUP_POLICY] // // [TAG_POLICY] // + // [CHATBOT_POLICY] + // + // [AISERVICES_OPT_OUT_POLICY] + // // [AISERVICES_OPT_OUT_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html // [BACKUP_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html + // [CHATBOT_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html // [TAG_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html // // This member is required. diff --git a/service/organizations/api_op_DisablePolicyType.go b/service/organizations/api_op_DisablePolicyType.go index 946a6b3067c..537f003fb6d 100644 --- a/service/organizations/api_op_DisablePolicyType.go +++ b/service/organizations/api_op_DisablePolicyType.go @@ -50,17 +50,20 @@ type DisablePolicyTypeInput struct { // The policy type that you want to disable in this root. You can specify one of // the following values: // - // [AISERVICES_OPT_OUT_POLICY] + // [SERVICE_CONTROL_POLICY] // // [BACKUP_POLICY] // - // [SERVICE_CONTROL_POLICY] - // // [TAG_POLICY] // + // [CHATBOT_POLICY] + // + // [AISERVICES_OPT_OUT_POLICY] + // // [AISERVICES_OPT_OUT_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html // [BACKUP_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html // [SERVICE_CONTROL_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html + // [CHATBOT_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html // [TAG_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html // // This member is required. diff --git a/service/organizations/api_op_EnablePolicyType.go b/service/organizations/api_op_EnablePolicyType.go index fae828d29e7..43972172e65 100644 --- a/service/organizations/api_op_EnablePolicyType.go +++ b/service/organizations/api_op_EnablePolicyType.go @@ -46,17 +46,20 @@ type EnablePolicyTypeInput struct { // The policy type that you want to enable. You can specify one of the following // values: // - // [AISERVICES_OPT_OUT_POLICY] + // [SERVICE_CONTROL_POLICY] // // [BACKUP_POLICY] // - // [SERVICE_CONTROL_POLICY] - // // [TAG_POLICY] // + // [CHATBOT_POLICY] + // + // [AISERVICES_OPT_OUT_POLICY] + // // [AISERVICES_OPT_OUT_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html // [BACKUP_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html // [SERVICE_CONTROL_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html + // [CHATBOT_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html // [TAG_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html // // This member is required. diff --git a/service/organizations/api_op_ListPolicies.go b/service/organizations/api_op_ListPolicies.go index d36388e6f39..e0d5ff986e6 100644 --- a/service/organizations/api_op_ListPolicies.go +++ b/service/organizations/api_op_ListPolicies.go @@ -41,17 +41,20 @@ type ListPoliciesInput struct { // Specifies the type of policy that you want to include in the response. You must // specify one of the following values: // - // [AISERVICES_OPT_OUT_POLICY] + // [SERVICE_CONTROL_POLICY] // // [BACKUP_POLICY] // - // [SERVICE_CONTROL_POLICY] - // // [TAG_POLICY] // + // [CHATBOT_POLICY] + // + // [AISERVICES_OPT_OUT_POLICY] + // // [AISERVICES_OPT_OUT_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html // [BACKUP_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html // [SERVICE_CONTROL_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html + // [CHATBOT_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html // [TAG_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html // // This member is required. diff --git a/service/organizations/api_op_ListPoliciesForTarget.go b/service/organizations/api_op_ListPoliciesForTarget.go index 96d3ddb026e..b3fb236f490 100644 --- a/service/organizations/api_op_ListPoliciesForTarget.go +++ b/service/organizations/api_op_ListPoliciesForTarget.go @@ -43,17 +43,20 @@ type ListPoliciesForTargetInput struct { // The type of policy that you want to include in the returned list. You must // specify one of the following values: // - // [AISERVICES_OPT_OUT_POLICY] + // [SERVICE_CONTROL_POLICY] // // [BACKUP_POLICY] // - // [SERVICE_CONTROL_POLICY] - // // [TAG_POLICY] // + // [CHATBOT_POLICY] + // + // [AISERVICES_OPT_OUT_POLICY] + // // [AISERVICES_OPT_OUT_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html // [BACKUP_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html // [SERVICE_CONTROL_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html + // [CHATBOT_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_chatbot.html // [TAG_POLICY]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html // // This member is required. diff --git a/service/organizations/go_module_metadata.go b/service/organizations/go_module_metadata.go index 31c692581ca..bedb798da9a 100644 --- a/service/organizations/go_module_metadata.go +++ b/service/organizations/go_module_metadata.go @@ -3,4 +3,4 @@ package organizations // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.32.2" +const goModuleVersion = "1.33.1" diff --git a/service/organizations/types/enums.go b/service/organizations/types/enums.go index b74717e3bfe..748434de691 100644 --- a/service/organizations/types/enums.go +++ b/service/organizations/types/enums.go @@ -261,6 +261,7 @@ const ( EffectivePolicyTypeTagPolicy EffectivePolicyType = "TAG_POLICY" EffectivePolicyTypeBackupPolicy EffectivePolicyType = "BACKUP_POLICY" EffectivePolicyTypeAiservicesOptOutPolicy EffectivePolicyType = "AISERVICES_OPT_OUT_POLICY" + EffectivePolicyTypeChatbotPolicy EffectivePolicyType = "CHATBOT_POLICY" ) // Values returns all known values for EffectivePolicyType. Note that this can be @@ -272,6 +273,7 @@ func (EffectivePolicyType) Values() []EffectivePolicyType { "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", + "CHATBOT_POLICY", } } @@ -526,6 +528,7 @@ const ( PolicyTypeTagPolicy PolicyType = "TAG_POLICY" PolicyTypeBackupPolicy PolicyType = "BACKUP_POLICY" PolicyTypeAiservicesOptOutPolicy PolicyType = "AISERVICES_OPT_OUT_POLICY" + PolicyTypeChatbotPolicy PolicyType = "CHATBOT_POLICY" ) // Values returns all known values for PolicyType. Note that this can be expanded @@ -538,6 +541,7 @@ func (PolicyType) Values() []PolicyType { "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", + "CHATBOT_POLICY", } } diff --git a/service/osis/CHANGELOG.md b/service/osis/CHANGELOG.md index 2777774f212..847744af9f9 100644 --- a/service/osis/CHANGELOG.md +++ b/service/osis/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.3 (2024-09-27) + +* No change notes available for this release. + # v1.13.2 (2024-09-25) * No change notes available for this release. diff --git a/service/osis/api_client.go b/service/osis/api_client.go index 4334228a1ba..a2fd2a95faf 100644 --- a/service/osis/api_client.go +++ b/service/osis/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/osis/go_module_metadata.go b/service/osis/go_module_metadata.go index 7862ec52afa..113c01d829c 100644 --- a/service/osis/go_module_metadata.go +++ b/service/osis/go_module_metadata.go @@ -3,4 +3,4 @@ package osis // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.2" +const goModuleVersion = "1.13.3" diff --git a/service/outposts/CHANGELOG.md b/service/outposts/CHANGELOG.md index 529aa748f98..54a4534c284 100644 --- a/service/outposts/CHANGELOG.md +++ b/service/outposts/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.43.3 (2024-09-27) + +* No change notes available for this release. + # v1.43.2 (2024-09-25) * No change notes available for this release. diff --git a/service/outposts/api_client.go b/service/outposts/api_client.go index 439b9596694..c99a13994f4 100644 --- a/service/outposts/api_client.go +++ b/service/outposts/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/outposts/go_module_metadata.go b/service/outposts/go_module_metadata.go index fdd5bda8844..0c01fe289e5 100644 --- a/service/outposts/go_module_metadata.go +++ b/service/outposts/go_module_metadata.go @@ -3,4 +3,4 @@ package outposts // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.43.2" +const goModuleVersion = "1.43.3" diff --git a/service/panorama/CHANGELOG.md b/service/panorama/CHANGELOG.md index 21870d7a5c4..3434e05c593 100644 --- a/service/panorama/CHANGELOG.md +++ b/service/panorama/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.21.3 (2024-09-27) + +* No change notes available for this release. + # v1.21.2 (2024-09-25) * No change notes available for this release. diff --git a/service/panorama/api_client.go b/service/panorama/api_client.go index a7140493558..fd3cc660e81 100644 --- a/service/panorama/api_client.go +++ b/service/panorama/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/panorama/go_module_metadata.go b/service/panorama/go_module_metadata.go index a307dafec38..5b9396c0786 100644 --- a/service/panorama/go_module_metadata.go +++ b/service/panorama/go_module_metadata.go @@ -3,4 +3,4 @@ package panorama // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.21.2" +const goModuleVersion = "1.21.3" diff --git a/service/paymentcryptography/CHANGELOG.md b/service/paymentcryptography/CHANGELOG.md index f752a60c489..67ed3b8d5ee 100644 --- a/service/paymentcryptography/CHANGELOG.md +++ b/service/paymentcryptography/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.3 (2024-09-27) + +* No change notes available for this release. + # v1.13.2 (2024-09-25) * No change notes available for this release. diff --git a/service/paymentcryptography/api_client.go b/service/paymentcryptography/api_client.go index e009e9a97a5..b7b47b9fbfd 100644 --- a/service/paymentcryptography/api_client.go +++ b/service/paymentcryptography/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/paymentcryptography/go_module_metadata.go b/service/paymentcryptography/go_module_metadata.go index 615ff8aa3ac..6aaf5eea705 100644 --- a/service/paymentcryptography/go_module_metadata.go +++ b/service/paymentcryptography/go_module_metadata.go @@ -3,4 +3,4 @@ package paymentcryptography // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.2" +const goModuleVersion = "1.13.3" diff --git a/service/paymentcryptographydata/CHANGELOG.md b/service/paymentcryptographydata/CHANGELOG.md index d34b0cfde77..9b9605405a8 100644 --- a/service/paymentcryptographydata/CHANGELOG.md +++ b/service/paymentcryptographydata/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.3 (2024-09-27) + +* No change notes available for this release. + # v1.13.2 (2024-09-25) * No change notes available for this release. diff --git a/service/paymentcryptographydata/api_client.go b/service/paymentcryptographydata/api_client.go index 8f92bf0b492..787d61fe1d4 100644 --- a/service/paymentcryptographydata/api_client.go +++ b/service/paymentcryptographydata/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/paymentcryptographydata/go_module_metadata.go b/service/paymentcryptographydata/go_module_metadata.go index 09fcc5519f0..b8980e58bc2 100644 --- a/service/paymentcryptographydata/go_module_metadata.go +++ b/service/paymentcryptographydata/go_module_metadata.go @@ -3,4 +3,4 @@ package paymentcryptographydata // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.2" +const goModuleVersion = "1.13.3" diff --git a/service/pcaconnectorad/CHANGELOG.md b/service/pcaconnectorad/CHANGELOG.md index 347b0f5b298..51c4a57bbbd 100644 --- a/service/pcaconnectorad/CHANGELOG.md +++ b/service/pcaconnectorad/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.8.3 (2024-09-27) + +* No change notes available for this release. + # v1.8.2 (2024-09-25) * No change notes available for this release. diff --git a/service/pcaconnectorad/api_client.go b/service/pcaconnectorad/api_client.go index c2ac08302c6..f2a9ab78953 100644 --- a/service/pcaconnectorad/api_client.go +++ b/service/pcaconnectorad/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/pcaconnectorad/go_module_metadata.go b/service/pcaconnectorad/go_module_metadata.go index 345840fabdf..c652fbc09c9 100644 --- a/service/pcaconnectorad/go_module_metadata.go +++ b/service/pcaconnectorad/go_module_metadata.go @@ -3,4 +3,4 @@ package pcaconnectorad // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.8.2" +const goModuleVersion = "1.8.3" diff --git a/service/pcaconnectorscep/CHANGELOG.md b/service/pcaconnectorscep/CHANGELOG.md index 8a2857f9310..0347b68eb97 100644 --- a/service/pcaconnectorscep/CHANGELOG.md +++ b/service/pcaconnectorscep/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.3.3 (2024-09-27) + +* No change notes available for this release. + # v1.3.2 (2024-09-25) * No change notes available for this release. diff --git a/service/pcaconnectorscep/api_client.go b/service/pcaconnectorscep/api_client.go index ffe0655ec49..08eec918396 100644 --- a/service/pcaconnectorscep/api_client.go +++ b/service/pcaconnectorscep/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/pcaconnectorscep/go_module_metadata.go b/service/pcaconnectorscep/go_module_metadata.go index 61e18ad61eb..01f4f53c096 100644 --- a/service/pcaconnectorscep/go_module_metadata.go +++ b/service/pcaconnectorscep/go_module_metadata.go @@ -3,4 +3,4 @@ package pcaconnectorscep // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.3.2" +const goModuleVersion = "1.3.3" diff --git a/service/pcs/CHANGELOG.md b/service/pcs/CHANGELOG.md index 500c7531976..767317cd74c 100644 --- a/service/pcs/CHANGELOG.md +++ b/service/pcs/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.1.4 (2024-09-27) + +* No change notes available for this release. + +# v1.1.3 (2024-09-26) + +* **Documentation**: AWS PCS API documentation - Edited the description of the iamInstanceProfileArn parameter of the CreateComputeNodeGroup and UpdateComputeNodeGroup actions; edited the description of the SlurmCustomSetting data type to list the supported parameters for clusters and compute node groups. + # v1.1.2 (2024-09-25) * No change notes available for this release. diff --git a/service/pcs/api_client.go b/service/pcs/api_client.go index 651f530c3cb..03d06cc8639 100644 --- a/service/pcs/api_client.go +++ b/service/pcs/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/pcs/api_op_CreateComputeNodeGroup.go b/service/pcs/api_op_CreateComputeNodeGroup.go index 550d90f5a17..cb071cf4895 100644 --- a/service/pcs/api_op_CreateComputeNodeGroup.go +++ b/service/pcs/api_op_CreateComputeNodeGroup.go @@ -58,10 +58,15 @@ type CreateComputeNodeGroupInput struct { // The Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM // role when launching EC2 instances. The role contained in your instance profile - // must have pcs:RegisterComputeNodeGroupInstance permissions attached in order to - // provision instances correctly. The resource identifier of the ARN must start - // with AWSPCS . For example, - // arn:aws:iam:123456789012:instance-profile/AWSPCSMyComputeNodeInstanceProfile . + // must have the pcs:RegisterComputeNodeGroupInstance permission. The resource + // identifier of the ARN must start with AWSPCS or it must have /aws-pcs/ in its + // path. + // + // Examples + // + // - arn:aws:iam::111122223333:instance-profile/AWSPCS-example-role-1 + // + // - arn:aws:iam::111122223333:instance-profile/aws-pcs/example-role-2 // // This member is required. IamInstanceProfileArn *string diff --git a/service/pcs/api_op_UpdateComputeNodeGroup.go b/service/pcs/api_op_UpdateComputeNodeGroup.go index 7860d5f4704..aabf4595737 100644 --- a/service/pcs/api_op_UpdateComputeNodeGroup.go +++ b/service/pcs/api_op_UpdateComputeNodeGroup.go @@ -60,8 +60,15 @@ type UpdateComputeNodeGroupInput struct { // The Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM // role when launching EC2 instances. The role contained in your instance profile - // must have pcs:RegisterComputeNodeGroupInstance permissions attached to - // provision instances correctly. + // must have the pcs:RegisterComputeNodeGroupInstance permission. The resource + // identifier of the ARN must start with AWSPCS or it must have /aws-pcs/ in its + // path. + // + // Examples + // + // - arn:aws:iam::111122223333:instance-profile/AWSPCS-example-role-1 + // + // - arn:aws:iam::111122223333:instance-profile/aws-pcs/example-role-2 IamInstanceProfileArn *string // Specifies how EC2 instances are purchased on your behalf. Amazon Web Services diff --git a/service/pcs/go_module_metadata.go b/service/pcs/go_module_metadata.go index 93321ffb55d..4db7b408e33 100644 --- a/service/pcs/go_module_metadata.go +++ b/service/pcs/go_module_metadata.go @@ -3,4 +3,4 @@ package pcs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.1.2" +const goModuleVersion = "1.1.4" diff --git a/service/pcs/types/types.go b/service/pcs/types/types.go index ad52c5b6e59..ff5eee7291b 100644 --- a/service/pcs/types/types.go +++ b/service/pcs/types/types.go @@ -166,8 +166,15 @@ type ComputeNodeGroup struct { // The Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM // role when launching EC2 instances. The role contained in your instance profile - // must have pcs:RegisterComputeNodeGroupInstance permissions attached to - // provision instances correctly. + // must have the pcs:RegisterComputeNodeGroupInstance permission. The resource + // identifier of the ARN must start with AWSPCS or it must have /aws-pcs/ in its + // path. + // + // Examples + // + // - arn:aws:iam::111122223333:instance-profile/AWSPCS-example-role-1 + // + // - arn:aws:iam::111122223333:instance-profile/aws-pcs/example-role-2 // // This member is required. IamInstanceProfileArn *string @@ -629,11 +636,32 @@ type SlurmAuthKey struct { type SlurmCustomSetting struct { // Amazon Web Services PCS supports configuration of the following Slurm - // parameters: [Prolog]Prolog , [Epilog]Epilog , and [SelectTypeParameters]SelectTypeParameters . + // parameters: + // + // - For clusters + // + // [Prolog] + // - Prolog + // + // [Epilog] + // - Epilog + // + // [SelectTypeParameters] + // - SelectTypeParameters + // + // - For compute node groups + // + // [Weight] + // - Weight + // + // [RealMemory] + // - RealMemory // // [SelectTypeParameters]: https://slurm.schedmd.com/slurm.conf.html#OPT_SelectTypeParameters // [Prolog]: https://slurm.schedmd.com/slurm.conf.html#OPT_Prolog_1 // [Epilog]: https://slurm.schedmd.com/slurm.conf.html#OPT_Epilog_1 + // [Weight]: https://slurm.schedmd.com/slurm.conf.html#OPT_Weight + // [RealMemory]: https://slurm.schedmd.com/slurm.conf.html#OPT_Weight // // This member is required. ParameterName *string diff --git a/service/personalize/CHANGELOG.md b/service/personalize/CHANGELOG.md index 881b9393204..b56ea92994b 100644 --- a/service/personalize/CHANGELOG.md +++ b/service/personalize/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.38.3 (2024-09-27) + +* No change notes available for this release. + # v1.38.2 (2024-09-25) * No change notes available for this release. diff --git a/service/personalize/api_client.go b/service/personalize/api_client.go index 53b0794d057..5f165210361 100644 --- a/service/personalize/api_client.go +++ b/service/personalize/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/personalize/go_module_metadata.go b/service/personalize/go_module_metadata.go index 61faa1a1824..bb7293e50b7 100644 --- a/service/personalize/go_module_metadata.go +++ b/service/personalize/go_module_metadata.go @@ -3,4 +3,4 @@ package personalize // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.38.2" +const goModuleVersion = "1.38.3" diff --git a/service/personalizeevents/CHANGELOG.md b/service/personalizeevents/CHANGELOG.md index 8d7d849b385..224d34e2359 100644 --- a/service/personalizeevents/CHANGELOG.md +++ b/service/personalizeevents/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/personalizeevents/api_client.go b/service/personalizeevents/api_client.go index 46ba5b0a9df..78464b86a64 100644 --- a/service/personalizeevents/api_client.go +++ b/service/personalizeevents/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/personalizeevents/go_module_metadata.go b/service/personalizeevents/go_module_metadata.go index e3046dc984d..ea808826aa2 100644 --- a/service/personalizeevents/go_module_metadata.go +++ b/service/personalizeevents/go_module_metadata.go @@ -3,4 +3,4 @@ package personalizeevents // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/personalizeruntime/CHANGELOG.md b/service/personalizeruntime/CHANGELOG.md index 4ef1570f60f..7df132222f4 100644 --- a/service/personalizeruntime/CHANGELOG.md +++ b/service/personalizeruntime/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/personalizeruntime/api_client.go b/service/personalizeruntime/api_client.go index fd892f96a4a..450dc44abad 100644 --- a/service/personalizeruntime/api_client.go +++ b/service/personalizeruntime/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/personalizeruntime/go_module_metadata.go b/service/personalizeruntime/go_module_metadata.go index 9d00e8089ff..98b8975c89c 100644 --- a/service/personalizeruntime/go_module_metadata.go +++ b/service/personalizeruntime/go_module_metadata.go @@ -3,4 +3,4 @@ package personalizeruntime // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/pi/CHANGELOG.md b/service/pi/CHANGELOG.md index c7ca1418af3..bfdf1ccae5a 100644 --- a/service/pi/CHANGELOG.md +++ b/service/pi/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/pi/api_client.go b/service/pi/api_client.go index c3d621dedca..4c5c57d70c5 100644 --- a/service/pi/api_client.go +++ b/service/pi/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/pi/go_module_metadata.go b/service/pi/go_module_metadata.go index 20d6a357cc6..3b164bf4f07 100644 --- a/service/pi/go_module_metadata.go +++ b/service/pi/go_module_metadata.go @@ -3,4 +3,4 @@ package pi // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/pinpoint/CHANGELOG.md b/service/pinpoint/CHANGELOG.md index bbd32b444a5..5e9ef112772 100644 --- a/service/pinpoint/CHANGELOG.md +++ b/service/pinpoint/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.33.3 (2024-09-27) + +* No change notes available for this release. + # v1.33.2 (2024-09-25) * No change notes available for this release. diff --git a/service/pinpoint/api_client.go b/service/pinpoint/api_client.go index 6e9ddf7535e..c3cf3f0fa48 100644 --- a/service/pinpoint/api_client.go +++ b/service/pinpoint/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/pinpoint/go_module_metadata.go b/service/pinpoint/go_module_metadata.go index 3a5a9915ef9..8fba098ae78 100644 --- a/service/pinpoint/go_module_metadata.go +++ b/service/pinpoint/go_module_metadata.go @@ -3,4 +3,4 @@ package pinpoint // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.33.2" +const goModuleVersion = "1.33.3" diff --git a/service/pinpointemail/CHANGELOG.md b/service/pinpointemail/CHANGELOG.md index ccb836ea748..1e599bf10c0 100644 --- a/service/pinpointemail/CHANGELOG.md +++ b/service/pinpointemail/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/pinpointemail/api_client.go b/service/pinpointemail/api_client.go index cec2844cb0c..5b9cc19e5cc 100644 --- a/service/pinpointemail/api_client.go +++ b/service/pinpointemail/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/pinpointemail/go_module_metadata.go b/service/pinpointemail/go_module_metadata.go index 88d089844c5..46abcc75e53 100644 --- a/service/pinpointemail/go_module_metadata.go +++ b/service/pinpointemail/go_module_metadata.go @@ -3,4 +3,4 @@ package pinpointemail // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/pinpointsmsvoice/CHANGELOG.md b/service/pinpointsmsvoice/CHANGELOG.md index 84e5042e51c..d117f9bb2c2 100644 --- a/service/pinpointsmsvoice/CHANGELOG.md +++ b/service/pinpointsmsvoice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/pinpointsmsvoice/api_client.go b/service/pinpointsmsvoice/api_client.go index 57a0db2cecb..d463932f502 100644 --- a/service/pinpointsmsvoice/api_client.go +++ b/service/pinpointsmsvoice/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/pinpointsmsvoice/go_module_metadata.go b/service/pinpointsmsvoice/go_module_metadata.go index 88c06668cec..f79a632c2e5 100644 --- a/service/pinpointsmsvoice/go_module_metadata.go +++ b/service/pinpointsmsvoice/go_module_metadata.go @@ -3,4 +3,4 @@ package pinpointsmsvoice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/pinpointsmsvoicev2/CHANGELOG.md b/service/pinpointsmsvoicev2/CHANGELOG.md index 99e110cf728..7d3c8651271 100644 --- a/service/pinpointsmsvoicev2/CHANGELOG.md +++ b/service/pinpointsmsvoicev2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.2 (2024-09-27) + +* No change notes available for this release. + # v1.14.1 (2024-09-25) * No change notes available for this release. diff --git a/service/pinpointsmsvoicev2/api_client.go b/service/pinpointsmsvoicev2/api_client.go index 5223027b8d4..fa58bf4d47e 100644 --- a/service/pinpointsmsvoicev2/api_client.go +++ b/service/pinpointsmsvoicev2/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/pinpointsmsvoicev2/go_module_metadata.go b/service/pinpointsmsvoicev2/go_module_metadata.go index 555b55e1802..086d4efc14f 100644 --- a/service/pinpointsmsvoicev2/go_module_metadata.go +++ b/service/pinpointsmsvoicev2/go_module_metadata.go @@ -3,4 +3,4 @@ package pinpointsmsvoicev2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.1" +const goModuleVersion = "1.14.2" diff --git a/service/pipes/CHANGELOG.md b/service/pipes/CHANGELOG.md index 3d5fd7af31c..920c700385d 100644 --- a/service/pipes/CHANGELOG.md +++ b/service/pipes/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.16.3 (2024-09-27) + +* No change notes available for this release. + # v1.16.2 (2024-09-25) * No change notes available for this release. diff --git a/service/pipes/api_client.go b/service/pipes/api_client.go index e9f2e6dc2c4..a512c804a67 100644 --- a/service/pipes/api_client.go +++ b/service/pipes/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/pipes/go_module_metadata.go b/service/pipes/go_module_metadata.go index d6f9624dfae..6cbb083f808 100644 --- a/service/pipes/go_module_metadata.go +++ b/service/pipes/go_module_metadata.go @@ -3,4 +3,4 @@ package pipes // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.16.2" +const goModuleVersion = "1.16.3" diff --git a/service/polly/CHANGELOG.md b/service/polly/CHANGELOG.md index 97256c97173..0deafc98e79 100644 --- a/service/polly/CHANGELOG.md +++ b/service/polly/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.44.3 (2024-09-27) + +* No change notes available for this release. + # v1.44.2 (2024-09-25) * No change notes available for this release. diff --git a/service/polly/api_client.go b/service/polly/api_client.go index d1e9f53bc11..261322ed9ac 100644 --- a/service/polly/api_client.go +++ b/service/polly/api_client.go @@ -189,10 +189,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/polly/go_module_metadata.go b/service/polly/go_module_metadata.go index a76d56d3c72..72c8684711e 100644 --- a/service/polly/go_module_metadata.go +++ b/service/polly/go_module_metadata.go @@ -3,4 +3,4 @@ package polly // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.44.2" +const goModuleVersion = "1.44.3" diff --git a/service/pricing/CHANGELOG.md b/service/pricing/CHANGELOG.md index 4b0b75f15b8..2dc4d875d59 100644 --- a/service/pricing/CHANGELOG.md +++ b/service/pricing/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.31.3 (2024-09-27) + +* No change notes available for this release. + # v1.31.2 (2024-09-25) * No change notes available for this release. diff --git a/service/pricing/api_client.go b/service/pricing/api_client.go index 7121712b397..81325f70112 100644 --- a/service/pricing/api_client.go +++ b/service/pricing/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/pricing/go_module_metadata.go b/service/pricing/go_module_metadata.go index 2a620789f49..a77baceae99 100644 --- a/service/pricing/go_module_metadata.go +++ b/service/pricing/go_module_metadata.go @@ -3,4 +3,4 @@ package pricing // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.31.2" +const goModuleVersion = "1.31.3" diff --git a/service/privatenetworks/CHANGELOG.md b/service/privatenetworks/CHANGELOG.md index 7e4f48d419b..03c4eeeccc5 100644 --- a/service/privatenetworks/CHANGELOG.md +++ b/service/privatenetworks/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.3 (2024-09-27) + +* No change notes available for this release. + # v1.12.2 (2024-09-25) * No change notes available for this release. diff --git a/service/privatenetworks/api_client.go b/service/privatenetworks/api_client.go index 43589bcc34d..74e69c50f4e 100644 --- a/service/privatenetworks/api_client.go +++ b/service/privatenetworks/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/privatenetworks/go_module_metadata.go b/service/privatenetworks/go_module_metadata.go index 5d59936109d..008208cd02a 100644 --- a/service/privatenetworks/go_module_metadata.go +++ b/service/privatenetworks/go_module_metadata.go @@ -3,4 +3,4 @@ package privatenetworks // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.2" +const goModuleVersion = "1.12.3" diff --git a/service/proton/CHANGELOG.md b/service/proton/CHANGELOG.md index 1f45ac0de93..9155689990f 100644 --- a/service/proton/CHANGELOG.md +++ b/service/proton/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.32.3 (2024-09-27) + +* No change notes available for this release. + # v1.32.2 (2024-09-25) * No change notes available for this release. diff --git a/service/proton/api_client.go b/service/proton/api_client.go index 1311ef12b76..1931ef479e2 100644 --- a/service/proton/api_client.go +++ b/service/proton/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/proton/go_module_metadata.go b/service/proton/go_module_metadata.go index 08a8350804b..8b90f5ddd74 100644 --- a/service/proton/go_module_metadata.go +++ b/service/proton/go_module_metadata.go @@ -3,4 +3,4 @@ package proton // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.32.2" +const goModuleVersion = "1.32.3" diff --git a/service/qapps/CHANGELOG.md b/service/qapps/CHANGELOG.md index 2e0b522e921..08f124a234e 100644 --- a/service/qapps/CHANGELOG.md +++ b/service/qapps/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.2.3 (2024-09-27) + +* No change notes available for this release. + # v1.2.2 (2024-09-25) * No change notes available for this release. diff --git a/service/qapps/api_client.go b/service/qapps/api_client.go index 70fc1d209cd..e8005a6135c 100644 --- a/service/qapps/api_client.go +++ b/service/qapps/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/qapps/go_module_metadata.go b/service/qapps/go_module_metadata.go index 76f8691d678..09f04e3ac39 100644 --- a/service/qapps/go_module_metadata.go +++ b/service/qapps/go_module_metadata.go @@ -3,4 +3,4 @@ package qapps // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.2.2" +const goModuleVersion = "1.2.3" diff --git a/service/qbusiness/CHANGELOG.md b/service/qbusiness/CHANGELOG.md index 9522aee5ae9..7a3c49db709 100644 --- a/service/qbusiness/CHANGELOG.md +++ b/service/qbusiness/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.3 (2024-09-27) + +* No change notes available for this release. + # v1.12.2 (2024-09-25) * No change notes available for this release. diff --git a/service/qbusiness/api_client.go b/service/qbusiness/api_client.go index dc4d18ccbbe..2a7a7d643a8 100644 --- a/service/qbusiness/api_client.go +++ b/service/qbusiness/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/qbusiness/go_module_metadata.go b/service/qbusiness/go_module_metadata.go index 29668411a87..449c916e7f4 100644 --- a/service/qbusiness/go_module_metadata.go +++ b/service/qbusiness/go_module_metadata.go @@ -3,4 +3,4 @@ package qbusiness // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.2" +const goModuleVersion = "1.12.3" diff --git a/service/qconnect/CHANGELOG.md b/service/qconnect/CHANGELOG.md index 42ceaff92c6..1a6b50cbd10 100644 --- a/service/qconnect/CHANGELOG.md +++ b/service/qconnect/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.10.3 (2024-09-27) + +* No change notes available for this release. + # v1.10.2 (2024-09-25) * No change notes available for this release. diff --git a/service/qconnect/api_client.go b/service/qconnect/api_client.go index 3e6259f0b85..ce94a6e255b 100644 --- a/service/qconnect/api_client.go +++ b/service/qconnect/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/qconnect/go_module_metadata.go b/service/qconnect/go_module_metadata.go index 0f494e7c46b..1501cd988f3 100644 --- a/service/qconnect/go_module_metadata.go +++ b/service/qconnect/go_module_metadata.go @@ -3,4 +3,4 @@ package qconnect // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.10.2" +const goModuleVersion = "1.10.3" diff --git a/service/qldb/CHANGELOG.md b/service/qldb/CHANGELOG.md index cdeff0e9ead..90847b9c3de 100644 --- a/service/qldb/CHANGELOG.md +++ b/service/qldb/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/qldb/api_client.go b/service/qldb/api_client.go index 39e1e383b9e..a9199f38c9c 100644 --- a/service/qldb/api_client.go +++ b/service/qldb/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/qldb/go_module_metadata.go b/service/qldb/go_module_metadata.go index 8f65b769777..e482bd01e6f 100644 --- a/service/qldb/go_module_metadata.go +++ b/service/qldb/go_module_metadata.go @@ -3,4 +3,4 @@ package qldb // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/qldbsession/CHANGELOG.md b/service/qldbsession/CHANGELOG.md index f095386ed55..93beb4752d2 100644 --- a/service/qldbsession/CHANGELOG.md +++ b/service/qldbsession/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/qldbsession/api_client.go b/service/qldbsession/api_client.go index 2daa0bbabd9..6daf234cbcb 100644 --- a/service/qldbsession/api_client.go +++ b/service/qldbsession/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/qldbsession/go_module_metadata.go b/service/qldbsession/go_module_metadata.go index 914d8098c4e..22b29040a45 100644 --- a/service/qldbsession/go_module_metadata.go +++ b/service/qldbsession/go_module_metadata.go @@ -3,4 +3,4 @@ package qldbsession // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/quicksight/CHANGELOG.md b/service/quicksight/CHANGELOG.md index b0bc85ed9c9..0334baae1c2 100644 --- a/service/quicksight/CHANGELOG.md +++ b/service/quicksight/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.74.0 (2024-09-27) + +* **Feature**: Adding personalization in QuickSight data stories. Admins can enable or disable personalization through QuickSight settings. + # v1.73.2 (2024-09-25) * No change notes available for this release. diff --git a/service/quicksight/api_client.go b/service/quicksight/api_client.go index 6ef6a863fc9..c6fc43e02b3 100644 --- a/service/quicksight/api_client.go +++ b/service/quicksight/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/worklink/api_op_DescribeIdentityProviderConfiguration.go b/service/quicksight/api_op_DescribeQPersonalizationConfiguration.go similarity index 65% rename from service/worklink/api_op_DescribeIdentityProviderConfiguration.go rename to service/quicksight/api_op_DescribeQPersonalizationConfiguration.go index 6c7a44c7e31..5b0cee0230c 100644 --- a/service/worklink/api_op_DescribeIdentityProviderConfiguration.go +++ b/service/quicksight/api_op_DescribeQPersonalizationConfiguration.go @@ -1,55 +1,53 @@ // Code generated by smithy-go-codegen DO NOT EDIT. -package worklink +package quicksight import ( "context" "fmt" awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/aws-sdk-go-v2/service/worklink/types" + "github.com/aws/aws-sdk-go-v2/service/quicksight/types" "github.com/aws/smithy-go/middleware" smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Describes the identity provider configuration of the specified fleet. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) DescribeIdentityProviderConfiguration(ctx context.Context, params *DescribeIdentityProviderConfigurationInput, optFns ...func(*Options)) (*DescribeIdentityProviderConfigurationOutput, error) { +// Describes a personalization configuration. +func (c *Client) DescribeQPersonalizationConfiguration(ctx context.Context, params *DescribeQPersonalizationConfigurationInput, optFns ...func(*Options)) (*DescribeQPersonalizationConfigurationOutput, error) { if params == nil { - params = &DescribeIdentityProviderConfigurationInput{} + params = &DescribeQPersonalizationConfigurationInput{} } - result, metadata, err := c.invokeOperation(ctx, "DescribeIdentityProviderConfiguration", params, optFns, c.addOperationDescribeIdentityProviderConfigurationMiddlewares) + result, metadata, err := c.invokeOperation(ctx, "DescribeQPersonalizationConfiguration", params, optFns, c.addOperationDescribeQPersonalizationConfigurationMiddlewares) if err != nil { return nil, err } - out := result.(*DescribeIdentityProviderConfigurationOutput) + out := result.(*DescribeQPersonalizationConfigurationOutput) out.ResultMetadata = metadata return out, nil } -type DescribeIdentityProviderConfigurationInput struct { +type DescribeQPersonalizationConfigurationInput struct { - // The ARN of the fleet. + // The ID of the Amazon Web Services account that contains the personalization + // configuration that the user wants described. // // This member is required. - FleetArn *string + AwsAccountId *string noSmithyDocumentSerde } -type DescribeIdentityProviderConfigurationOutput struct { +type DescribeQPersonalizationConfigurationOutput struct { - // The SAML metadata document provided by the user’s identity provider. - IdentityProviderSamlMetadata *string + // A value that indicates whether personalization is enabled or not. + PersonalizationMode types.PersonalizationMode - // The type of identity provider. - IdentityProviderType types.IdentityProviderType + // The Amazon Web Services request ID for this operation. + RequestId *string - // The SAML metadata document uploaded to the user’s identity provider. - ServiceProviderSamlMetadata *string + // The HTTP status of the request. + Status int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata @@ -57,19 +55,19 @@ type DescribeIdentityProviderConfigurationOutput struct { noSmithyDocumentSerde } -func (c *Client) addOperationDescribeIdentityProviderConfigurationMiddlewares(stack *middleware.Stack, options Options) (err error) { +func (c *Client) addOperationDescribeQPersonalizationConfigurationMiddlewares(stack *middleware.Stack, options Options) (err error) { if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { return err } - err = stack.Serialize.Add(&awsRestjson1_serializeOpDescribeIdentityProviderConfiguration{}, middleware.After) + err = stack.Serialize.Add(&awsRestjson1_serializeOpDescribeQPersonalizationConfiguration{}, middleware.After) if err != nil { return err } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDescribeIdentityProviderConfiguration{}, middleware.After) + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDescribeQPersonalizationConfiguration{}, middleware.After) if err != nil { return err } - if err := addProtocolFinalizerMiddlewares(stack, options, "DescribeIdentityProviderConfiguration"); err != nil { + if err := addProtocolFinalizerMiddlewares(stack, options, "DescribeQPersonalizationConfiguration"); err != nil { return fmt.Errorf("add protocol finalizers: %v", err) } @@ -121,10 +119,10 @@ func (c *Client) addOperationDescribeIdentityProviderConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addOpDescribeIdentityProviderConfigurationValidationMiddleware(stack); err != nil { + if err = addOpDescribeQPersonalizationConfigurationValidationMiddleware(stack); err != nil { return err } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIdentityProviderConfiguration(options.Region), middleware.Before); err != nil { + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeQPersonalizationConfiguration(options.Region), middleware.Before); err != nil { return err } if err = addRecursionDetection(stack); err != nil { @@ -157,10 +155,10 @@ func (c *Client) addOperationDescribeIdentityProviderConfigurationMiddlewares(st return nil } -func newServiceMetadataMiddleware_opDescribeIdentityProviderConfiguration(region string) *awsmiddleware.RegisterServiceMetadata { +func newServiceMetadataMiddleware_opDescribeQPersonalizationConfiguration(region string) *awsmiddleware.RegisterServiceMetadata { return &awsmiddleware.RegisterServiceMetadata{ Region: region, ServiceID: ServiceID, - OperationName: "DescribeIdentityProviderConfiguration", + OperationName: "DescribeQPersonalizationConfiguration", } } diff --git a/service/worklink/api_op_UpdateIdentityProviderConfiguration.go b/service/quicksight/api_op_UpdateQPersonalizationConfiguration.go similarity index 62% rename from service/worklink/api_op_UpdateIdentityProviderConfiguration.go rename to service/quicksight/api_op_UpdateQPersonalizationConfiguration.go index e8966741ab0..135742b7aa8 100644 --- a/service/worklink/api_op_UpdateIdentityProviderConfiguration.go +++ b/service/quicksight/api_op_UpdateQPersonalizationConfiguration.go @@ -1,74 +1,80 @@ // Code generated by smithy-go-codegen DO NOT EDIT. -package worklink +package quicksight import ( "context" "fmt" awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/aws-sdk-go-v2/service/worklink/types" + "github.com/aws/aws-sdk-go-v2/service/quicksight/types" "github.com/aws/smithy-go/middleware" smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Updates the identity provider configuration for the fleet. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) UpdateIdentityProviderConfiguration(ctx context.Context, params *UpdateIdentityProviderConfigurationInput, optFns ...func(*Options)) (*UpdateIdentityProviderConfigurationOutput, error) { +// Updates a personalization configuration. +func (c *Client) UpdateQPersonalizationConfiguration(ctx context.Context, params *UpdateQPersonalizationConfigurationInput, optFns ...func(*Options)) (*UpdateQPersonalizationConfigurationOutput, error) { if params == nil { - params = &UpdateIdentityProviderConfigurationInput{} + params = &UpdateQPersonalizationConfigurationInput{} } - result, metadata, err := c.invokeOperation(ctx, "UpdateIdentityProviderConfiguration", params, optFns, c.addOperationUpdateIdentityProviderConfigurationMiddlewares) + result, metadata, err := c.invokeOperation(ctx, "UpdateQPersonalizationConfiguration", params, optFns, c.addOperationUpdateQPersonalizationConfigurationMiddlewares) if err != nil { return nil, err } - out := result.(*UpdateIdentityProviderConfigurationOutput) + out := result.(*UpdateQPersonalizationConfigurationOutput) out.ResultMetadata = metadata return out, nil } -type UpdateIdentityProviderConfigurationInput struct { +type UpdateQPersonalizationConfigurationInput struct { - // The ARN of the fleet. + // The ID of the Amazon Web Services account account that contains the + // personalization configuration that the user wants to update. // // This member is required. - FleetArn *string + AwsAccountId *string - // The type of identity provider. + // An option to allow Amazon QuickSight to customize data stories with user + // specific metadata, specifically location and job information, in your IAM + // Identity Center instance. // // This member is required. - IdentityProviderType types.IdentityProviderType - - // The SAML metadata document provided by the customer’s identity provider. The - // existing IdentityProviderSamlMetadata is unset if null is passed. - IdentityProviderSamlMetadata *string + PersonalizationMode types.PersonalizationMode noSmithyDocumentSerde } -type UpdateIdentityProviderConfigurationOutput struct { +type UpdateQPersonalizationConfigurationOutput struct { + + // The personalization mode that is used for the personalization configuration. + PersonalizationMode types.PersonalizationMode + + // The Amazon Web Services request ID for this operation. + RequestId *string + + // The HTTP status of the request. + Status int32 + // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata noSmithyDocumentSerde } -func (c *Client) addOperationUpdateIdentityProviderConfigurationMiddlewares(stack *middleware.Stack, options Options) (err error) { +func (c *Client) addOperationUpdateQPersonalizationConfigurationMiddlewares(stack *middleware.Stack, options Options) (err error) { if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { return err } - err = stack.Serialize.Add(&awsRestjson1_serializeOpUpdateIdentityProviderConfiguration{}, middleware.After) + err = stack.Serialize.Add(&awsRestjson1_serializeOpUpdateQPersonalizationConfiguration{}, middleware.After) if err != nil { return err } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpUpdateIdentityProviderConfiguration{}, middleware.After) + err = stack.Deserialize.Add(&awsRestjson1_deserializeOpUpdateQPersonalizationConfiguration{}, middleware.After) if err != nil { return err } - if err := addProtocolFinalizerMiddlewares(stack, options, "UpdateIdentityProviderConfiguration"); err != nil { + if err := addProtocolFinalizerMiddlewares(stack, options, "UpdateQPersonalizationConfiguration"); err != nil { return fmt.Errorf("add protocol finalizers: %v", err) } @@ -120,10 +126,10 @@ func (c *Client) addOperationUpdateIdentityProviderConfigurationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addOpUpdateIdentityProviderConfigurationValidationMiddleware(stack); err != nil { + if err = addOpUpdateQPersonalizationConfigurationValidationMiddleware(stack); err != nil { return err } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateIdentityProviderConfiguration(options.Region), middleware.Before); err != nil { + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateQPersonalizationConfiguration(options.Region), middleware.Before); err != nil { return err } if err = addRecursionDetection(stack); err != nil { @@ -156,10 +162,10 @@ func (c *Client) addOperationUpdateIdentityProviderConfigurationMiddlewares(stac return nil } -func newServiceMetadataMiddleware_opUpdateIdentityProviderConfiguration(region string) *awsmiddleware.RegisterServiceMetadata { +func newServiceMetadataMiddleware_opUpdateQPersonalizationConfiguration(region string) *awsmiddleware.RegisterServiceMetadata { return &awsmiddleware.RegisterServiceMetadata{ Region: region, ServiceID: ServiceID, - OperationName: "UpdateIdentityProviderConfiguration", + OperationName: "UpdateQPersonalizationConfiguration", } } diff --git a/service/quicksight/deserializers.go b/service/quicksight/deserializers.go index 2a178974ee8..677fc108de0 100644 --- a/service/quicksight/deserializers.go +++ b/service/quicksight/deserializers.go @@ -16457,6 +16457,200 @@ func awsRestjson1_deserializeOpDocumentDescribeNamespaceOutput(v **DescribeNames return nil } +type awsRestjson1_deserializeOpDescribeQPersonalizationConfiguration struct { +} + +func (*awsRestjson1_deserializeOpDescribeQPersonalizationConfiguration) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpDescribeQPersonalizationConfiguration) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorDescribeQPersonalizationConfiguration(response, &metadata) + } + output := &DescribeQPersonalizationConfigurationOutput{} + out.Result = output + + err = awsRestjson1_deserializeOpHttpBindingsDescribeQPersonalizationConfigurationOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentDescribeQPersonalizationConfigurationOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + span.End() + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorDescribeQPersonalizationConfiguration(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + headerCode := response.Header.Get("X-Amzn-ErrorType") + if len(headerCode) != 0 { + errorCode = restjson.SanitizeErrorCode(headerCode) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + jsonCode, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(headerCode) == 0 && len(jsonCode) != 0 { + errorCode = restjson.SanitizeErrorCode(jsonCode) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("ConflictException", errorCode): + return awsRestjson1_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalFailureException", errorCode): + return awsRestjson1_deserializeErrorInternalFailureException(response, errorBody) + + case strings.EqualFold("InvalidParameterValueException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpHttpBindingsDescribeQPersonalizationConfigurationOutput(v *DescribeQPersonalizationConfigurationOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + v.Status = int32(response.StatusCode) + + return nil +} +func awsRestjson1_deserializeOpDocumentDescribeQPersonalizationConfigurationOutput(v **DescribeQPersonalizationConfigurationOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *DescribeQPersonalizationConfigurationOutput + if *v == nil { + sv = &DescribeQPersonalizationConfigurationOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "PersonalizationMode": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PersonalizationMode to be of type string, got %T instead", value) + } + sv.PersonalizationMode = types.PersonalizationMode(jtv) + } + + case "RequestId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.RequestId = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + type awsRestjson1_deserializeOpDescribeRefreshSchedule struct { } @@ -33591,6 +33785,203 @@ func awsRestjson1_deserializeOpDocumentUpdatePublicSharingSettingsOutput(v **Upd return nil } +type awsRestjson1_deserializeOpUpdateQPersonalizationConfiguration struct { +} + +func (*awsRestjson1_deserializeOpUpdateQPersonalizationConfiguration) ID() string { + return "OperationDeserializer" +} + +func (m *awsRestjson1_deserializeOpUpdateQPersonalizationConfiguration) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsRestjson1_deserializeOpErrorUpdateQPersonalizationConfiguration(response, &metadata) + } + output := &UpdateQPersonalizationConfigurationOutput{} + out.Result = output + + err = awsRestjson1_deserializeOpHttpBindingsUpdateQPersonalizationConfigurationOutput(output, response) + if err != nil { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("failed to decode response with invalid Http bindings, %w", err)} + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsRestjson1_deserializeOpDocumentUpdateQPersonalizationConfigurationOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + span.End() + return out, metadata, err +} + +func awsRestjson1_deserializeOpErrorUpdateQPersonalizationConfiguration(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + headerCode := response.Header.Get("X-Amzn-ErrorType") + if len(headerCode) != 0 { + errorCode = restjson.SanitizeErrorCode(headerCode) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + jsonCode, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(headerCode) == 0 && len(jsonCode) != 0 { + errorCode = restjson.SanitizeErrorCode(jsonCode) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsRestjson1_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("ConflictException", errorCode): + return awsRestjson1_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalFailureException", errorCode): + return awsRestjson1_deserializeErrorInternalFailureException(response, errorBody) + + case strings.EqualFold("InvalidParameterValueException", errorCode): + return awsRestjson1_deserializeErrorInvalidParameterValueException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ResourceUnavailableException", errorCode): + return awsRestjson1_deserializeErrorResourceUnavailableException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsRestjson1_deserializeErrorThrottlingException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsRestjson1_deserializeOpHttpBindingsUpdateQPersonalizationConfigurationOutput(v *UpdateQPersonalizationConfigurationOutput, response *smithyhttp.Response) error { + if v == nil { + return fmt.Errorf("unsupported deserialization for nil %T", v) + } + + v.Status = int32(response.StatusCode) + + return nil +} +func awsRestjson1_deserializeOpDocumentUpdateQPersonalizationConfigurationOutput(v **UpdateQPersonalizationConfigurationOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *UpdateQPersonalizationConfigurationOutput + if *v == nil { + sv = &UpdateQPersonalizationConfigurationOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "PersonalizationMode": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PersonalizationMode to be of type string, got %T instead", value) + } + sv.PersonalizationMode = types.PersonalizationMode(jtv) + } + + case "RequestId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.RequestId = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + type awsRestjson1_deserializeOpUpdateRefreshSchedule struct { } diff --git a/service/quicksight/generated.json b/service/quicksight/generated.json index 0cbe243a827..6743d011b1a 100644 --- a/service/quicksight/generated.json +++ b/service/quicksight/generated.json @@ -87,6 +87,7 @@ "api_op_DescribeIpRestriction.go", "api_op_DescribeKeyRegistration.go", "api_op_DescribeNamespace.go", + "api_op_DescribeQPersonalizationConfiguration.go", "api_op_DescribeRefreshSchedule.go", "api_op_DescribeRoleCustomPermission.go", "api_op_DescribeTemplate.go", @@ -172,6 +173,7 @@ "api_op_UpdateIpRestriction.go", "api_op_UpdateKeyRegistration.go", "api_op_UpdatePublicSharingSettings.go", + "api_op_UpdateQPersonalizationConfiguration.go", "api_op_UpdateRefreshSchedule.go", "api_op_UpdateRoleCustomPermission.go", "api_op_UpdateSPICECapacityConfiguration.go", diff --git a/service/quicksight/go_module_metadata.go b/service/quicksight/go_module_metadata.go index 363e96a1b41..94852921063 100644 --- a/service/quicksight/go_module_metadata.go +++ b/service/quicksight/go_module_metadata.go @@ -3,4 +3,4 @@ package quicksight // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.73.2" +const goModuleVersion = "1.74.0" diff --git a/service/quicksight/serializers.go b/service/quicksight/serializers.go index 57f23b99057..9a2ac9c0f64 100644 --- a/service/quicksight/serializers.go +++ b/service/quicksight/serializers.go @@ -7660,6 +7660,77 @@ func awsRestjson1_serializeOpHttpBindingsDescribeNamespaceInput(v *DescribeNames return nil } +type awsRestjson1_serializeOpDescribeQPersonalizationConfiguration struct { +} + +func (*awsRestjson1_serializeOpDescribeQPersonalizationConfiguration) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpDescribeQPersonalizationConfiguration) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DescribeQPersonalizationConfigurationInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/accounts/{AwsAccountId}/q-personalization-configuration") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "GET" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsDescribeQPersonalizationConfigurationInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsDescribeQPersonalizationConfigurationInput(v *DescribeQPersonalizationConfigurationInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.AwsAccountId == nil || len(*v.AwsAccountId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member AwsAccountId must not be empty")} + } + if v.AwsAccountId != nil { + if err := encoder.SetURI("AwsAccountId").String(*v.AwsAccountId); err != nil { + return err + } + } + + return nil +} + type awsRestjson1_serializeOpDescribeRefreshSchedule struct { } @@ -15935,6 +16006,100 @@ func awsRestjson1_serializeOpDocumentUpdatePublicSharingSettingsInput(v *UpdateP return nil } +type awsRestjson1_serializeOpUpdateQPersonalizationConfiguration struct { +} + +func (*awsRestjson1_serializeOpUpdateQPersonalizationConfiguration) ID() string { + return "OperationSerializer" +} + +func (m *awsRestjson1_serializeOpUpdateQPersonalizationConfiguration) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateQPersonalizationConfigurationInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + opPath, opQuery := httpbinding.SplitURI("/accounts/{AwsAccountId}/q-personalization-configuration") + request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) + request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) + request.Method = "PUT" + var restEncoder *httpbinding.Encoder + if request.URL.RawPath == "" { + restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + } else { + request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) + restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) + } + + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if err := awsRestjson1_serializeOpHttpBindingsUpdateQPersonalizationConfigurationInput(input, restEncoder); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + restEncoder.SetHeader("Content-Type").String("application/json") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsRestjson1_serializeOpDocumentUpdateQPersonalizationConfigurationInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = restEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} +func awsRestjson1_serializeOpHttpBindingsUpdateQPersonalizationConfigurationInput(v *UpdateQPersonalizationConfigurationInput, encoder *httpbinding.Encoder) error { + if v == nil { + return fmt.Errorf("unsupported serialization of nil %T", v) + } + + if v.AwsAccountId == nil || len(*v.AwsAccountId) == 0 { + return &smithy.SerializationError{Err: fmt.Errorf("input member AwsAccountId must not be empty")} + } + if v.AwsAccountId != nil { + if err := encoder.SetURI("AwsAccountId").String(*v.AwsAccountId); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeOpDocumentUpdateQPersonalizationConfigurationInput(v *UpdateQPersonalizationConfigurationInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if len(v.PersonalizationMode) > 0 { + ok := object.Key("PersonalizationMode") + ok.String(string(v.PersonalizationMode)) + } + + return nil +} + type awsRestjson1_serializeOpUpdateRefreshSchedule struct { } diff --git a/service/worklink/snapshot/api_op_AssociateWebsiteAuthorizationProvider.go.snap b/service/quicksight/snapshot/api_op_DescribeQPersonalizationConfiguration.go.snap similarity index 95% rename from service/worklink/snapshot/api_op_AssociateWebsiteAuthorizationProvider.go.snap rename to service/quicksight/snapshot/api_op_DescribeQPersonalizationConfiguration.go.snap index defd7b6417c..66bfb636a65 100644 --- a/service/worklink/snapshot/api_op_AssociateWebsiteAuthorizationProvider.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeQPersonalizationConfiguration.go.snap @@ -1,4 +1,4 @@ -AssociateWebsiteAuthorizationProvider +DescribeQPersonalizationConfiguration Initialize stack step spanInitializeStart RegisterServiceMetadata diff --git a/service/worklink/snapshot/api_op_AssociateDomain.go.snap b/service/quicksight/snapshot/api_op_UpdateQPersonalizationConfiguration.go.snap similarity index 95% rename from service/worklink/snapshot/api_op_AssociateDomain.go.snap rename to service/quicksight/snapshot/api_op_UpdateQPersonalizationConfiguration.go.snap index 7b4508ff561..7803c06f49f 100644 --- a/service/worklink/snapshot/api_op_AssociateDomain.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateQPersonalizationConfiguration.go.snap @@ -1,4 +1,4 @@ -AssociateDomain +UpdateQPersonalizationConfiguration Initialize stack step spanInitializeStart RegisterServiceMetadata diff --git a/service/quicksight/snapshot_test.go b/service/quicksight/snapshot_test.go index 1198edac552..8f0c86eb48d 100644 --- a/service/quicksight/snapshot_test.go +++ b/service/quicksight/snapshot_test.go @@ -1010,6 +1010,18 @@ func TestCheckSnapshot_DescribeNamespace(t *testing.T) { } } +func TestCheckSnapshot_DescribeQPersonalizationConfiguration(t *testing.T) { + svc := New(Options{}) + _, err := svc.DescribeQPersonalizationConfiguration(context.Background(), nil, func(o *Options) { + o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { + return testSnapshot(stack, "DescribeQPersonalizationConfiguration") + }) + }) + if _, ok := err.(snapshotOK); !ok && err != nil { + t.Fatal(err) + } +} + func TestCheckSnapshot_DescribeRefreshSchedule(t *testing.T) { svc := New(Options{}) _, err := svc.DescribeRefreshSchedule(context.Background(), nil, func(o *Options) { @@ -2030,6 +2042,18 @@ func TestCheckSnapshot_UpdatePublicSharingSettings(t *testing.T) { } } +func TestCheckSnapshot_UpdateQPersonalizationConfiguration(t *testing.T) { + svc := New(Options{}) + _, err := svc.UpdateQPersonalizationConfiguration(context.Background(), nil, func(o *Options) { + o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { + return testSnapshot(stack, "UpdateQPersonalizationConfiguration") + }) + }) + if _, ok := err.(snapshotOK); !ok && err != nil { + t.Fatal(err) + } +} + func TestCheckSnapshot_UpdateRefreshSchedule(t *testing.T) { svc := New(Options{}) _, err := svc.UpdateRefreshSchedule(context.Background(), nil, func(o *Options) { @@ -3145,6 +3169,18 @@ func TestUpdateSnapshot_DescribeNamespace(t *testing.T) { } } +func TestUpdateSnapshot_DescribeQPersonalizationConfiguration(t *testing.T) { + svc := New(Options{}) + _, err := svc.DescribeQPersonalizationConfiguration(context.Background(), nil, func(o *Options) { + o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { + return updateSnapshot(stack, "DescribeQPersonalizationConfiguration") + }) + }) + if _, ok := err.(snapshotOK); !ok && err != nil { + t.Fatal(err) + } +} + func TestUpdateSnapshot_DescribeRefreshSchedule(t *testing.T) { svc := New(Options{}) _, err := svc.DescribeRefreshSchedule(context.Background(), nil, func(o *Options) { @@ -4165,6 +4201,18 @@ func TestUpdateSnapshot_UpdatePublicSharingSettings(t *testing.T) { } } +func TestUpdateSnapshot_UpdateQPersonalizationConfiguration(t *testing.T) { + svc := New(Options{}) + _, err := svc.UpdateQPersonalizationConfiguration(context.Background(), nil, func(o *Options) { + o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { + return updateSnapshot(stack, "UpdateQPersonalizationConfiguration") + }) + }) + if _, ok := err.(snapshotOK); !ok && err != nil { + t.Fatal(err) + } +} + func TestUpdateSnapshot_UpdateRefreshSchedule(t *testing.T) { svc := New(Options{}) _, err := svc.UpdateRefreshSchedule(context.Background(), nil, func(o *Options) { diff --git a/service/quicksight/types/enums.go b/service/quicksight/types/enums.go index 1f87609b30a..336f588370e 100644 --- a/service/quicksight/types/enums.go +++ b/service/quicksight/types/enums.go @@ -3214,6 +3214,25 @@ func (ParameterValueType) Values() []ParameterValueType { } } +type PersonalizationMode string + +// Enum values for PersonalizationMode +const ( + PersonalizationModeEnabled PersonalizationMode = "ENABLED" + PersonalizationModeDisabled PersonalizationMode = "DISABLED" +) + +// Values returns all known values for PersonalizationMode. Note that this can be +// expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (PersonalizationMode) Values() []PersonalizationMode { + return []PersonalizationMode{ + "ENABLED", + "DISABLED", + } +} + type PivotTableConditionalFormattingScopeRole string // Enum values for PivotTableConditionalFormattingScopeRole diff --git a/service/quicksight/validators.go b/service/quicksight/validators.go index 831061f2b14..d9082b8f844 100644 --- a/service/quicksight/validators.go +++ b/service/quicksight/validators.go @@ -1590,6 +1590,26 @@ func (m *validateOpDescribeNamespace) HandleInitialize(ctx context.Context, in m return next.HandleInitialize(ctx, in) } +type validateOpDescribeQPersonalizationConfiguration struct { +} + +func (*validateOpDescribeQPersonalizationConfiguration) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDescribeQPersonalizationConfiguration) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DescribeQPersonalizationConfigurationInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDescribeQPersonalizationConfigurationInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpDescribeRefreshSchedule struct { } @@ -3290,6 +3310,26 @@ func (m *validateOpUpdatePublicSharingSettings) HandleInitialize(ctx context.Con return next.HandleInitialize(ctx, in) } +type validateOpUpdateQPersonalizationConfiguration struct { +} + +func (*validateOpUpdateQPersonalizationConfiguration) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateQPersonalizationConfiguration) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateQPersonalizationConfigurationInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateQPersonalizationConfigurationInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpUpdateRefreshSchedule struct { } @@ -3886,6 +3926,10 @@ func addOpDescribeNamespaceValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDescribeNamespace{}, middleware.After) } +func addOpDescribeQPersonalizationConfigurationValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDescribeQPersonalizationConfiguration{}, middleware.After) +} + func addOpDescribeRefreshScheduleValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDescribeRefreshSchedule{}, middleware.After) } @@ -4226,6 +4270,10 @@ func addOpUpdatePublicSharingSettingsValidationMiddleware(stack *middleware.Stac return stack.Initialize.Add(&validateOpUpdatePublicSharingSettings{}, middleware.After) } +func addOpUpdateQPersonalizationConfigurationValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateQPersonalizationConfiguration{}, middleware.After) +} + func addOpUpdateRefreshScheduleValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpUpdateRefreshSchedule{}, middleware.After) } @@ -20315,6 +20363,21 @@ func validateOpDescribeNamespaceInput(v *DescribeNamespaceInput) error { } } +func validateOpDescribeQPersonalizationConfigurationInput(v *DescribeQPersonalizationConfigurationInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DescribeQPersonalizationConfigurationInput"} + if v.AwsAccountId == nil { + invalidParams.Add(smithy.NewErrParamRequired("AwsAccountId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpDescribeRefreshScheduleInput(v *DescribeRefreshScheduleInput) error { if v == nil { return nil @@ -22119,6 +22182,24 @@ func validateOpUpdatePublicSharingSettingsInput(v *UpdatePublicSharingSettingsIn } } +func validateOpUpdateQPersonalizationConfigurationInput(v *UpdateQPersonalizationConfigurationInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateQPersonalizationConfigurationInput"} + if v.AwsAccountId == nil { + invalidParams.Add(smithy.NewErrParamRequired("AwsAccountId")) + } + if len(v.PersonalizationMode) == 0 { + invalidParams.Add(smithy.NewErrParamRequired("PersonalizationMode")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpUpdateRefreshScheduleInput(v *UpdateRefreshScheduleInput) error { if v == nil { return nil diff --git a/service/ram/CHANGELOG.md b/service/ram/CHANGELOG.md index 55663383792..928e650907f 100644 --- a/service/ram/CHANGELOG.md +++ b/service/ram/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ram/api_client.go b/service/ram/api_client.go index 7b42cddb83b..eb50822b403 100644 --- a/service/ram/api_client.go +++ b/service/ram/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ram/go_module_metadata.go b/service/ram/go_module_metadata.go index 217627c20a0..027ea21fc2a 100644 --- a/service/ram/go_module_metadata.go +++ b/service/ram/go_module_metadata.go @@ -3,4 +3,4 @@ package ram // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/rbin/CHANGELOG.md b/service/rbin/CHANGELOG.md index a712e396bc7..d582ce6e4a6 100644 --- a/service/rbin/CHANGELOG.md +++ b/service/rbin/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.19.3 (2024-09-27) + +* No change notes available for this release. + # v1.19.2 (2024-09-25) * No change notes available for this release. diff --git a/service/rbin/api_client.go b/service/rbin/api_client.go index 0d5dc92a2bf..824dd641988 100644 --- a/service/rbin/api_client.go +++ b/service/rbin/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/rbin/go_module_metadata.go b/service/rbin/go_module_metadata.go index d8978ecc495..7f0cc173474 100644 --- a/service/rbin/go_module_metadata.go +++ b/service/rbin/go_module_metadata.go @@ -3,4 +3,4 @@ package rbin // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.2" +const goModuleVersion = "1.19.3" diff --git a/service/rds/CHANGELOG.md b/service/rds/CHANGELOG.md index 81b0b588e70..3b4a7a04cbf 100644 --- a/service/rds/CHANGELOG.md +++ b/service/rds/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.85.2 (2024-09-27) + +* No change notes available for this release. + # v1.85.1 (2024-09-25) * No change notes available for this release. diff --git a/service/rds/api_client.go b/service/rds/api_client.go index f217752fcbc..cfe4fd50c48 100644 --- a/service/rds/api_client.go +++ b/service/rds/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/rds/go_module_metadata.go b/service/rds/go_module_metadata.go index 2f9de97b349..d776f99ab55 100644 --- a/service/rds/go_module_metadata.go +++ b/service/rds/go_module_metadata.go @@ -3,4 +3,4 @@ package rds // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.85.1" +const goModuleVersion = "1.85.2" diff --git a/service/rdsdata/CHANGELOG.md b/service/rdsdata/CHANGELOG.md index 0a47e2c4422..b507e17a186 100644 --- a/service/rdsdata/CHANGELOG.md +++ b/service/rdsdata/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.24.4 (2024-09-27) + +* No change notes available for this release. + +# v1.24.3 (2024-09-26) + +* **Documentation**: Documentation update for RDS Data API to reflect support for Aurora MySQL Serverless v2 and Provisioned DB clusters. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/rdsdata/api_client.go b/service/rdsdata/api_client.go index b6c0005f5a2..4c5d040c09a 100644 --- a/service/rdsdata/api_client.go +++ b/service/rdsdata/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/rdsdata/api_op_BeginTransaction.go b/service/rdsdata/api_op_BeginTransaction.go index a8740d96ce2..2675d1b56ef 100644 --- a/service/rdsdata/api_op_BeginTransaction.go +++ b/service/rdsdata/api_op_BeginTransaction.go @@ -18,9 +18,9 @@ import ( // A transaction times out if no calls use its transaction ID in three minutes. If // a transaction times out before it's committed, it's rolled back automatically. // -// DDL statements inside a transaction cause an implicit commit. We recommend that -// you run each DDL statement in a separate ExecuteStatement call with -// continueAfterTimeout enabled. +// For Aurora MySQL, DDL statements inside a transaction cause an implicit commit. +// We recommend that you run each MySQL DDL statement in a separate +// ExecuteStatement call with continueAfterTimeout enabled. func (c *Client) BeginTransaction(ctx context.Context, params *BeginTransactionInput, optFns ...func(*Options)) (*BeginTransactionOutput, error) { if params == nil { params = &BeginTransactionInput{} diff --git a/service/rdsdata/api_op_ExecuteSql.go b/service/rdsdata/api_op_ExecuteSql.go index 2ecf53b87d9..2c52c5a1d59 100644 --- a/service/rdsdata/api_op_ExecuteSql.go +++ b/service/rdsdata/api_op_ExecuteSql.go @@ -13,9 +13,9 @@ import ( // Runs one or more SQL statements. // -// This operation isn't supported for Aurora PostgreSQL Serverless v2 and -// provisioned DB clusters, and for Aurora Serverless v1 DB clusters, the operation -// is deprecated. Use the BatchExecuteStatement or ExecuteStatement operation. +// This operation isn't supported for Aurora Serverless v2 and provisioned DB +// clusters. For Aurora Serverless v1 DB clusters, the operation is deprecated. Use +// the BatchExecuteStatement or ExecuteStatement operation. // // Deprecated: The ExecuteSql API is deprecated, please use the ExecuteStatement // API. diff --git a/service/rdsdata/doc.go b/service/rdsdata/doc.go index 191faf91de9..83e536356c6 100644 --- a/service/rdsdata/doc.go +++ b/service/rdsdata/doc.go @@ -10,9 +10,9 @@ // // Data API is available with the following types of Aurora databases: // -// - Aurora PostgreSQL - Serverless v2, Serverless v1, and provisioned +// - Aurora PostgreSQL - Serverless v2, provisioned, and Serverless v1 // -// - Aurora MySQL - Serverless v1 only +// - Aurora MySQL - Serverless v2, provisioned, and Serverless v1 // // For more information about the Data API, see [Using RDS Data API] in the Amazon Aurora User Guide. // diff --git a/service/rdsdata/go_module_metadata.go b/service/rdsdata/go_module_metadata.go index e7463be6221..8eee0688dc0 100644 --- a/service/rdsdata/go_module_metadata.go +++ b/service/rdsdata/go_module_metadata.go @@ -3,4 +3,4 @@ package rdsdata // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.4" diff --git a/service/redshift/CHANGELOG.md b/service/redshift/CHANGELOG.md index a9f1f6c8dda..3da50c584a7 100644 --- a/service/redshift/CHANGELOG.md +++ b/service/redshift/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.47.3 (2024-09-27) + +* No change notes available for this release. + # v1.47.2 (2024-09-25) * No change notes available for this release. diff --git a/service/redshift/api_client.go b/service/redshift/api_client.go index 48bbb0b804a..35b134b0c89 100644 --- a/service/redshift/api_client.go +++ b/service/redshift/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/redshift/go_module_metadata.go b/service/redshift/go_module_metadata.go index bb941899955..c92440fd34f 100644 --- a/service/redshift/go_module_metadata.go +++ b/service/redshift/go_module_metadata.go @@ -3,4 +3,4 @@ package redshift // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.47.2" +const goModuleVersion = "1.47.3" diff --git a/service/redshiftdata/CHANGELOG.md b/service/redshiftdata/CHANGELOG.md index 4bb673d417b..589052cc193 100644 --- a/service/redshiftdata/CHANGELOG.md +++ b/service/redshiftdata/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.29.3 (2024-09-27) + +* No change notes available for this release. + # v1.29.2 (2024-09-25) * No change notes available for this release. diff --git a/service/redshiftdata/api_client.go b/service/redshiftdata/api_client.go index 74318863cca..80385e4003e 100644 --- a/service/redshiftdata/api_client.go +++ b/service/redshiftdata/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/redshiftdata/go_module_metadata.go b/service/redshiftdata/go_module_metadata.go index 57fb9b870ff..1046b0685e5 100644 --- a/service/redshiftdata/go_module_metadata.go +++ b/service/redshiftdata/go_module_metadata.go @@ -3,4 +3,4 @@ package redshiftdata // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.29.2" +const goModuleVersion = "1.29.3" diff --git a/service/redshiftserverless/CHANGELOG.md b/service/redshiftserverless/CHANGELOG.md index 454aebd5a8e..b3ba01a168a 100644 --- a/service/redshiftserverless/CHANGELOG.md +++ b/service/redshiftserverless/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/redshiftserverless/api_client.go b/service/redshiftserverless/api_client.go index 37668bc7e96..5390391c0e3 100644 --- a/service/redshiftserverless/api_client.go +++ b/service/redshiftserverless/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/redshiftserverless/go_module_metadata.go b/service/redshiftserverless/go_module_metadata.go index 87d402fac22..bc3a80ed7ab 100644 --- a/service/redshiftserverless/go_module_metadata.go +++ b/service/redshiftserverless/go_module_metadata.go @@ -3,4 +3,4 @@ package redshiftserverless // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/rekognition/CHANGELOG.md b/service/rekognition/CHANGELOG.md index 9c2c38df362..fdcd6c53d7d 100644 --- a/service/rekognition/CHANGELOG.md +++ b/service/rekognition/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.44.3 (2024-09-27) + +* No change notes available for this release. + # v1.44.2 (2024-09-25) * No change notes available for this release. diff --git a/service/rekognition/api_client.go b/service/rekognition/api_client.go index 9b078ab5af9..3666d297c6c 100644 --- a/service/rekognition/api_client.go +++ b/service/rekognition/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/rekognition/go_module_metadata.go b/service/rekognition/go_module_metadata.go index a3b35eff2b8..45f85e9a4ba 100644 --- a/service/rekognition/go_module_metadata.go +++ b/service/rekognition/go_module_metadata.go @@ -3,4 +3,4 @@ package rekognition // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.44.2" +const goModuleVersion = "1.44.3" diff --git a/service/repostspace/CHANGELOG.md b/service/repostspace/CHANGELOG.md index 5925db7c20a..fb2dfb1cdd3 100644 --- a/service/repostspace/CHANGELOG.md +++ b/service/repostspace/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.6.3 (2024-09-27) + +* No change notes available for this release. + # v1.6.2 (2024-09-25) * No change notes available for this release. diff --git a/service/repostspace/api_client.go b/service/repostspace/api_client.go index 547d850d2ce..20fdea445fd 100644 --- a/service/repostspace/api_client.go +++ b/service/repostspace/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/repostspace/go_module_metadata.go b/service/repostspace/go_module_metadata.go index 098b7fb34fd..9d31fd56f86 100644 --- a/service/repostspace/go_module_metadata.go +++ b/service/repostspace/go_module_metadata.go @@ -3,4 +3,4 @@ package repostspace // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.2" +const goModuleVersion = "1.6.3" diff --git a/service/resiliencehub/CHANGELOG.md b/service/resiliencehub/CHANGELOG.md index 52bb188b0ba..0866d924979 100644 --- a/service/resiliencehub/CHANGELOG.md +++ b/service/resiliencehub/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/resiliencehub/api_client.go b/service/resiliencehub/api_client.go index a6a855b6d0d..ca1bb833f32 100644 --- a/service/resiliencehub/api_client.go +++ b/service/resiliencehub/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/resiliencehub/go_module_metadata.go b/service/resiliencehub/go_module_metadata.go index 26ef2ff7bec..81b8be1ac63 100644 --- a/service/resiliencehub/go_module_metadata.go +++ b/service/resiliencehub/go_module_metadata.go @@ -3,4 +3,4 @@ package resiliencehub // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/resourceexplorer2/CHANGELOG.md b/service/resourceexplorer2/CHANGELOG.md index 1d1221e30f1..7903cea0ffe 100644 --- a/service/resourceexplorer2/CHANGELOG.md +++ b/service/resourceexplorer2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.14.2 (2024-09-27) + +* No change notes available for this release. + # v1.14.1 (2024-09-25) * No change notes available for this release. diff --git a/service/resourceexplorer2/api_client.go b/service/resourceexplorer2/api_client.go index d9f02403a79..f03c2f179ef 100644 --- a/service/resourceexplorer2/api_client.go +++ b/service/resourceexplorer2/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/resourceexplorer2/go_module_metadata.go b/service/resourceexplorer2/go_module_metadata.go index 14b31e5664c..9b68397a9d6 100644 --- a/service/resourceexplorer2/go_module_metadata.go +++ b/service/resourceexplorer2/go_module_metadata.go @@ -3,4 +3,4 @@ package resourceexplorer2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.14.1" +const goModuleVersion = "1.14.2" diff --git a/service/resourcegroups/CHANGELOG.md b/service/resourcegroups/CHANGELOG.md index 88e8493d434..bdff0d27f93 100644 --- a/service/resourcegroups/CHANGELOG.md +++ b/service/resourcegroups/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/resourcegroups/api_client.go b/service/resourcegroups/api_client.go index 31227bb4a96..41920744470 100644 --- a/service/resourcegroups/api_client.go +++ b/service/resourcegroups/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/resourcegroups/go_module_metadata.go b/service/resourcegroups/go_module_metadata.go index b4f9249c8fe..a51122d5624 100644 --- a/service/resourcegroups/go_module_metadata.go +++ b/service/resourcegroups/go_module_metadata.go @@ -3,4 +3,4 @@ package resourcegroups // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/resourcegroupstaggingapi/CHANGELOG.md b/service/resourcegroupstaggingapi/CHANGELOG.md index dc0622a74e4..300e49ee898 100644 --- a/service/resourcegroupstaggingapi/CHANGELOG.md +++ b/service/resourcegroupstaggingapi/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/resourcegroupstaggingapi/api_client.go b/service/resourcegroupstaggingapi/api_client.go index f5335208988..6fead8013f0 100644 --- a/service/resourcegroupstaggingapi/api_client.go +++ b/service/resourcegroupstaggingapi/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/resourcegroupstaggingapi/go_module_metadata.go b/service/resourcegroupstaggingapi/go_module_metadata.go index 7a385ebca57..dc3a3d7006a 100644 --- a/service/resourcegroupstaggingapi/go_module_metadata.go +++ b/service/resourcegroupstaggingapi/go_module_metadata.go @@ -3,4 +3,4 @@ package resourcegroupstaggingapi // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/robomaker/CHANGELOG.md b/service/robomaker/CHANGELOG.md index 09ed8903fa8..6550ef7dcac 100644 --- a/service/robomaker/CHANGELOG.md +++ b/service/robomaker/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.29.3 (2024-09-27) + +* No change notes available for this release. + # v1.29.2 (2024-09-25) * No change notes available for this release. diff --git a/service/robomaker/api_client.go b/service/robomaker/api_client.go index 404fa4d3942..6ea908118fd 100644 --- a/service/robomaker/api_client.go +++ b/service/robomaker/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/robomaker/go_module_metadata.go b/service/robomaker/go_module_metadata.go index 1ee89313455..0b20dde7deb 100644 --- a/service/robomaker/go_module_metadata.go +++ b/service/robomaker/go_module_metadata.go @@ -3,4 +3,4 @@ package robomaker // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.29.2" +const goModuleVersion = "1.29.3" diff --git a/service/rolesanywhere/CHANGELOG.md b/service/rolesanywhere/CHANGELOG.md index 79b9d59f5f6..942880cd75e 100644 --- a/service/rolesanywhere/CHANGELOG.md +++ b/service/rolesanywhere/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.15.3 (2024-09-27) + +* No change notes available for this release. + # v1.15.2 (2024-09-25) * No change notes available for this release. diff --git a/service/rolesanywhere/api_client.go b/service/rolesanywhere/api_client.go index deaa39ce9d7..d2ae4bfd601 100644 --- a/service/rolesanywhere/api_client.go +++ b/service/rolesanywhere/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/rolesanywhere/go_module_metadata.go b/service/rolesanywhere/go_module_metadata.go index 667a17248ab..b12d8f6987f 100644 --- a/service/rolesanywhere/go_module_metadata.go +++ b/service/rolesanywhere/go_module_metadata.go @@ -3,4 +3,4 @@ package rolesanywhere // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.15.2" +const goModuleVersion = "1.15.3" diff --git a/service/route53/CHANGELOG.md b/service/route53/CHANGELOG.md index 327130a8eac..3f4ed983d6d 100644 --- a/service/route53/CHANGELOG.md +++ b/service/route53/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.44.3 (2024-09-27) + +* No change notes available for this release. + # v1.44.2 (2024-09-25) * No change notes available for this release. diff --git a/service/route53/api_client.go b/service/route53/api_client.go index 6d33b2d87fe..53d4c035101 100644 --- a/service/route53/api_client.go +++ b/service/route53/api_client.go @@ -188,10 +188,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/route53/go_module_metadata.go b/service/route53/go_module_metadata.go index 427ac0b60ed..b28bac5e590 100644 --- a/service/route53/go_module_metadata.go +++ b/service/route53/go_module_metadata.go @@ -3,4 +3,4 @@ package route53 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.44.2" +const goModuleVersion = "1.44.3" diff --git a/service/route53domains/CHANGELOG.md b/service/route53domains/CHANGELOG.md index a19d7c79ad8..1889b2fa4d9 100644 --- a/service/route53domains/CHANGELOG.md +++ b/service/route53domains/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/route53domains/api_client.go b/service/route53domains/api_client.go index 73329b9f6dd..00a34ae5b81 100644 --- a/service/route53domains/api_client.go +++ b/service/route53domains/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/route53domains/go_module_metadata.go b/service/route53domains/go_module_metadata.go index 235d69cf026..72632287fac 100644 --- a/service/route53domains/go_module_metadata.go +++ b/service/route53domains/go_module_metadata.go @@ -3,4 +3,4 @@ package route53domains // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/route53profiles/CHANGELOG.md b/service/route53profiles/CHANGELOG.md index 79826f04c07..57ea2e3eed9 100644 --- a/service/route53profiles/CHANGELOG.md +++ b/service/route53profiles/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.3.3 (2024-09-27) + +* No change notes available for this release. + # v1.3.2 (2024-09-25) * No change notes available for this release. diff --git a/service/route53profiles/api_client.go b/service/route53profiles/api_client.go index a3c1f1b07d5..d299a4cc71f 100644 --- a/service/route53profiles/api_client.go +++ b/service/route53profiles/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/route53profiles/go_module_metadata.go b/service/route53profiles/go_module_metadata.go index 205222310a0..73530b5e065 100644 --- a/service/route53profiles/go_module_metadata.go +++ b/service/route53profiles/go_module_metadata.go @@ -3,4 +3,4 @@ package route53profiles // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.3.2" +const goModuleVersion = "1.3.3" diff --git a/service/route53recoverycluster/CHANGELOG.md b/service/route53recoverycluster/CHANGELOG.md index 3756c42f839..fb82b4de61f 100644 --- a/service/route53recoverycluster/CHANGELOG.md +++ b/service/route53recoverycluster/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/route53recoverycluster/api_client.go b/service/route53recoverycluster/api_client.go index 7a68c9e7521..541166e3251 100644 --- a/service/route53recoverycluster/api_client.go +++ b/service/route53recoverycluster/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/route53recoverycluster/go_module_metadata.go b/service/route53recoverycluster/go_module_metadata.go index 56e2ee78ce4..9b07e3337af 100644 --- a/service/route53recoverycluster/go_module_metadata.go +++ b/service/route53recoverycluster/go_module_metadata.go @@ -3,4 +3,4 @@ package route53recoverycluster // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/route53recoverycontrolconfig/CHANGELOG.md b/service/route53recoverycontrolconfig/CHANGELOG.md index 8929e6dbf3f..2b8e983c513 100644 --- a/service/route53recoverycontrolconfig/CHANGELOG.md +++ b/service/route53recoverycontrolconfig/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/route53recoverycontrolconfig/api_client.go b/service/route53recoverycontrolconfig/api_client.go index 1dbbddcba4f..d8ef7666afa 100644 --- a/service/route53recoverycontrolconfig/api_client.go +++ b/service/route53recoverycontrolconfig/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/route53recoverycontrolconfig/go_module_metadata.go b/service/route53recoverycontrolconfig/go_module_metadata.go index 4a7dc6727e6..8a35156ce52 100644 --- a/service/route53recoverycontrolconfig/go_module_metadata.go +++ b/service/route53recoverycontrolconfig/go_module_metadata.go @@ -3,4 +3,4 @@ package route53recoverycontrolconfig // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/route53recoveryreadiness/CHANGELOG.md b/service/route53recoveryreadiness/CHANGELOG.md index 00d3fcf9e56..f7a9e0de758 100644 --- a/service/route53recoveryreadiness/CHANGELOG.md +++ b/service/route53recoveryreadiness/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.20.3 (2024-09-27) + +* No change notes available for this release. + # v1.20.2 (2024-09-25) * No change notes available for this release. diff --git a/service/route53recoveryreadiness/api_client.go b/service/route53recoveryreadiness/api_client.go index aaceea972ed..297e2a8d2f1 100644 --- a/service/route53recoveryreadiness/api_client.go +++ b/service/route53recoveryreadiness/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/route53recoveryreadiness/go_module_metadata.go b/service/route53recoveryreadiness/go_module_metadata.go index 915304dcc0c..13cd6fff58d 100644 --- a/service/route53recoveryreadiness/go_module_metadata.go +++ b/service/route53recoveryreadiness/go_module_metadata.go @@ -3,4 +3,4 @@ package route53recoveryreadiness // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.2" +const goModuleVersion = "1.20.3" diff --git a/service/route53resolver/CHANGELOG.md b/service/route53resolver/CHANGELOG.md index 6bac52d4b6e..80b416ce6d7 100644 --- a/service/route53resolver/CHANGELOG.md +++ b/service/route53resolver/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.31.3 (2024-09-27) + +* No change notes available for this release. + # v1.31.2 (2024-09-25) * No change notes available for this release. diff --git a/service/route53resolver/api_client.go b/service/route53resolver/api_client.go index d1f745980d7..ade504d4d04 100644 --- a/service/route53resolver/api_client.go +++ b/service/route53resolver/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/route53resolver/go_module_metadata.go b/service/route53resolver/go_module_metadata.go index e837d0c9733..29f1d83f0b2 100644 --- a/service/route53resolver/go_module_metadata.go +++ b/service/route53resolver/go_module_metadata.go @@ -3,4 +3,4 @@ package route53resolver // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.31.2" +const goModuleVersion = "1.31.3" diff --git a/service/rum/CHANGELOG.md b/service/rum/CHANGELOG.md index e0cbec9d449..79fdc420790 100644 --- a/service/rum/CHANGELOG.md +++ b/service/rum/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.20.3 (2024-09-27) + +* No change notes available for this release. + # v1.20.2 (2024-09-25) * No change notes available for this release. diff --git a/service/rum/api_client.go b/service/rum/api_client.go index 8d2fa844327..277730db8fb 100644 --- a/service/rum/api_client.go +++ b/service/rum/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/rum/go_module_metadata.go b/service/rum/go_module_metadata.go index 3bd4aadc34a..74a954c0da1 100644 --- a/service/rum/go_module_metadata.go +++ b/service/rum/go_module_metadata.go @@ -3,4 +3,4 @@ package rum // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.2" +const goModuleVersion = "1.20.3" diff --git a/service/s3/CHANGELOG.md b/service/s3/CHANGELOG.md index e1f5090492b..7703a73a805 100644 --- a/service/s3/CHANGELOG.md +++ b/service/s3/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.63.3 (2024-09-27) + +* No change notes available for this release. + # v1.63.2 (2024-09-25) * No change notes available for this release. diff --git a/service/s3/api_client.go b/service/s3/api_client.go index c37895066f5..d5fb0375d83 100644 --- a/service/s3/api_client.go +++ b/service/s3/api_client.go @@ -196,10 +196,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveHTTPSignerV4a(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/s3/go_module_metadata.go b/service/s3/go_module_metadata.go index 0ee4d164820..4c500912b3e 100644 --- a/service/s3/go_module_metadata.go +++ b/service/s3/go_module_metadata.go @@ -3,4 +3,4 @@ package s3 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.63.2" +const goModuleVersion = "1.63.3" diff --git a/service/s3/internal/configtesting/go.mod b/service/s3/internal/configtesting/go.mod index 83c88c47600..48842529343 100644 --- a/service/s3/internal/configtesting/go.mod +++ b/service/s3/internal/configtesting/go.mod @@ -3,22 +3,22 @@ module github.com/aws/aws-sdk-go-v2/service/s3/internal/configtesting go 1.21 require ( - github.com/aws/aws-sdk-go-v2/config v1.27.38 + github.com/aws/aws-sdk-go-v2/config v1.27.39 github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.18 ) require ( github.com/aws/aws-sdk-go-v2 v1.31.0 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.17.36 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.17.37 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.14 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.5 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.20 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.23.2 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.2 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.31.2 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.23.3 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.3 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.31.3 // indirect github.com/aws/smithy-go v1.21.0 // indirect ) diff --git a/service/s3control/CHANGELOG.md b/service/s3control/CHANGELOG.md index d5975c12c9b..139b2ba4e04 100644 --- a/service/s3control/CHANGELOG.md +++ b/service/s3control/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.48.3 (2024-09-27) + +* No change notes available for this release. + # v1.48.2 (2024-09-25) * No change notes available for this release. diff --git a/service/s3control/api_client.go b/service/s3control/api_client.go index ee9e7b48715..ab2e295d97b 100644 --- a/service/s3control/api_client.go +++ b/service/s3control/api_client.go @@ -192,10 +192,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/s3control/go_module_metadata.go b/service/s3control/go_module_metadata.go index dab2ebeb838..73dc1c4fbe4 100644 --- a/service/s3control/go_module_metadata.go +++ b/service/s3control/go_module_metadata.go @@ -3,4 +3,4 @@ package s3control // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.48.2" +const goModuleVersion = "1.48.3" diff --git a/service/s3outposts/CHANGELOG.md b/service/s3outposts/CHANGELOG.md index 63cc1d2e1fb..d22548b7d8b 100644 --- a/service/s3outposts/CHANGELOG.md +++ b/service/s3outposts/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/s3outposts/api_client.go b/service/s3outposts/api_client.go index eb595853f92..24838972b96 100644 --- a/service/s3outposts/api_client.go +++ b/service/s3outposts/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/s3outposts/go_module_metadata.go b/service/s3outposts/go_module_metadata.go index 482cd54ae39..8ce9e73bb85 100644 --- a/service/s3outposts/go_module_metadata.go +++ b/service/s3outposts/go_module_metadata.go @@ -3,4 +3,4 @@ package s3outposts // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/sagemaker/CHANGELOG.md b/service/sagemaker/CHANGELOG.md index 6e0e5725dc4..6cd11ae2cc5 100644 --- a/service/sagemaker/CHANGELOG.md +++ b/service/sagemaker/CHANGELOG.md @@ -1,3 +1,11 @@ +# v1.161.1 (2024-09-27) + +* No change notes available for this release. + +# v1.161.0 (2024-09-26) + +* **Feature**: Adding `TagPropagation` attribute to Sagemaker API + # v1.160.1 (2024-09-25) * No change notes available for this release. diff --git a/service/sagemaker/api_client.go b/service/sagemaker/api_client.go index 3654321879e..adfa020913a 100644 --- a/service/sagemaker/api_client.go +++ b/service/sagemaker/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/sagemaker/api_op_CreateDomain.go b/service/sagemaker/api_op_CreateDomain.go index 8cfedfa5b96..c0f7b47811c 100644 --- a/service/sagemaker/api_op_CreateDomain.go +++ b/service/sagemaker/api_op_CreateDomain.go @@ -136,6 +136,10 @@ type CreateDomainInput struct { // control, specify a customer managed key. KmsKeyId *string + // Indicates whether custom tag propagation is supported for the domain. Defaults + // to DISABLED . + TagPropagation types.TagPropagation + // Tags to associated with the Domain. Each tag consists of a key and an optional // value. Tag keys must be unique per resource. Tags are searchable using the // Search API. diff --git a/service/sagemaker/api_op_DescribeDomain.go b/service/sagemaker/api_op_DescribeDomain.go index 2f406d7c8a6..93d4c217d5a 100644 --- a/service/sagemaker/api_op_DescribeDomain.go +++ b/service/sagemaker/api_op_DescribeDomain.go @@ -115,6 +115,9 @@ type DescribeDomainOutput struct { // The VPC subnets that the domain uses for communication. SubnetIds []string + // Indicates whether custom tag propagation is supported for the domain. + TagPropagation types.TagPropagation + // The domain's URL. Url *string diff --git a/service/sagemaker/api_op_UpdateDomain.go b/service/sagemaker/api_op_UpdateDomain.go index e5369675233..bb787c99aa8 100644 --- a/service/sagemaker/api_op_UpdateDomain.go +++ b/service/sagemaker/api_op_UpdateDomain.go @@ -71,6 +71,10 @@ type UpdateDomainInput struct { // Deleting state. SubnetIds []string + // Indicates whether custom tag propagation is supported for the domain. Defaults + // to DISABLED . + TagPropagation types.TagPropagation + noSmithyDocumentSerde } diff --git a/service/sagemaker/deserializers.go b/service/sagemaker/deserializers.go index e55b19141c4..7b133aa2c37 100644 --- a/service/sagemaker/deserializers.go +++ b/service/sagemaker/deserializers.go @@ -88790,6 +88790,15 @@ func awsAwsjson11_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOu return err } + case "TagPropagation": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TagPropagation to be of type string, got %T instead", value) + } + sv.TagPropagation = types.TagPropagation(jtv) + } + case "Url": if value != nil { jtv, ok := value.(string) diff --git a/service/sagemaker/go_module_metadata.go b/service/sagemaker/go_module_metadata.go index 30ffd799452..ffd21d54388 100644 --- a/service/sagemaker/go_module_metadata.go +++ b/service/sagemaker/go_module_metadata.go @@ -3,4 +3,4 @@ package sagemaker // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.160.1" +const goModuleVersion = "1.161.1" diff --git a/service/sagemaker/serializers.go b/service/sagemaker/serializers.go index b57d1a91c39..9598571d538 100644 --- a/service/sagemaker/serializers.go +++ b/service/sagemaker/serializers.go @@ -32748,6 +32748,11 @@ func awsAwsjson11_serializeOpDocumentCreateDomainInput(v *CreateDomainInput, val } } + if len(v.TagPropagation) > 0 { + ok := object.Key("TagPropagation") + ok.String(string(v.TagPropagation)) + } + if v.Tags != nil { ok := object.Key("Tags") if err := awsAwsjson11_serializeDocumentTagList(v.Tags, ok); err != nil { @@ -41492,6 +41497,11 @@ func awsAwsjson11_serializeOpDocumentUpdateDomainInput(v *UpdateDomainInput, val } } + if len(v.TagPropagation) > 0 { + ok := object.Key("TagPropagation") + ok.String(string(v.TagPropagation)) + } + return nil } diff --git a/service/sagemaker/types/enums.go b/service/sagemaker/types/enums.go index 5e817614c8c..9cfcd14c4c5 100644 --- a/service/sagemaker/types/enums.go +++ b/service/sagemaker/types/enums.go @@ -6995,6 +6995,25 @@ func (TableFormat) Values() []TableFormat { } } +type TagPropagation string + +// Enum values for TagPropagation +const ( + TagPropagationEnabled TagPropagation = "ENABLED" + TagPropagationDisabled TagPropagation = "DISABLED" +) + +// Values returns all known values for TagPropagation. Note that this can be +// expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (TagPropagation) Values() []TagPropagation { + return []TagPropagation{ + "ENABLED", + "DISABLED", + } +} + type TargetDevice string // Enum values for TargetDevice diff --git a/service/sagemakera2iruntime/CHANGELOG.md b/service/sagemakera2iruntime/CHANGELOG.md index a2e1c7bc4ee..081a497ee59 100644 --- a/service/sagemakera2iruntime/CHANGELOG.md +++ b/service/sagemakera2iruntime/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/sagemakera2iruntime/api_client.go b/service/sagemakera2iruntime/api_client.go index 378215c9e93..c5a580ca322 100644 --- a/service/sagemakera2iruntime/api_client.go +++ b/service/sagemakera2iruntime/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/sagemakera2iruntime/go_module_metadata.go b/service/sagemakera2iruntime/go_module_metadata.go index 8037cacaa43..591b85ed5bd 100644 --- a/service/sagemakera2iruntime/go_module_metadata.go +++ b/service/sagemakera2iruntime/go_module_metadata.go @@ -3,4 +3,4 @@ package sagemakera2iruntime // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/sagemakeredge/CHANGELOG.md b/service/sagemakeredge/CHANGELOG.md index 04b9dc92cde..50d0d0bf55b 100644 --- a/service/sagemakeredge/CHANGELOG.md +++ b/service/sagemakeredge/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/sagemakeredge/api_client.go b/service/sagemakeredge/api_client.go index 86e5b69c78b..05413c89828 100644 --- a/service/sagemakeredge/api_client.go +++ b/service/sagemakeredge/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/sagemakeredge/go_module_metadata.go b/service/sagemakeredge/go_module_metadata.go index 2049ac6b8e8..755a6d1d1bf 100644 --- a/service/sagemakeredge/go_module_metadata.go +++ b/service/sagemakeredge/go_module_metadata.go @@ -3,4 +3,4 @@ package sagemakeredge // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/sagemakerfeaturestoreruntime/CHANGELOG.md b/service/sagemakerfeaturestoreruntime/CHANGELOG.md index ab12659e947..21e58ee1b1a 100644 --- a/service/sagemakerfeaturestoreruntime/CHANGELOG.md +++ b/service/sagemakerfeaturestoreruntime/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/sagemakerfeaturestoreruntime/api_client.go b/service/sagemakerfeaturestoreruntime/api_client.go index 5a914300969..16a4f5a513d 100644 --- a/service/sagemakerfeaturestoreruntime/api_client.go +++ b/service/sagemakerfeaturestoreruntime/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/sagemakerfeaturestoreruntime/go_module_metadata.go b/service/sagemakerfeaturestoreruntime/go_module_metadata.go index a39a746ad70..5e091e3731a 100644 --- a/service/sagemakerfeaturestoreruntime/go_module_metadata.go +++ b/service/sagemakerfeaturestoreruntime/go_module_metadata.go @@ -3,4 +3,4 @@ package sagemakerfeaturestoreruntime // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/sagemakergeospatial/CHANGELOG.md b/service/sagemakergeospatial/CHANGELOG.md index 2c2216d335a..1390f0f0d08 100644 --- a/service/sagemakergeospatial/CHANGELOG.md +++ b/service/sagemakergeospatial/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.3 (2024-09-27) + +* No change notes available for this release. + # v1.13.2 (2024-09-25) * No change notes available for this release. diff --git a/service/sagemakergeospatial/api_client.go b/service/sagemakergeospatial/api_client.go index 6b4fe417a1b..6af4ad88041 100644 --- a/service/sagemakergeospatial/api_client.go +++ b/service/sagemakergeospatial/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/sagemakergeospatial/go_module_metadata.go b/service/sagemakergeospatial/go_module_metadata.go index 89f48896f73..ffb06ad2310 100644 --- a/service/sagemakergeospatial/go_module_metadata.go +++ b/service/sagemakergeospatial/go_module_metadata.go @@ -3,4 +3,4 @@ package sagemakergeospatial // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.2" +const goModuleVersion = "1.13.3" diff --git a/service/sagemakermetrics/CHANGELOG.md b/service/sagemakermetrics/CHANGELOG.md index 5d25d34fc3b..80e318066ad 100644 --- a/service/sagemakermetrics/CHANGELOG.md +++ b/service/sagemakermetrics/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.3 (2024-09-27) + +* No change notes available for this release. + # v1.11.2 (2024-09-25) * No change notes available for this release. diff --git a/service/sagemakermetrics/api_client.go b/service/sagemakermetrics/api_client.go index 8740e6f495d..e1111d19454 100644 --- a/service/sagemakermetrics/api_client.go +++ b/service/sagemakermetrics/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/sagemakermetrics/go_module_metadata.go b/service/sagemakermetrics/go_module_metadata.go index e57104682c9..2b968956406 100644 --- a/service/sagemakermetrics/go_module_metadata.go +++ b/service/sagemakermetrics/go_module_metadata.go @@ -3,4 +3,4 @@ package sagemakermetrics // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.2" +const goModuleVersion = "1.11.3" diff --git a/service/sagemakerruntime/CHANGELOG.md b/service/sagemakerruntime/CHANGELOG.md index 64a0e0af03f..9e2e0fc49ae 100644 --- a/service/sagemakerruntime/CHANGELOG.md +++ b/service/sagemakerruntime/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.31.3 (2024-09-27) + +* No change notes available for this release. + # v1.31.2 (2024-09-25) * No change notes available for this release. diff --git a/service/sagemakerruntime/api_client.go b/service/sagemakerruntime/api_client.go index 0b578df3bc7..30574dc0da5 100644 --- a/service/sagemakerruntime/api_client.go +++ b/service/sagemakerruntime/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/sagemakerruntime/go_module_metadata.go b/service/sagemakerruntime/go_module_metadata.go index 5f179907afb..ccc097c91c3 100644 --- a/service/sagemakerruntime/go_module_metadata.go +++ b/service/sagemakerruntime/go_module_metadata.go @@ -3,4 +3,4 @@ package sagemakerruntime // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.31.2" +const goModuleVersion = "1.31.3" diff --git a/service/savingsplans/CHANGELOG.md b/service/savingsplans/CHANGELOG.md index f0ed82f0476..87b3e9a31bc 100644 --- a/service/savingsplans/CHANGELOG.md +++ b/service/savingsplans/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/savingsplans/api_client.go b/service/savingsplans/api_client.go index b359a958651..585cb7f50cc 100644 --- a/service/savingsplans/api_client.go +++ b/service/savingsplans/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/savingsplans/go_module_metadata.go b/service/savingsplans/go_module_metadata.go index 4bf67afc238..4d4ef9e1705 100644 --- a/service/savingsplans/go_module_metadata.go +++ b/service/savingsplans/go_module_metadata.go @@ -3,4 +3,4 @@ package savingsplans // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/scheduler/CHANGELOG.md b/service/scheduler/CHANGELOG.md index 7c0f5992a9c..d13aaf8a2ff 100644 --- a/service/scheduler/CHANGELOG.md +++ b/service/scheduler/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.3 (2024-09-27) + +* No change notes available for this release. + # v1.11.2 (2024-09-25) * No change notes available for this release. diff --git a/service/scheduler/api_client.go b/service/scheduler/api_client.go index fdb98c03fab..69b9190d6ed 100644 --- a/service/scheduler/api_client.go +++ b/service/scheduler/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/scheduler/go_module_metadata.go b/service/scheduler/go_module_metadata.go index 4eb42902d41..452de7dbf86 100644 --- a/service/scheduler/go_module_metadata.go +++ b/service/scheduler/go_module_metadata.go @@ -3,4 +3,4 @@ package scheduler // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.2" +const goModuleVersion = "1.11.3" diff --git a/service/schemas/CHANGELOG.md b/service/schemas/CHANGELOG.md index 04f4ab3d441..48dcaacd5d6 100644 --- a/service/schemas/CHANGELOG.md +++ b/service/schemas/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/schemas/api_client.go b/service/schemas/api_client.go index a97033d0b03..6b7176c056f 100644 --- a/service/schemas/api_client.go +++ b/service/schemas/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/schemas/go_module_metadata.go b/service/schemas/go_module_metadata.go index 3537304737c..844d1e6b139 100644 --- a/service/schemas/go_module_metadata.go +++ b/service/schemas/go_module_metadata.go @@ -3,4 +3,4 @@ package schemas // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/secretsmanager/CHANGELOG.md b/service/secretsmanager/CHANGELOG.md index 6074fb0455a..5d22b456157 100644 --- a/service/secretsmanager/CHANGELOG.md +++ b/service/secretsmanager/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.33.3 (2024-09-27) + +* No change notes available for this release. + # v1.33.2 (2024-09-25) * No change notes available for this release. diff --git a/service/secretsmanager/api_client.go b/service/secretsmanager/api_client.go index 561278453c6..d4b0dbdb5c3 100644 --- a/service/secretsmanager/api_client.go +++ b/service/secretsmanager/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/secretsmanager/go_module_metadata.go b/service/secretsmanager/go_module_metadata.go index 016166b11d2..38343cb98f1 100644 --- a/service/secretsmanager/go_module_metadata.go +++ b/service/secretsmanager/go_module_metadata.go @@ -3,4 +3,4 @@ package secretsmanager // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.33.2" +const goModuleVersion = "1.33.3" diff --git a/service/securityhub/CHANGELOG.md b/service/securityhub/CHANGELOG.md index 9af0c0ce680..cd1d3b71d1a 100644 --- a/service/securityhub/CHANGELOG.md +++ b/service/securityhub/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.53.3 (2024-09-27) + +* **Documentation**: Documentation updates for AWS Security Hub + # v1.53.2 (2024-09-25) * No change notes available for this release. diff --git a/service/securityhub/api_client.go b/service/securityhub/api_client.go index 663fba6c582..c6f72095f71 100644 --- a/service/securityhub/api_client.go +++ b/service/securityhub/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/securityhub/api_op_AcceptAdministratorInvitation.go b/service/securityhub/api_op_AcceptAdministratorInvitation.go index cc5713bcdfc..38ec13969e1 100644 --- a/service/securityhub/api_op_AcceptAdministratorInvitation.go +++ b/service/securityhub/api_op_AcceptAdministratorInvitation.go @@ -10,6 +10,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) +// We recommend using Organizations instead of Security Hub invitations to manage +// your member accounts. For information, see [Managing Security Hub administrator and member accounts with Organizations]in the Security Hub User Guide. +// // Accepts the invitation to be a member account and be monitored by the Security // Hub administrator account that the invitation was sent from. // @@ -18,6 +21,8 @@ import ( // // When the member account accepts the invitation, permission is granted to the // administrator account to view findings generated in the member account. +// +// [Managing Security Hub administrator and member accounts with Organizations]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-accounts-orgs.html func (c *Client) AcceptAdministratorInvitation(ctx context.Context, params *AcceptAdministratorInvitationInput, optFns ...func(*Options)) (*AcceptAdministratorInvitationOutput, error) { if params == nil { params = &AcceptAdministratorInvitationInput{} diff --git a/service/securityhub/api_op_BatchUpdateFindings.go b/service/securityhub/api_op_BatchUpdateFindings.go index 7e9e15be687..6c446f4e181 100644 --- a/service/securityhub/api_op_BatchUpdateFindings.go +++ b/service/securityhub/api_op_BatchUpdateFindings.go @@ -16,7 +16,7 @@ import ( // Administrator accounts can update findings for their account and their member // accounts. Member accounts can update findings for their account. // -// Updates from BatchUpdateFindings do not affect the value of UpdatedAt for a +// Updates from BatchUpdateFindings don't affect the value of UpdatedAt for a // finding. // // Administrator and member accounts can use BatchUpdateFindings to update the diff --git a/service/securityhub/api_op_CreateFindingAggregator.go b/service/securityhub/api_op_CreateFindingAggregator.go index 71f7738255c..d3c5afd9ada 100644 --- a/service/securityhub/api_op_CreateFindingAggregator.go +++ b/service/securityhub/api_op_CreateFindingAggregator.go @@ -10,12 +10,15 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Used to enable finding aggregation. Must be called from the aggregation Region. +// The aggregation Region is now called the home Region. // -// For more details about cross-Region replication, see [Configuring finding aggregation] in the Security Hub User -// Guide. +// Used to enable cross-Region aggregation. This operation can be invoked from the +// home Region only. // -// [Configuring finding aggregation]: https://docs.aws.amazon.com/securityhub/latest/userguide/finding-aggregation.html +// For information about how cross-Region aggregation works, see [Understanding cross-Region aggregation in Security Hub] in the Security +// Hub User Guide. +// +// [Understanding cross-Region aggregation in Security Hub]: https://docs.aws.amazon.com/securityhub/latest/userguide/finding-aggregation.html func (c *Client) CreateFindingAggregator(ctx context.Context, params *CreateFindingAggregatorInput, optFns ...func(*Options)) (*CreateFindingAggregatorOutput, error) { if params == nil { params = &CreateFindingAggregatorInput{} @@ -64,11 +67,11 @@ type CreateFindingAggregatorInput struct { RegionLinkingMode *string // If RegionLinkingMode is ALL_REGIONS_EXCEPT_SPECIFIED , then this is a - // space-separated list of Regions that do not aggregate findings to the - // aggregation Region. + // space-separated list of Regions that don't replicate and send findings to the + // home Region. // // If RegionLinkingMode is SPECIFIED_REGIONS , then this is a space-separated list - // of Regions that do aggregate findings to the aggregation Region. + // of Regions that do replicate and send findings to the home Region. // // An InvalidInputException error results if you populate this field while // RegionLinkingMode is NO_REGIONS . @@ -79,11 +82,12 @@ type CreateFindingAggregatorInput struct { type CreateFindingAggregatorOutput struct { - // The aggregation Region. + // The home Region. Findings generated in linked Regions are replicated and sent + // to the home Region. FindingAggregationRegion *string // The ARN of the finding aggregator. You use the finding aggregator ARN to - // retrieve details for, update, and stop finding aggregation. + // retrieve details for, update, and stop cross-Region aggregation. FindingAggregatorArn *string // Indicates whether to link all Regions, all Regions except for a list of diff --git a/service/securityhub/api_op_CreateMembers.go b/service/securityhub/api_op_CreateMembers.go index 8b048341fbe..08ff709cf06 100644 --- a/service/securityhub/api_op_CreateMembers.go +++ b/service/securityhub/api_op_CreateMembers.go @@ -34,8 +34,8 @@ import ( // invitation, you use the InviteMembers operation. If the account owner accepts // the invitation, the account becomes a member account in Security Hub. // -// Accounts that are managed using Organizations do not receive an invitation. -// They automatically become a member account in Security Hub. +// Accounts that are managed using Organizations don't receive an invitation. They +// automatically become a member account in Security Hub. // // - If the organization account does not have Security Hub enabled, then // Security Hub and the default standards are automatically enabled. Note that diff --git a/service/securityhub/api_op_DeclineInvitations.go b/service/securityhub/api_op_DeclineInvitations.go index 955f890d88e..50d59f0cea9 100644 --- a/service/securityhub/api_op_DeclineInvitations.go +++ b/service/securityhub/api_op_DeclineInvitations.go @@ -11,13 +11,18 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Declines invitations to become a member account. +// We recommend using Organizations instead of Security Hub invitations to manage +// your member accounts. For information, see [Managing Security Hub administrator and member accounts with Organizations]in the Security Hub User Guide. +// +// Declines invitations to become a Security Hub member account. // // A prospective member account uses this operation to decline an invitation to // become a member. // -// This operation is only called by member accounts that aren't part of an -// organization. Organization accounts don't receive invitations. +// Only member accounts that aren't part of an Amazon Web Services organization +// should use this operation. Organization accounts don't receive invitations. +// +// [Managing Security Hub administrator and member accounts with Organizations]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-accounts-orgs.html func (c *Client) DeclineInvitations(ctx context.Context, params *DeclineInvitationsInput, optFns ...func(*Options)) (*DeclineInvitationsOutput, error) { if params == nil { params = &DeclineInvitationsInput{} diff --git a/service/securityhub/api_op_DeleteFindingAggregator.go b/service/securityhub/api_op_DeleteFindingAggregator.go index b678460fd07..1cae68ff58c 100644 --- a/service/securityhub/api_op_DeleteFindingAggregator.go +++ b/service/securityhub/api_op_DeleteFindingAggregator.go @@ -10,12 +10,16 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) +// The aggregation Region is now called the home Region. +// // Deletes a finding aggregator. When you delete the finding aggregator, you stop -// finding aggregation. +// cross-Region aggregation. Finding replication stops occurring from the linked +// Regions to the home Region. // -// When you stop finding aggregation, findings that were already aggregated to the -// aggregation Region are still visible from the aggregation Region. New findings -// and finding updates are not aggregated. +// When you stop cross-Region aggregation, findings that were already replicated +// and sent to the home Region are still visible from the home Region. However, new +// findings and finding updates are no longer replicated and sent to the home +// Region. func (c *Client) DeleteFindingAggregator(ctx context.Context, params *DeleteFindingAggregatorInput, optFns ...func(*Options)) (*DeleteFindingAggregatorOutput, error) { if params == nil { params = &DeleteFindingAggregatorInput{} diff --git a/service/securityhub/api_op_DeleteInvitations.go b/service/securityhub/api_op_DeleteInvitations.go index 46b3dd26cd0..fbbe1507c5a 100644 --- a/service/securityhub/api_op_DeleteInvitations.go +++ b/service/securityhub/api_op_DeleteInvitations.go @@ -11,15 +11,19 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes invitations received by the Amazon Web Services account to become a -// member account. +// We recommend using Organizations instead of Security Hub invitations to manage +// your member accounts. For information, see [Managing Security Hub administrator and member accounts with Organizations]in the Security Hub User Guide. +// +// Deletes invitations to become a Security Hub member account. // // A Security Hub administrator account can use this operation to delete -// invitations sent to one or more member accounts. +// invitations sent to one or more prospective member accounts. +// +// This operation is only used to delete invitations that are sent to prospective +// member accounts that aren't part of an Amazon Web Services organization. +// Organization accounts don't receive invitations. // -// This operation is only used to delete invitations that are sent to member -// accounts that aren't part of an organization. Organization accounts don't -// receive invitations. +// [Managing Security Hub administrator and member accounts with Organizations]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-accounts-orgs.html func (c *Client) DeleteInvitations(ctx context.Context, params *DeleteInvitationsInput, optFns ...func(*Options)) (*DeleteInvitationsOutput, error) { if params == nil { params = &DeleteInvitationsInput{} diff --git a/service/securityhub/api_op_DescribeProducts.go b/service/securityhub/api_op_DescribeProducts.go index c5c3ca7a246..47ac5b4e74b 100644 --- a/service/securityhub/api_op_DescribeProducts.go +++ b/service/securityhub/api_op_DescribeProducts.go @@ -16,7 +16,7 @@ import ( // You can optionally provide an integration ARN. If you provide an integration // ARN, then the results only include that integration. // -// If you do not provide an integration ARN, then the results include all of the +// If you don't provide an integration ARN, then the results include all of the // available product integrations. func (c *Client) DescribeProducts(ctx context.Context, params *DescribeProductsInput, optFns ...func(*Options)) (*DescribeProductsOutput, error) { if params == nil { diff --git a/service/securityhub/api_op_EnableSecurityHub.go b/service/securityhub/api_op_EnableSecurityHub.go index 0fb545f702a..61e356e0082 100644 --- a/service/securityhub/api_op_EnableSecurityHub.go +++ b/service/securityhub/api_op_EnableSecurityHub.go @@ -71,8 +71,8 @@ type EnableSecurityHubInput struct { ControlFindingGenerator types.ControlFindingGenerator // Whether to enable the security standards that Security Hub has designated as - // automatically enabled. If you do not provide a value for EnableDefaultStandards - // , it is set to true . To not enable the automatically enabled standards, set + // automatically enabled. If you don't provide a value for EnableDefaultStandards , + // it is set to true . To not enable the automatically enabled standards, set // EnableDefaultStandards to false . EnableDefaultStandards *bool diff --git a/service/securityhub/api_op_GetFindingAggregator.go b/service/securityhub/api_op_GetFindingAggregator.go index 07e56c49998..c5bf60fe6ae 100644 --- a/service/securityhub/api_op_GetFindingAggregator.go +++ b/service/securityhub/api_op_GetFindingAggregator.go @@ -10,7 +10,11 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Returns the current finding aggregation configuration. +// The aggregation Region is now called the home Region. +// +// Returns the current configuration in the calling account for cross-Region +// aggregation. A finding aggregator is a resource that establishes the home Region +// and any linked Regions. func (c *Client) GetFindingAggregator(ctx context.Context, params *GetFindingAggregatorInput, optFns ...func(*Options)) (*GetFindingAggregatorOutput, error) { if params == nil { params = &GetFindingAggregatorInput{} @@ -39,7 +43,8 @@ type GetFindingAggregatorInput struct { type GetFindingAggregatorOutput struct { - // The aggregation Region. + // The home Region. Findings generated in linked Regions are replicated and sent + // to the home Region. FindingAggregationRegion *string // The ARN of the finding aggregator. diff --git a/service/securityhub/api_op_GetFindings.go b/service/securityhub/api_op_GetFindings.go index 7526b4cb0b0..a9fbbb2e574 100644 --- a/service/securityhub/api_op_GetFindings.go +++ b/service/securityhub/api_op_GetFindings.go @@ -13,9 +13,9 @@ import ( // Returns a list of findings that match the specified criteria. // -// If finding aggregation is enabled, then when you call GetFindings from the -// aggregation Region, the results include all of the matching findings from both -// the aggregation Region and the linked Regions. +// If cross-Region aggregation is enabled, then when you call GetFindings from the +// home Region, the results include all of the matching findings from both the home +// Region and linked Regions. func (c *Client) GetFindings(ctx context.Context, params *GetFindingsInput, optFns ...func(*Options)) (*GetFindingsOutput, error) { if params == nil { params = &GetFindingsInput{} diff --git a/service/securityhub/api_op_GetInsights.go b/service/securityhub/api_op_GetInsights.go index bc7f1cc7aea..bad5083b9e1 100644 --- a/service/securityhub/api_op_GetInsights.go +++ b/service/securityhub/api_op_GetInsights.go @@ -29,7 +29,7 @@ func (c *Client) GetInsights(ctx context.Context, params *GetInsightsInput, optF type GetInsightsInput struct { - // The ARNs of the insights to describe. If you do not provide any insight ARNs, + // The ARNs of the insights to describe. If you don't provide any insight ARNs, // then GetInsights returns all of your custom insights. It does not return any // managed insights. InsightArns []string diff --git a/service/securityhub/api_op_GetInvitationsCount.go b/service/securityhub/api_op_GetInvitationsCount.go index d321f13a6b7..cfe39b1ffef 100644 --- a/service/securityhub/api_op_GetInvitationsCount.go +++ b/service/securityhub/api_op_GetInvitationsCount.go @@ -10,8 +10,13 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) +// We recommend using Organizations instead of Security Hub invitations to manage +// your member accounts. For information, see [Managing Security Hub administrator and member accounts with Organizations]in the Security Hub User Guide. +// // Returns the count of all Security Hub membership invitations that were sent to -// the current member account, not including the currently accepted invitation. +// the calling member account, not including the currently accepted invitation. +// +// [Managing Security Hub administrator and member accounts with Organizations]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-accounts-orgs.html func (c *Client) GetInvitationsCount(ctx context.Context, params *GetInvitationsCountInput, optFns ...func(*Options)) (*GetInvitationsCountOutput, error) { if params == nil { params = &GetInvitationsCountInput{} diff --git a/service/securityhub/api_op_InviteMembers.go b/service/securityhub/api_op_InviteMembers.go index c41f9d56e34..264c699b06f 100644 --- a/service/securityhub/api_op_InviteMembers.go +++ b/service/securityhub/api_op_InviteMembers.go @@ -11,18 +11,23 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) +// We recommend using Organizations instead of Security Hub invitations to manage +// your member accounts. For information, see [Managing Security Hub administrator and member accounts with Organizations]in the Security Hub User Guide. +// // Invites other Amazon Web Services accounts to become member accounts for the // Security Hub administrator account that the invitation is sent from. // -// This operation is only used to invite accounts that do not belong to an -// organization. Organization accounts do not receive invitations. +// This operation is only used to invite accounts that don't belong to an Amazon +// Web Services organization. Organization accounts don't receive invitations. // // Before you can use this action to invite a member, you must first use the // CreateMembers action to create the member account in Security Hub. // // When the account owner enables Security Hub and accepts the invitation to // become a member account, the administrator account can view the findings -// generated from the member account. +// generated in the member account. +// +// [Managing Security Hub administrator and member accounts with Organizations]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-accounts-orgs.html func (c *Client) InviteMembers(ctx context.Context, params *InviteMembersInput, optFns ...func(*Options)) (*InviteMembersOutput, error) { if params == nil { params = &InviteMembersInput{} diff --git a/service/securityhub/api_op_ListFindingAggregators.go b/service/securityhub/api_op_ListFindingAggregators.go index aacefe65d67..1cd1b35b9bc 100644 --- a/service/securityhub/api_op_ListFindingAggregators.go +++ b/service/securityhub/api_op_ListFindingAggregators.go @@ -11,8 +11,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// If finding aggregation is enabled, then ListFindingAggregators returns the ARN -// of the finding aggregator. You can run this operation from any Region. +// If cross-Region aggregation is enabled, then ListFindingAggregators returns the +// Amazon Resource Name (ARN) of the finding aggregator. You can run this operation +// from any Amazon Web Services Region. func (c *Client) ListFindingAggregators(ctx context.Context, params *ListFindingAggregatorsInput, optFns ...func(*Options)) (*ListFindingAggregatorsOutput, error) { if params == nil { params = &ListFindingAggregatorsInput{} diff --git a/service/securityhub/api_op_ListInvitations.go b/service/securityhub/api_op_ListInvitations.go index 4195af0160b..f0464419c5d 100644 --- a/service/securityhub/api_op_ListInvitations.go +++ b/service/securityhub/api_op_ListInvitations.go @@ -11,12 +11,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists all Security Hub membership invitations that were sent to the current -// Amazon Web Services account. +// We recommend using Organizations instead of Security Hub invitations to manage +// your member accounts. For information, see [Managing Security Hub administrator and member accounts with Organizations]in the Security Hub User Guide. // -// This operation is only used by accounts that are managed by invitation. -// Accounts that are managed using the integration with Organizations do not -// receive invitations. +// Lists all Security Hub membership invitations that were sent to the calling +// account. +// +// Only accounts that are managed by invitation can use this operation. Accounts +// that are managed using the integration with Organizations don't receive +// invitations. +// +// [Managing Security Hub administrator and member accounts with Organizations]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-accounts-orgs.html func (c *Client) ListInvitations(ctx context.Context, params *ListInvitationsInput, optFns ...func(*Options)) (*ListInvitationsOutput, error) { if params == nil { params = &ListInvitationsInput{} diff --git a/service/securityhub/api_op_UpdateFindingAggregator.go b/service/securityhub/api_op_UpdateFindingAggregator.go index f38c8991dff..32e5b2d09b6 100644 --- a/service/securityhub/api_op_UpdateFindingAggregator.go +++ b/service/securityhub/api_op_UpdateFindingAggregator.go @@ -10,11 +10,13 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Updates the finding aggregation configuration. Used to update the Region -// linking mode and the list of included or excluded Regions. You cannot use -// UpdateFindingAggregator to change the aggregation Region. +// The aggregation Region is now called the home Region. // -// You must run UpdateFindingAggregator from the current aggregation Region. +// Updates cross-Region aggregation settings. You can use this operation to update +// the Region linking mode and the list of included or excluded Amazon Web Services +// Regions. However, you can't use this operation to change the home Region. +// +// You can invoke this operation from the current home Region only. func (c *Client) UpdateFindingAggregator(ctx context.Context, params *UpdateFindingAggregatorInput, optFns ...func(*Options)) (*UpdateFindingAggregatorOutput, error) { if params == nil { params = &UpdateFindingAggregatorInput{} @@ -69,11 +71,11 @@ type UpdateFindingAggregatorInput struct { RegionLinkingMode *string // If RegionLinkingMode is ALL_REGIONS_EXCEPT_SPECIFIED , then this is a - // space-separated list of Regions that do not aggregate findings to the - // aggregation Region. + // space-separated list of Regions that don't replicate and send findings to the + // home Region. // // If RegionLinkingMode is SPECIFIED_REGIONS , then this is a space-separated list - // of Regions that do aggregate findings to the aggregation Region. + // of Regions that do replicate and send findings to the home Region. // // An InvalidInputException error results if you populate this field while // RegionLinkingMode is NO_REGIONS . @@ -84,7 +86,8 @@ type UpdateFindingAggregatorInput struct { type UpdateFindingAggregatorOutput struct { - // The aggregation Region. + // The home Region. Findings generated in linked Regions are replicated and sent + // to the home Region. FindingAggregationRegion *string // The ARN of the finding aggregator. diff --git a/service/securityhub/doc.go b/service/securityhub/doc.go index 21dd6bc0da2..490b014d29d 100644 --- a/service/securityhub/doc.go +++ b/service/securityhub/doc.go @@ -8,7 +8,7 @@ // against security industry standards and best practices. // // Security Hub collects security data across Amazon Web Services accounts, Amazon -// Web Servicesservices, and supported third-party products and helps you analyze +// Web Services services, and supported third-party products and helps you analyze // your security trends and identify the highest priority security issues. // // To help you manage the security state of your organization, Security Hub @@ -23,10 +23,10 @@ // practices. // // In addition to generating control findings, Security Hub also receives findings -// from other Amazon Web Servicesservices, such as Amazon GuardDuty and Amazon +// from other Amazon Web Services services, such as Amazon GuardDuty and Amazon // Inspector, and supported third-party products. This gives you a single pane of // glass into a variety of security-related issues. You can also send Security Hub -// findings to other Amazon Web Servicesservices and supported third-party +// findings to other Amazon Web Services services and supported third-party // products. // // Security Hub offers automation features that help you triage and remediate @@ -40,17 +40,17 @@ // and schemas. If you're new to Security Hub, you might find it helpful to also // review the [Security Hub User Guide]. The user guide explains key concepts and provides procedures that // demonstrate how to use Security Hub features. It also provides information about -// topics such as integrating Security Hub with other Amazon Web Servicesservices. +// topics such as integrating Security Hub with other Amazon Web Services services. // // In addition to interacting with Security Hub by making calls to the Security // Hub API, you can use a current version of an Amazon Web Services command line // tool or SDK. Amazon Web Services provides tools and SDKs that consist of // libraries and sample code for various languages and platforms, such as // PowerShell, Java, Go, Python, C++, and .NET. These tools and SDKs provide -// convenient, programmatic access to Security Hub and other Amazon Web -// Servicesservices . They also handle tasks such as signing requests, managing -// errors, and retrying requests automatically. For information about installing -// and using the Amazon Web Services tools and SDKs, see [Tools to Build on Amazon Web Services]. +// convenient, programmatic access to Security Hub and other Amazon Web Services +// services . They also handle tasks such as signing requests, managing errors, and +// retrying requests automatically. For information about installing and using the +// Amazon Web Services tools and SDKs, see [Tools to Build on Amazon Web Services]. // // With the exception of operations that are related to central configuration, // Security Hub API requests are executed only in the Amazon Web Services Region diff --git a/service/securityhub/go_module_metadata.go b/service/securityhub/go_module_metadata.go index 1267789ede6..f66b9789a14 100644 --- a/service/securityhub/go_module_metadata.go +++ b/service/securityhub/go_module_metadata.go @@ -3,4 +3,4 @@ package securityhub // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.53.2" +const goModuleVersion = "1.53.3" diff --git a/service/securityhub/types/types.go b/service/securityhub/types/types.go index 3da5b915abb..3ae2da534fc 100644 --- a/service/securityhub/types/types.go +++ b/service/securityhub/types/types.go @@ -248,20 +248,16 @@ type AssociationStateDetails struct { noSmithyDocumentSerde } -// One or more actions to update finding fields if a finding matches the defined +// One or more actions that Security Hub takes when a finding matches the defined // -// criteria of the rule. +// criteria of a rule. type AutomationRulesAction struct { // Specifies that the automation rule action is an update to a finding field. FindingFieldsUpdate *AutomationRulesFindingFieldsUpdate - // Specifies that the rule action should update the Types finding field. The Types - // finding field classifies findings in the format of - // namespace/category/classifier. For more information, see [Types taxonomy for ASFF]in the Security Hub - // User Guide. - // - // [Types taxonomy for ASFF]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-findings-format-type-taxonomy.html + // Specifies the type of action that Security Hub takes when a finding matches + // the defined criteria of a rule. Type AutomationRulesActionType noSmithyDocumentSerde @@ -609,7 +605,7 @@ type AutomationRulesFindingFilters struct { // The identifier for the given resource type. For Amazon Web Services resources // that are identified by Amazon Resource Names (ARNs), this is the ARN. For Amazon // Web Services resources that lack ARNs, this is the identifier as defined by the - // Amazon Web Servicesservice that created the resource. For non-Amazon Web + // Amazon Web Services service that created the resource. For non-Amazon Web // Services resources, this is a unique identifier that is associated with the // resource. // @@ -2208,7 +2204,7 @@ type AwsBackupBackupPlanRuleCopyActionsDetails struct { // Defines when a protected resource is transitioned to cold storage and when it // expires. Backup transitions and expires backups automatically according to the - // lifecycle that you define. If you do not specify a lifecycle, Backup applies the + // lifecycle that you define. If you don't specify a lifecycle, Backup applies the // lifecycle policy of the source backup to the destination backup. // // Backups transitioned to cold storage must be stored in cold storage for a @@ -2236,7 +2232,7 @@ type AwsBackupBackupPlanRuleDetails struct { // Defines when a protected resource is transitioned to cold storage and when it // expires. Backup transitions and expires backups automatically according to the - // lifecycle that you define. If you do not specify a lifecycle, Backup applies the + // lifecycle that you define. If you don't specify a lifecycle, Backup applies the // lifecycle policy of the source backup to the destination backup. // // Backups transitioned to cold storage must be stored in cold storage for a @@ -2286,7 +2282,7 @@ type AwsBackupBackupVaultDetails struct { // The unique ARN associated with the server-side encryption key. You can specify // a key to encrypt your backups from services that support full Backup management. - // If you do not specify a key, Backup creates an KMS key for you by default. + // If you don't specify a key, Backup creates an KMS key for you by default. EncryptionKeyArn *string // The Amazon SNS event notifications for the specified backup vault. @@ -6656,7 +6652,7 @@ type AwsEcsServiceDetails struct { // The DAEMON scheduling strategy deploys exactly one task on each active // container instance that meets all of the task placement constraints that are // specified in the cluster. The service scheduler also evaluates the task - // placement constraints for running tasks and stops tasks that do not meet the + // placement constraints for running tasks and stops tasks that don't meet the // placement constraints. // // Valid values: REPLICA | DAEMON @@ -10753,7 +10749,7 @@ type AwsRdsDbInstanceDetails struct { // Oracle // // Contains the Oracle System ID (SID) of the created DB instance. Not shown when - // the returned parameters do not apply to an Oracle DB instance. + // the returned parameters don't apply to an Oracle DB instance. DBName *string // Specifies the port that the DB instance listens on. If the DB instance is part @@ -13243,7 +13239,7 @@ type AwsSecurityFindingFilters struct { ComplianceAssociatedStandardsId []StringFilter // The unique identifier of a control across standards. Values for this field - // typically consist of an Amazon Web Servicesservice and a number, such as + // typically consist of an Amazon Web Services service and a number, such as // APIGateway.5. ComplianceSecurityControlId []StringFilter @@ -13740,7 +13736,7 @@ type AwsSecurityFindingFilters struct { // - Compliance.Status changes from PASSED to FAILED , WARNING , or NOT_AVAILABLE // . // - // - SUPPRESSED - Indicates that you reviewed the finding and do not believe that + // - SUPPRESSED - Indicates that you reviewed the finding and don't believe that // any action is needed. // // The workflow status of a SUPPRESSED finding does not change if RecordState @@ -14781,7 +14777,7 @@ type AwsWafWebAclRule struct { // requests are counted. // // ActivatedRule | OverrideAction applies only when updating or adding a RuleGroup - // to a web ACL. In this case you do not use ActivatedRule Action . For all other + // to a web ACL. In this case you don't use ActivatedRule Action . For all other // update requests, ActivatedRule Action is used instead of ActivatedRule // OverrideAction . OverrideAction *WafOverrideAction @@ -14789,7 +14785,7 @@ type AwsWafWebAclRule struct { // Specifies the order in which the rules in a web ACL are evaluated. Rules with a // lower value for Priority are evaluated before rules with a higher value. The // value must be a unique integer. If you add multiple rules to a web ACL, the - // values do not need to be consecutive. + // values don't need to be consecutive. Priority *int32 // The identifier for a rule. @@ -15048,7 +15044,7 @@ type Compliance struct { RelatedRequirements []string // Typically provides the unique identifier of a control across standards. For - // Security Hub controls, this field consists of an Amazon Web Servicesservice and + // Security Hub controls, this field consists of an Amazon Web Services service and // a unique number, such as APIGateway.5 . SecurityControlId *string @@ -15524,8 +15520,8 @@ type FilePaths struct { noSmithyDocumentSerde } -// A finding aggregator. A finding aggregator contains the configuration for -// finding aggregation. +// A finding aggregator is a Security Hub resource that specifies cross-Region +// aggregation settings, including the home Region and any linked Regions. type FindingAggregator struct { // The ARN of the finding aggregator. You use the finding aggregator ARN to @@ -15556,7 +15552,7 @@ type FindingHistoryRecord struct { NextToken *string // Identifies the source of the event that changed the finding. For example, an - // integrated Amazon Web Servicesservice or third-party partner integration may + // integrated Amazon Web Services service or third-party partner integration may // call [BatchImportFindings]BatchImportFindings , or an Security Hub customer may call [BatchUpdateFindings] // BatchUpdateFindings . // @@ -15625,7 +15621,7 @@ type FindingHistoryUpdateSource struct { Identity *string // Describes the type of finding change event, such as a call to [BatchImportFindings] - // BatchImportFindings (by an integrated Amazon Web Servicesservice or third party + // BatchImportFindings (by an integrated Amazon Web Services service or third party // partner integration) or [BatchUpdateFindings]BatchUpdateFindings (by a Security Hub customer). // // [BatchUpdateFindings]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_BatchUpdateFindings.html @@ -16768,7 +16764,7 @@ type Policy interface { isPolicy() } -// The Amazon Web Servicesservice that the configuration policy applies to. +// The Amazon Web Services service that the configuration policy applies to. type PolicyMemberSecurityHub struct { Value SecurityHubPolicy @@ -17470,7 +17466,7 @@ type RouteSetDetails struct { // The IPv6 CIDR block used for the destination match. DestinationIpv6CidrBlock *string - // The prefix of the destination Amazon Web Servicesservice. + // The prefix of the destination Amazon Web Services service. DestinationPrefixListId *string // The ID of the egress-only internet gateway. @@ -17817,8 +17813,8 @@ type SecurityControl struct { SecurityControlArn *string // The unique identifier of a security control across standards. Values for this - // field typically consist of an Amazon Web Servicesservice name and a number, such - // as APIGateway.3. + // field typically consist of an Amazon Web Services service name and a number, + // such as APIGateway.3. // // This member is required. SecurityControlId *string @@ -17906,7 +17902,7 @@ type SecurityControlDefinition struct { RemediationUrl *string // The unique identifier of a security control across standards. Values for this - // field typically consist of an Amazon Web Servicesservice name and a number (for + // field typically consist of an Amazon Web Services service name and a number (for // example, APIGateway.3). This parameter differs from SecurityControlArn , which // is a unique Amazon Resource Name (ARN) assigned to a control. The ARN references // the security control ID (for example, @@ -18059,7 +18055,7 @@ type Severity struct { // // - CRITICAL - The issue must be remediated immediately to avoid it escalating. // - // If you provide Normalized and do not provide Label , then Label is set + // If you provide Normalized and don't provide Label , then Label is set // automatically as follows. // // - 0 - INFORMATIONAL @@ -18078,7 +18074,7 @@ type Severity struct { // // The value of Normalized can be an integer between 0 and 100 . // - // If you provide Label and do not provide Normalized , then Normalized is set + // If you provide Label and don't provide Normalized , then Normalized is set // automatically as follows. // // - INFORMATIONAL - 0 @@ -18126,7 +18122,7 @@ type SeverityUpdate struct { // The normalized severity for the finding. This attribute is to be deprecated in // favor of Label . // - // If you provide Normalized and do not provide Label , Label is set automatically + // If you provide Normalized and don't provide Label , Label is set automatically // as follows. // // - 0 - INFORMATIONAL @@ -18286,8 +18282,8 @@ type StandardsControlAssociationDetail struct { SecurityControlArn *string // The unique identifier of a security control across standards. Values for this - // field typically consist of an Amazon Web Servicesservice name and a number, such - // as APIGateway.3. + // field typically consist of an Amazon Web Services service name and a number, + // such as APIGateway.3. // // This member is required. SecurityControlId *string @@ -18365,7 +18361,7 @@ type StandardsControlAssociationSummary struct { SecurityControlArn *string // A unique standard-agnostic identifier for a control. Values for this field - // typically consist of an Amazon Web Servicesservice and a number, such as + // typically consist of an Amazon Web Services service and a number, such as // APIGateway.5. This field doesn't reference a specific standard. // // This member is required. @@ -19202,7 +19198,7 @@ type Workflow struct { // issue. Used when the initial reviewer is not the resource owner, and needs // intervention from the resource owner. // - // - SUPPRESSED - Indicates that you reviewed the finding and do not believe that + // - SUPPRESSED - Indicates that you reviewed the finding and don't believe that // any action is needed. The finding is no longer updated. // // - RESOLVED - The finding was reviewed and remediated and is now considered @@ -19239,7 +19235,7 @@ type WorkflowUpdate struct { // - RESOLVED - The finding was reviewed and remediated and is now considered // resolved. // - // - SUPPRESSED - Indicates that you reviewed the finding and do not believe that + // - SUPPRESSED - Indicates that you reviewed the finding and don't believe that // any action is needed. The finding is no longer updated. Status WorkflowStatus diff --git a/service/securitylake/CHANGELOG.md b/service/securitylake/CHANGELOG.md index bb8e3a145ad..1b8b3ea10f6 100644 --- a/service/securitylake/CHANGELOG.md +++ b/service/securitylake/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.3 (2024-09-27) + +* No change notes available for this release. + # v1.17.2 (2024-09-25) * No change notes available for this release. diff --git a/service/securitylake/api_client.go b/service/securitylake/api_client.go index f7a1de299db..a1d609b5a62 100644 --- a/service/securitylake/api_client.go +++ b/service/securitylake/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/securitylake/go_module_metadata.go b/service/securitylake/go_module_metadata.go index 9566a161df8..c7e63998888 100644 --- a/service/securitylake/go_module_metadata.go +++ b/service/securitylake/go_module_metadata.go @@ -3,4 +3,4 @@ package securitylake // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.2" +const goModuleVersion = "1.17.3" diff --git a/service/serverlessapplicationrepository/CHANGELOG.md b/service/serverlessapplicationrepository/CHANGELOG.md index ad6e34ec314..b88fe8819ff 100644 --- a/service/serverlessapplicationrepository/CHANGELOG.md +++ b/service/serverlessapplicationrepository/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/serverlessapplicationrepository/api_client.go b/service/serverlessapplicationrepository/api_client.go index c304ed3e298..aa89dc9c170 100644 --- a/service/serverlessapplicationrepository/api_client.go +++ b/service/serverlessapplicationrepository/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/serverlessapplicationrepository/go_module_metadata.go b/service/serverlessapplicationrepository/go_module_metadata.go index 0d829e93429..260c4d269a6 100644 --- a/service/serverlessapplicationrepository/go_module_metadata.go +++ b/service/serverlessapplicationrepository/go_module_metadata.go @@ -3,4 +3,4 @@ package serverlessapplicationrepository // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/servicecatalog/CHANGELOG.md b/service/servicecatalog/CHANGELOG.md index cee2d537704..e6764299021 100644 --- a/service/servicecatalog/CHANGELOG.md +++ b/service/servicecatalog/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.31.3 (2024-09-27) + +* No change notes available for this release. + # v1.31.2 (2024-09-25) * No change notes available for this release. diff --git a/service/servicecatalog/api_client.go b/service/servicecatalog/api_client.go index c4f38a85de0..340355d6d28 100644 --- a/service/servicecatalog/api_client.go +++ b/service/servicecatalog/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/servicecatalog/go_module_metadata.go b/service/servicecatalog/go_module_metadata.go index 663fa5fed06..40d9e800a94 100644 --- a/service/servicecatalog/go_module_metadata.go +++ b/service/servicecatalog/go_module_metadata.go @@ -3,4 +3,4 @@ package servicecatalog // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.31.2" +const goModuleVersion = "1.31.3" diff --git a/service/servicecatalogappregistry/CHANGELOG.md b/service/servicecatalogappregistry/CHANGELOG.md index 129b16ee3ab..07baa9d0c6d 100644 --- a/service/servicecatalogappregistry/CHANGELOG.md +++ b/service/servicecatalogappregistry/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.29.3 (2024-09-27) + +* No change notes available for this release. + # v1.29.2 (2024-09-25) * No change notes available for this release. diff --git a/service/servicecatalogappregistry/api_client.go b/service/servicecatalogappregistry/api_client.go index 9ed987a4cdb..397c8aaa69a 100644 --- a/service/servicecatalogappregistry/api_client.go +++ b/service/servicecatalogappregistry/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/servicecatalogappregistry/go_module_metadata.go b/service/servicecatalogappregistry/go_module_metadata.go index 09ef9e24601..8634353ff8b 100644 --- a/service/servicecatalogappregistry/go_module_metadata.go +++ b/service/servicecatalogappregistry/go_module_metadata.go @@ -3,4 +3,4 @@ package servicecatalogappregistry // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.29.2" +const goModuleVersion = "1.29.3" diff --git a/service/servicediscovery/CHANGELOG.md b/service/servicediscovery/CHANGELOG.md index 68e4645794c..4237730d35b 100644 --- a/service/servicediscovery/CHANGELOG.md +++ b/service/servicediscovery/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.32.3 (2024-09-27) + +* No change notes available for this release. + # v1.32.2 (2024-09-25) * No change notes available for this release. diff --git a/service/servicediscovery/api_client.go b/service/servicediscovery/api_client.go index a75928e4c3b..97f6e2906ba 100644 --- a/service/servicediscovery/api_client.go +++ b/service/servicediscovery/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/servicediscovery/go_module_metadata.go b/service/servicediscovery/go_module_metadata.go index 8e599f9c2f5..05e2ef75501 100644 --- a/service/servicediscovery/go_module_metadata.go +++ b/service/servicediscovery/go_module_metadata.go @@ -3,4 +3,4 @@ package servicediscovery // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.32.2" +const goModuleVersion = "1.32.3" diff --git a/service/servicequotas/CHANGELOG.md b/service/servicequotas/CHANGELOG.md index 84428159af0..96a5725023d 100644 --- a/service/servicequotas/CHANGELOG.md +++ b/service/servicequotas/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/servicequotas/api_client.go b/service/servicequotas/api_client.go index 0e696e94aac..335ebad0ea3 100644 --- a/service/servicequotas/api_client.go +++ b/service/servicequotas/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/servicequotas/go_module_metadata.go b/service/servicequotas/go_module_metadata.go index dfdfd65f39b..8a44dc129f6 100644 --- a/service/servicequotas/go_module_metadata.go +++ b/service/servicequotas/go_module_metadata.go @@ -3,4 +3,4 @@ package servicequotas // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/ses/CHANGELOG.md b/service/ses/CHANGELOG.md index fc8d707a0f5..efafb7ae918 100644 --- a/service/ses/CHANGELOG.md +++ b/service/ses/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ses/api_client.go b/service/ses/api_client.go index 1f8076d5cba..50cf9a6a341 100644 --- a/service/ses/api_client.go +++ b/service/ses/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ses/go_module_metadata.go b/service/ses/go_module_metadata.go index 73dc3b14c9b..99f688956c7 100644 --- a/service/ses/go_module_metadata.go +++ b/service/ses/go_module_metadata.go @@ -3,4 +3,4 @@ package ses // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/sesv2/CHANGELOG.md b/service/sesv2/CHANGELOG.md index 5ee57ffac42..4b1b3d673a0 100644 --- a/service/sesv2/CHANGELOG.md +++ b/service/sesv2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.35.0 (2024-09-27) + +* **Feature**: This release adds support for engagement tracking over Https using custom domains. + # v1.34.2 (2024-09-25) * No change notes available for this release. diff --git a/service/sesv2/api_client.go b/service/sesv2/api_client.go index d327ac7aacf..30308ad6b41 100644 --- a/service/sesv2/api_client.go +++ b/service/sesv2/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/sesv2/api_op_PutConfigurationSetTrackingOptions.go b/service/sesv2/api_op_PutConfigurationSetTrackingOptions.go index 45809cf82bb..33c3cac4ba4 100644 --- a/service/sesv2/api_op_PutConfigurationSetTrackingOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetTrackingOptions.go @@ -6,6 +6,7 @@ import ( "context" "fmt" awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/sesv2/types" "github.com/aws/smithy-go/middleware" smithyhttp "github.com/aws/smithy-go/transport/http" ) @@ -39,6 +40,13 @@ type PutConfigurationSetTrackingOptionsInput struct { // The domain to use to track open and click events. CustomRedirectDomain *string + // The https policy to use for tracking open and click events. If the value is + // OPTIONAL or HttpsPolicy is not specified, the open trackers use HTTP and click + // tracker use the original protocol of the link. If the value is REQUIRE, both + // open and click tracker uses HTTPS and if the value is REQUIRE_OPEN_ONLY open + // tracker uses HTTPS and link tracker is same as original protocol of the link. + HttpsPolicy types.HttpsPolicy + noSmithyDocumentSerde } diff --git a/service/sesv2/deserializers.go b/service/sesv2/deserializers.go index dc7b96bbd3e..f9cf451de31 100644 --- a/service/sesv2/deserializers.go +++ b/service/sesv2/deserializers.go @@ -19692,6 +19692,15 @@ func awsRestjson1_deserializeDocumentTrackingOptions(v **types.TrackingOptions, sv.CustomRedirectDomain = ptr.String(jtv) } + case "HttpsPolicy": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected HttpsPolicy to be of type string, got %T instead", value) + } + sv.HttpsPolicy = types.HttpsPolicy(jtv) + } + default: _, _ = key, value diff --git a/service/sesv2/go_module_metadata.go b/service/sesv2/go_module_metadata.go index 88a07094c86..530c2d4e915 100644 --- a/service/sesv2/go_module_metadata.go +++ b/service/sesv2/go_module_metadata.go @@ -3,4 +3,4 @@ package sesv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.34.2" +const goModuleVersion = "1.35.0" diff --git a/service/sesv2/serializers.go b/service/sesv2/serializers.go index 8616ea960b6..7a74c4b26e2 100644 --- a/service/sesv2/serializers.go +++ b/service/sesv2/serializers.go @@ -5624,6 +5624,11 @@ func awsRestjson1_serializeOpDocumentPutConfigurationSetTrackingOptionsInput(v * ok.String(*v.CustomRedirectDomain) } + if len(v.HttpsPolicy) > 0 { + ok := object.Key("HttpsPolicy") + ok.String(string(v.HttpsPolicy)) + } + return nil } @@ -9209,6 +9214,11 @@ func awsRestjson1_serializeDocumentTrackingOptions(v *types.TrackingOptions, val ok.String(*v.CustomRedirectDomain) } + if len(v.HttpsPolicy) > 0 { + ok := object.Key("HttpsPolicy") + ok.String(string(v.HttpsPolicy)) + } + return nil } diff --git a/service/sesv2/types/enums.go b/service/sesv2/types/enums.go index 126e5dc84ca..6b312ae8d86 100644 --- a/service/sesv2/types/enums.go +++ b/service/sesv2/types/enums.go @@ -386,6 +386,27 @@ func (FeatureStatus) Values() []FeatureStatus { } } +type HttpsPolicy string + +// Enum values for HttpsPolicy +const ( + HttpsPolicyRequire HttpsPolicy = "REQUIRE" + HttpsPolicyRequireOpenOnly HttpsPolicy = "REQUIRE_OPEN_ONLY" + HttpsPolicyOptional HttpsPolicy = "OPTIONAL" +) + +// Values returns all known values for HttpsPolicy. Note that this can be expanded +// in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (HttpsPolicy) Values() []HttpsPolicy { + return []HttpsPolicy{ + "REQUIRE", + "REQUIRE_OPEN_ONLY", + "OPTIONAL", + } +} + type IdentityType string // Enum values for IdentityType diff --git a/service/sesv2/types/types.go b/service/sesv2/types/types.go index a25c592c428..0f4ac6ecae0 100644 --- a/service/sesv2/types/types.go +++ b/service/sesv2/types/types.go @@ -2256,6 +2256,9 @@ type TrackingOptions struct { // This member is required. CustomRedirectDomain *string + // The https policy to use for tracking open and click events. + HttpsPolicy HttpsPolicy + noSmithyDocumentSerde } diff --git a/service/sfn/CHANGELOG.md b/service/sfn/CHANGELOG.md index 6ec0ee6421b..2a9d57db400 100644 --- a/service/sfn/CHANGELOG.md +++ b/service/sfn/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.32.3 (2024-09-27) + +* No change notes available for this release. + # v1.32.2 (2024-09-25) * No change notes available for this release. diff --git a/service/sfn/api_client.go b/service/sfn/api_client.go index e6005447993..3e6c8d41ed8 100644 --- a/service/sfn/api_client.go +++ b/service/sfn/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/sfn/go_module_metadata.go b/service/sfn/go_module_metadata.go index d36f5667135..6b644a4900b 100644 --- a/service/sfn/go_module_metadata.go +++ b/service/sfn/go_module_metadata.go @@ -3,4 +3,4 @@ package sfn // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.32.2" +const goModuleVersion = "1.32.3" diff --git a/service/shield/CHANGELOG.md b/service/shield/CHANGELOG.md index 024a56fabdb..8b7bd93bddc 100644 --- a/service/shield/CHANGELOG.md +++ b/service/shield/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/shield/api_client.go b/service/shield/api_client.go index 6bf447355c3..2fd5015a98e 100644 --- a/service/shield/api_client.go +++ b/service/shield/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/shield/go_module_metadata.go b/service/shield/go_module_metadata.go index b7212fc988e..38443e30d28 100644 --- a/service/shield/go_module_metadata.go +++ b/service/shield/go_module_metadata.go @@ -3,4 +3,4 @@ package shield // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/signer/CHANGELOG.md b/service/signer/CHANGELOG.md index 29bf0229563..14a07eb6335 100644 --- a/service/signer/CHANGELOG.md +++ b/service/signer/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/signer/api_client.go b/service/signer/api_client.go index 67dd7df91d0..afb19354e88 100644 --- a/service/signer/api_client.go +++ b/service/signer/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/signer/go_module_metadata.go b/service/signer/go_module_metadata.go index 653224cc184..9718c0a2373 100644 --- a/service/signer/go_module_metadata.go +++ b/service/signer/go_module_metadata.go @@ -3,4 +3,4 @@ package signer // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/simspaceweaver/CHANGELOG.md b/service/simspaceweaver/CHANGELOG.md index 58d8e85e534..b4b7bc9096e 100644 --- a/service/simspaceweaver/CHANGELOG.md +++ b/service/simspaceweaver/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.13.3 (2024-09-27) + +* No change notes available for this release. + # v1.13.2 (2024-09-25) * No change notes available for this release. diff --git a/service/simspaceweaver/api_client.go b/service/simspaceweaver/api_client.go index b2b2b67ccf4..5c3fe117086 100644 --- a/service/simspaceweaver/api_client.go +++ b/service/simspaceweaver/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/simspaceweaver/go_module_metadata.go b/service/simspaceweaver/go_module_metadata.go index a46911e2ad3..a34c5c0a676 100644 --- a/service/simspaceweaver/go_module_metadata.go +++ b/service/simspaceweaver/go_module_metadata.go @@ -3,4 +3,4 @@ package simspaceweaver // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.2" +const goModuleVersion = "1.13.3" diff --git a/service/sms/CHANGELOG.md b/service/sms/CHANGELOG.md index af57cb43702..8f8e089e54a 100644 --- a/service/sms/CHANGELOG.md +++ b/service/sms/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/sms/api_client.go b/service/sms/api_client.go index 12b6f2ef8d1..32a303ac3bf 100644 --- a/service/sms/api_client.go +++ b/service/sms/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/sms/go_module_metadata.go b/service/sms/go_module_metadata.go index eb7d17953f7..5a497ec3bdb 100644 --- a/service/sms/go_module_metadata.go +++ b/service/sms/go_module_metadata.go @@ -3,4 +3,4 @@ package sms // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/snowball/CHANGELOG.md b/service/snowball/CHANGELOG.md index a1eb46920fc..bdd2e5f164b 100644 --- a/service/snowball/CHANGELOG.md +++ b/service/snowball/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.29.3 (2024-09-27) + +* No change notes available for this release. + # v1.29.2 (2024-09-25) * No change notes available for this release. diff --git a/service/snowball/api_client.go b/service/snowball/api_client.go index 911f664b1d2..a4554e7a555 100644 --- a/service/snowball/api_client.go +++ b/service/snowball/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/snowball/go_module_metadata.go b/service/snowball/go_module_metadata.go index 87d6f6f125a..257ed20b3c9 100644 --- a/service/snowball/go_module_metadata.go +++ b/service/snowball/go_module_metadata.go @@ -3,4 +3,4 @@ package snowball // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.29.2" +const goModuleVersion = "1.29.3" diff --git a/service/snowdevicemanagement/CHANGELOG.md b/service/snowdevicemanagement/CHANGELOG.md index b699e59e2b3..b193accbce2 100644 --- a/service/snowdevicemanagement/CHANGELOG.md +++ b/service/snowdevicemanagement/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.19.3 (2024-09-27) + +* No change notes available for this release. + # v1.19.2 (2024-09-25) * No change notes available for this release. diff --git a/service/snowdevicemanagement/api_client.go b/service/snowdevicemanagement/api_client.go index ea97dfd04e0..2583f155ea9 100644 --- a/service/snowdevicemanagement/api_client.go +++ b/service/snowdevicemanagement/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/snowdevicemanagement/go_module_metadata.go b/service/snowdevicemanagement/go_module_metadata.go index f68891ee1b5..d30990e3c91 100644 --- a/service/snowdevicemanagement/go_module_metadata.go +++ b/service/snowdevicemanagement/go_module_metadata.go @@ -3,4 +3,4 @@ package snowdevicemanagement // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.2" +const goModuleVersion = "1.19.3" diff --git a/service/sns/CHANGELOG.md b/service/sns/CHANGELOG.md index 7c4f87c0fcf..977ee42b8b9 100644 --- a/service/sns/CHANGELOG.md +++ b/service/sns/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.32.3 (2024-09-27) + +* No change notes available for this release. + # v1.32.2 (2024-09-25) * No change notes available for this release. diff --git a/service/sns/api_client.go b/service/sns/api_client.go index 41a17f508d8..e6250c8657a 100644 --- a/service/sns/api_client.go +++ b/service/sns/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/sns/go_module_metadata.go b/service/sns/go_module_metadata.go index 603cc490b3f..2de1315349b 100644 --- a/service/sns/go_module_metadata.go +++ b/service/sns/go_module_metadata.go @@ -3,4 +3,4 @@ package sns // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.32.2" +const goModuleVersion = "1.32.3" diff --git a/service/sqs/CHANGELOG.md b/service/sqs/CHANGELOG.md index f8ffd04e666..59872de21f6 100644 --- a/service/sqs/CHANGELOG.md +++ b/service/sqs/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.35.3 (2024-09-27) + +* No change notes available for this release. + # v1.35.2 (2024-09-25) * No change notes available for this release. diff --git a/service/sqs/api_client.go b/service/sqs/api_client.go index 36b7ac52846..05ec0ab7403 100644 --- a/service/sqs/api_client.go +++ b/service/sqs/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/sqs/go_module_metadata.go b/service/sqs/go_module_metadata.go index 105dae80d1b..18bff812546 100644 --- a/service/sqs/go_module_metadata.go +++ b/service/sqs/go_module_metadata.go @@ -3,4 +3,4 @@ package sqs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.35.2" +const goModuleVersion = "1.35.3" diff --git a/service/ssm/CHANGELOG.md b/service/ssm/CHANGELOG.md index 0cee3e4ac3f..85f9f2cb11b 100644 --- a/service/ssm/CHANGELOG.md +++ b/service/ssm/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.54.3 (2024-09-27) + +* No change notes available for this release. + # v1.54.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ssm/api_client.go b/service/ssm/api_client.go index 6b40e85ed1f..a158aa729e9 100644 --- a/service/ssm/api_client.go +++ b/service/ssm/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ssm/go_module_metadata.go b/service/ssm/go_module_metadata.go index 5bba213540a..3e0fcb778d1 100644 --- a/service/ssm/go_module_metadata.go +++ b/service/ssm/go_module_metadata.go @@ -3,4 +3,4 @@ package ssm // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.54.2" +const goModuleVersion = "1.54.3" diff --git a/service/ssmcontacts/CHANGELOG.md b/service/ssmcontacts/CHANGELOG.md index dd04a69d7c8..1da2feec7e5 100644 --- a/service/ssmcontacts/CHANGELOG.md +++ b/service/ssmcontacts/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ssmcontacts/api_client.go b/service/ssmcontacts/api_client.go index 050200a5422..fe111807e8c 100644 --- a/service/ssmcontacts/api_client.go +++ b/service/ssmcontacts/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ssmcontacts/go_module_metadata.go b/service/ssmcontacts/go_module_metadata.go index 10b8720ee58..08bc09761e9 100644 --- a/service/ssmcontacts/go_module_metadata.go +++ b/service/ssmcontacts/go_module_metadata.go @@ -3,4 +3,4 @@ package ssmcontacts // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/ssmincidents/CHANGELOG.md b/service/ssmincidents/CHANGELOG.md index 1d0b30eec72..5c564484824 100644 --- a/service/ssmincidents/CHANGELOG.md +++ b/service/ssmincidents/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.33.3 (2024-09-27) + +* No change notes available for this release. + # v1.33.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ssmincidents/api_client.go b/service/ssmincidents/api_client.go index 65da058d8e8..01bec53c3d3 100644 --- a/service/ssmincidents/api_client.go +++ b/service/ssmincidents/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ssmincidents/go_module_metadata.go b/service/ssmincidents/go_module_metadata.go index c8362155cd2..0f440340c19 100644 --- a/service/ssmincidents/go_module_metadata.go +++ b/service/ssmincidents/go_module_metadata.go @@ -3,4 +3,4 @@ package ssmincidents // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.33.2" +const goModuleVersion = "1.33.3" diff --git a/service/ssmquicksetup/CHANGELOG.md b/service/ssmquicksetup/CHANGELOG.md index ed821e2dc7f..28537f585cd 100644 --- a/service/ssmquicksetup/CHANGELOG.md +++ b/service/ssmquicksetup/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.1.3 (2024-09-27) + +* No change notes available for this release. + # v1.1.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ssmquicksetup/api_client.go b/service/ssmquicksetup/api_client.go index 8586422c010..e3099ceca90 100644 --- a/service/ssmquicksetup/api_client.go +++ b/service/ssmquicksetup/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ssmquicksetup/go_module_metadata.go b/service/ssmquicksetup/go_module_metadata.go index 60bff45d7b1..cc92bab0b74 100644 --- a/service/ssmquicksetup/go_module_metadata.go +++ b/service/ssmquicksetup/go_module_metadata.go @@ -3,4 +3,4 @@ package ssmquicksetup // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.1.2" +const goModuleVersion = "1.1.3" diff --git a/service/ssmsap/CHANGELOG.md b/service/ssmsap/CHANGELOG.md index 99a675aeef6..6300d284f73 100644 --- a/service/ssmsap/CHANGELOG.md +++ b/service/ssmsap/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.17.3 (2024-09-27) + +* No change notes available for this release. + # v1.17.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ssmsap/api_client.go b/service/ssmsap/api_client.go index c85e9e895c5..99f95d5ad0f 100644 --- a/service/ssmsap/api_client.go +++ b/service/ssmsap/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ssmsap/go_module_metadata.go b/service/ssmsap/go_module_metadata.go index 028ab8049e2..e96626a12be 100644 --- a/service/ssmsap/go_module_metadata.go +++ b/service/ssmsap/go_module_metadata.go @@ -3,4 +3,4 @@ package ssmsap // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.17.2" +const goModuleVersion = "1.17.3" diff --git a/service/sso/CHANGELOG.md b/service/sso/CHANGELOG.md index 4c645319e7e..354e7da591c 100644 --- a/service/sso/CHANGELOG.md +++ b/service/sso/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/sso/api_client.go b/service/sso/api_client.go index fe8e46769da..274b15275be 100644 --- a/service/sso/api_client.go +++ b/service/sso/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/sso/go_module_metadata.go b/service/sso/go_module_metadata.go index 6e8bd72d615..b1adc4d07d8 100644 --- a/service/sso/go_module_metadata.go +++ b/service/sso/go_module_metadata.go @@ -3,4 +3,4 @@ package sso // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/ssoadmin/CHANGELOG.md b/service/ssoadmin/CHANGELOG.md index 75c34d9365e..58077293667 100644 --- a/service/ssoadmin/CHANGELOG.md +++ b/service/ssoadmin/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ssoadmin/api_client.go b/service/ssoadmin/api_client.go index e4bbb0fcc89..3cb3165abb0 100644 --- a/service/ssoadmin/api_client.go +++ b/service/ssoadmin/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ssoadmin/go_module_metadata.go b/service/ssoadmin/go_module_metadata.go index 7cfd226f1c1..96cb1c10ded 100644 --- a/service/ssoadmin/go_module_metadata.go +++ b/service/ssoadmin/go_module_metadata.go @@ -3,4 +3,4 @@ package ssoadmin // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/ssooidc/CHANGELOG.md b/service/ssooidc/CHANGELOG.md index 5616e31a211..f8e6d7b3aa3 100644 --- a/service/ssooidc/CHANGELOG.md +++ b/service/ssooidc/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/ssooidc/api_client.go b/service/ssooidc/api_client.go index aa1f3ab3160..16c908212ed 100644 --- a/service/ssooidc/api_client.go +++ b/service/ssooidc/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/ssooidc/go_module_metadata.go b/service/ssooidc/go_module_metadata.go index 5d5d5086bc6..e31a28ff7fb 100644 --- a/service/ssooidc/go_module_metadata.go +++ b/service/ssooidc/go_module_metadata.go @@ -3,4 +3,4 @@ package ssooidc // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/storagegateway/CHANGELOG.md b/service/storagegateway/CHANGELOG.md index 597d418c0e1..8574f7b76b4 100644 --- a/service/storagegateway/CHANGELOG.md +++ b/service/storagegateway/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.33.3 (2024-09-27) + +* No change notes available for this release. + # v1.33.2 (2024-09-25) * No change notes available for this release. diff --git a/service/storagegateway/api_client.go b/service/storagegateway/api_client.go index fb7a8f363c9..e1f04b74cac 100644 --- a/service/storagegateway/api_client.go +++ b/service/storagegateway/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/storagegateway/go_module_metadata.go b/service/storagegateway/go_module_metadata.go index 54645560174..af259808b11 100644 --- a/service/storagegateway/go_module_metadata.go +++ b/service/storagegateway/go_module_metadata.go @@ -3,4 +3,4 @@ package storagegateway // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.33.2" +const goModuleVersion = "1.33.3" diff --git a/service/sts/CHANGELOG.md b/service/sts/CHANGELOG.md index bdfacaa0931..d7151090ba3 100644 --- a/service/sts/CHANGELOG.md +++ b/service/sts/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.31.3 (2024-09-27) + +* No change notes available for this release. + # v1.31.2 (2024-09-25) * No change notes available for this release. diff --git a/service/sts/api_client.go b/service/sts/api_client.go index 0df1bddf741..4425ba95c49 100644 --- a/service/sts/api_client.go +++ b/service/sts/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/sts/go_module_metadata.go b/service/sts/go_module_metadata.go index b16a2c258fd..0f759930fdb 100644 --- a/service/sts/go_module_metadata.go +++ b/service/sts/go_module_metadata.go @@ -3,4 +3,4 @@ package sts // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.31.2" +const goModuleVersion = "1.31.3" diff --git a/service/supplychain/CHANGELOG.md b/service/supplychain/CHANGELOG.md index 33bbe28be98..b12d90b0a33 100644 --- a/service/supplychain/CHANGELOG.md +++ b/service/supplychain/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.6.3 (2024-09-27) + +* No change notes available for this release. + # v1.6.2 (2024-09-25) * No change notes available for this release. diff --git a/service/supplychain/api_client.go b/service/supplychain/api_client.go index 7c89ddee9bc..826d80a922f 100644 --- a/service/supplychain/api_client.go +++ b/service/supplychain/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/supplychain/go_module_metadata.go b/service/supplychain/go_module_metadata.go index 6b22503e5c7..183decc610f 100644 --- a/service/supplychain/go_module_metadata.go +++ b/service/supplychain/go_module_metadata.go @@ -3,4 +3,4 @@ package supplychain // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.6.2" +const goModuleVersion = "1.6.3" diff --git a/service/support/CHANGELOG.md b/service/support/CHANGELOG.md index 9aaba6c08ae..75bbe9826ed 100644 --- a/service/support/CHANGELOG.md +++ b/service/support/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.25.3 (2024-09-27) + +* No change notes available for this release. + # v1.25.2 (2024-09-25) * No change notes available for this release. diff --git a/service/support/api_client.go b/service/support/api_client.go index 45ad983e850..45c9184fcbf 100644 --- a/service/support/api_client.go +++ b/service/support/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/support/go_module_metadata.go b/service/support/go_module_metadata.go index 8ea918e2f49..e63ad370001 100644 --- a/service/support/go_module_metadata.go +++ b/service/support/go_module_metadata.go @@ -3,4 +3,4 @@ package support // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.25.2" +const goModuleVersion = "1.25.3" diff --git a/service/supportapp/CHANGELOG.md b/service/supportapp/CHANGELOG.md index 3dbfa21976e..f56fdaae2cf 100644 --- a/service/supportapp/CHANGELOG.md +++ b/service/supportapp/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.3 (2024-09-27) + +* No change notes available for this release. + # v1.12.2 (2024-09-25) * No change notes available for this release. diff --git a/service/supportapp/api_client.go b/service/supportapp/api_client.go index 6483740eebd..1ccd637e9c4 100644 --- a/service/supportapp/api_client.go +++ b/service/supportapp/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/supportapp/go_module_metadata.go b/service/supportapp/go_module_metadata.go index 85ccad28699..8bf6b1903e4 100644 --- a/service/supportapp/go_module_metadata.go +++ b/service/supportapp/go_module_metadata.go @@ -3,4 +3,4 @@ package supportapp // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.2" +const goModuleVersion = "1.12.3" diff --git a/service/swf/CHANGELOG.md b/service/swf/CHANGELOG.md index 7f1c948eb69..8b19661352e 100644 --- a/service/swf/CHANGELOG.md +++ b/service/swf/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/swf/api_client.go b/service/swf/api_client.go index 3be2b612c85..088d2ce10f5 100644 --- a/service/swf/api_client.go +++ b/service/swf/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/swf/go_module_metadata.go b/service/swf/go_module_metadata.go index 23bc164cd03..67d04b1ff61 100644 --- a/service/swf/go_module_metadata.go +++ b/service/swf/go_module_metadata.go @@ -3,4 +3,4 @@ package swf // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/synthetics/CHANGELOG.md b/service/synthetics/CHANGELOG.md index 3795bf5f556..90d8acbb1a1 100644 --- a/service/synthetics/CHANGELOG.md +++ b/service/synthetics/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/synthetics/api_client.go b/service/synthetics/api_client.go index 05f9f1b9309..724c5dd6cb7 100644 --- a/service/synthetics/api_client.go +++ b/service/synthetics/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/synthetics/go_module_metadata.go b/service/synthetics/go_module_metadata.go index b4f3b63d687..d60750c2635 100644 --- a/service/synthetics/go_module_metadata.go +++ b/service/synthetics/go_module_metadata.go @@ -3,4 +3,4 @@ package synthetics // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/taxsettings/CHANGELOG.md b/service/taxsettings/CHANGELOG.md index acdc66aa60f..01083cf16a8 100644 --- a/service/taxsettings/CHANGELOG.md +++ b/service/taxsettings/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.4.3 (2024-09-27) + +* No change notes available for this release. + # v1.4.2 (2024-09-25) * No change notes available for this release. diff --git a/service/taxsettings/api_client.go b/service/taxsettings/api_client.go index 84c53df3cd9..0230dd6e673 100644 --- a/service/taxsettings/api_client.go +++ b/service/taxsettings/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/taxsettings/go_module_metadata.go b/service/taxsettings/go_module_metadata.go index 7c8b35484b7..3158d4dec33 100644 --- a/service/taxsettings/go_module_metadata.go +++ b/service/taxsettings/go_module_metadata.go @@ -3,4 +3,4 @@ package taxsettings // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.4.2" +const goModuleVersion = "1.4.3" diff --git a/service/textract/CHANGELOG.md b/service/textract/CHANGELOG.md index f5e0728ceec..44204e5e2a3 100644 --- a/service/textract/CHANGELOG.md +++ b/service/textract/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.33.3 (2024-09-27) + +* No change notes available for this release. + # v1.33.2 (2024-09-25) * No change notes available for this release. diff --git a/service/textract/api_client.go b/service/textract/api_client.go index 73343db7873..721ee510e62 100644 --- a/service/textract/api_client.go +++ b/service/textract/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/textract/go_module_metadata.go b/service/textract/go_module_metadata.go index ddbc1d30347..5307a9a1d1c 100644 --- a/service/textract/go_module_metadata.go +++ b/service/textract/go_module_metadata.go @@ -3,4 +3,4 @@ package textract // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.33.2" +const goModuleVersion = "1.33.3" diff --git a/service/timestreaminfluxdb/CHANGELOG.md b/service/timestreaminfluxdb/CHANGELOG.md index 59279eaec6b..ec6ecf2d381 100644 --- a/service/timestreaminfluxdb/CHANGELOG.md +++ b/service/timestreaminfluxdb/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.4.3 (2024-09-27) + +* No change notes available for this release. + # v1.4.2 (2024-09-25) * No change notes available for this release. diff --git a/service/timestreaminfluxdb/api_client.go b/service/timestreaminfluxdb/api_client.go index 9d9ae0b35b9..6f947d237e5 100644 --- a/service/timestreaminfluxdb/api_client.go +++ b/service/timestreaminfluxdb/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/timestreaminfluxdb/go_module_metadata.go b/service/timestreaminfluxdb/go_module_metadata.go index 78ce95bc2e3..4cfdb856093 100644 --- a/service/timestreaminfluxdb/go_module_metadata.go +++ b/service/timestreaminfluxdb/go_module_metadata.go @@ -3,4 +3,4 @@ package timestreaminfluxdb // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.4.2" +const goModuleVersion = "1.4.3" diff --git a/service/timestreamquery/CHANGELOG.md b/service/timestreamquery/CHANGELOG.md index 4ce5b03a488..57f323d9820 100644 --- a/service/timestreamquery/CHANGELOG.md +++ b/service/timestreamquery/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/timestreamquery/api_client.go b/service/timestreamquery/api_client.go index b412ceeef3d..a75e8c7f871 100644 --- a/service/timestreamquery/api_client.go +++ b/service/timestreamquery/api_client.go @@ -199,10 +199,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/timestreamquery/go_module_metadata.go b/service/timestreamquery/go_module_metadata.go index bbb2cb2310f..07fc0cd317c 100644 --- a/service/timestreamquery/go_module_metadata.go +++ b/service/timestreamquery/go_module_metadata.go @@ -3,4 +3,4 @@ package timestreamquery // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/timestreamwrite/CHANGELOG.md b/service/timestreamwrite/CHANGELOG.md index 823126378fd..9f07f8a1900 100644 --- a/service/timestreamwrite/CHANGELOG.md +++ b/service/timestreamwrite/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/timestreamwrite/api_client.go b/service/timestreamwrite/api_client.go index 97b233603f3..0365e75bea3 100644 --- a/service/timestreamwrite/api_client.go +++ b/service/timestreamwrite/api_client.go @@ -199,10 +199,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/timestreamwrite/go_module_metadata.go b/service/timestreamwrite/go_module_metadata.go index 3e778c3236d..6a0ac1eef06 100644 --- a/service/timestreamwrite/go_module_metadata.go +++ b/service/timestreamwrite/go_module_metadata.go @@ -3,4 +3,4 @@ package timestreamwrite // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/tnb/CHANGELOG.md b/service/tnb/CHANGELOG.md index 7298875fe0d..3a2265ef2fe 100644 --- a/service/tnb/CHANGELOG.md +++ b/service/tnb/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.12.3 (2024-09-27) + +* No change notes available for this release. + # v1.12.2 (2024-09-25) * No change notes available for this release. diff --git a/service/tnb/api_client.go b/service/tnb/api_client.go index 9137543d45c..5aea60fdd13 100644 --- a/service/tnb/api_client.go +++ b/service/tnb/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/tnb/go_module_metadata.go b/service/tnb/go_module_metadata.go index df2ae9ecbdc..d9ec18308bb 100644 --- a/service/tnb/go_module_metadata.go +++ b/service/tnb/go_module_metadata.go @@ -3,4 +3,4 @@ package tnb // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.12.2" +const goModuleVersion = "1.12.3" diff --git a/service/transcribe/CHANGELOG.md b/service/transcribe/CHANGELOG.md index 3897b8581a6..fb6cbca90d7 100644 --- a/service/transcribe/CHANGELOG.md +++ b/service/transcribe/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.40.3 (2024-09-27) + +* No change notes available for this release. + # v1.40.2 (2024-09-25) * No change notes available for this release. diff --git a/service/transcribe/api_client.go b/service/transcribe/api_client.go index d25e12fab6c..9983380dd43 100644 --- a/service/transcribe/api_client.go +++ b/service/transcribe/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/transcribe/go_module_metadata.go b/service/transcribe/go_module_metadata.go index 96ff1d3627b..a84b47fad4d 100644 --- a/service/transcribe/go_module_metadata.go +++ b/service/transcribe/go_module_metadata.go @@ -3,4 +3,4 @@ package transcribe // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.40.2" +const goModuleVersion = "1.40.3" diff --git a/service/transcribestreaming/CHANGELOG.md b/service/transcribestreaming/CHANGELOG.md index e59d8759dc4..307df1a7d89 100644 --- a/service/transcribestreaming/CHANGELOG.md +++ b/service/transcribestreaming/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.20.3 (2024-09-27) + +* No change notes available for this release. + # v1.20.2 (2024-09-25) * No change notes available for this release. diff --git a/service/transcribestreaming/api_client.go b/service/transcribestreaming/api_client.go index 7a48b04fdda..0c2fc14292e 100644 --- a/service/transcribestreaming/api_client.go +++ b/service/transcribestreaming/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/transcribestreaming/go_module_metadata.go b/service/transcribestreaming/go_module_metadata.go index 4fef4830507..269e594bd22 100644 --- a/service/transcribestreaming/go_module_metadata.go +++ b/service/transcribestreaming/go_module_metadata.go @@ -3,4 +3,4 @@ package transcribestreaming // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.20.2" +const goModuleVersion = "1.20.3" diff --git a/service/transcribestreaming/internal/testing/go.mod b/service/transcribestreaming/internal/testing/go.mod index bc00b1dd151..341524735a2 100644 --- a/service/transcribestreaming/internal/testing/go.mod +++ b/service/transcribestreaming/internal/testing/go.mod @@ -5,13 +5,13 @@ go 1.21 require ( github.com/aws/aws-sdk-go-v2 v1.31.0 github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.5 - github.com/aws/aws-sdk-go-v2/service/internal/eventstreamtesting v1.4.23 - github.com/aws/aws-sdk-go-v2/service/transcribestreaming v1.20.2 + github.com/aws/aws-sdk-go-v2/service/internal/eventstreamtesting v1.4.24 + github.com/aws/aws-sdk-go-v2/service/transcribestreaming v1.20.3 github.com/aws/smithy-go v1.21.0 ) require ( - github.com/aws/aws-sdk-go-v2/credentials v1.17.36 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.17.37 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect ) diff --git a/service/transfer/CHANGELOG.md b/service/transfer/CHANGELOG.md index c38217b5429..3da40618227 100644 --- a/service/transfer/CHANGELOG.md +++ b/service/transfer/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.51.3 (2024-09-27) + +* No change notes available for this release. + # v1.51.2 (2024-09-25) * No change notes available for this release. diff --git a/service/transfer/api_client.go b/service/transfer/api_client.go index d1fd72abdb4..e6f7981036d 100644 --- a/service/transfer/api_client.go +++ b/service/transfer/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/transfer/go_module_metadata.go b/service/transfer/go_module_metadata.go index d83915b3e51..28e57dc450e 100644 --- a/service/transfer/go_module_metadata.go +++ b/service/transfer/go_module_metadata.go @@ -3,4 +3,4 @@ package transfer // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.51.2" +const goModuleVersion = "1.51.3" diff --git a/service/translate/CHANGELOG.md b/service/translate/CHANGELOG.md index c049a22995c..ce1c3b9e02f 100644 --- a/service/translate/CHANGELOG.md +++ b/service/translate/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.27.3 (2024-09-27) + +* No change notes available for this release. + # v1.27.2 (2024-09-25) * No change notes available for this release. diff --git a/service/translate/api_client.go b/service/translate/api_client.go index b50023d3001..7e7b173b0b0 100644 --- a/service/translate/api_client.go +++ b/service/translate/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/translate/go_module_metadata.go b/service/translate/go_module_metadata.go index d8680aaa3f5..19136cc8972 100644 --- a/service/translate/go_module_metadata.go +++ b/service/translate/go_module_metadata.go @@ -3,4 +3,4 @@ package translate // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.2" +const goModuleVersion = "1.27.3" diff --git a/service/trustedadvisor/CHANGELOG.md b/service/trustedadvisor/CHANGELOG.md index 249b1881e44..4c7938e274d 100644 --- a/service/trustedadvisor/CHANGELOG.md +++ b/service/trustedadvisor/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.7.3 (2024-09-27) + +* No change notes available for this release. + # v1.7.2 (2024-09-25) * No change notes available for this release. diff --git a/service/trustedadvisor/api_client.go b/service/trustedadvisor/api_client.go index 1f51ebb0ead..1a5d9dbea07 100644 --- a/service/trustedadvisor/api_client.go +++ b/service/trustedadvisor/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/trustedadvisor/go_module_metadata.go b/service/trustedadvisor/go_module_metadata.go index 7a35661b02e..28933cd4fa4 100644 --- a/service/trustedadvisor/go_module_metadata.go +++ b/service/trustedadvisor/go_module_metadata.go @@ -3,4 +3,4 @@ package trustedadvisor // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.7.2" +const goModuleVersion = "1.7.3" diff --git a/service/verifiedpermissions/CHANGELOG.md b/service/verifiedpermissions/CHANGELOG.md index 87754d3f769..c98b96ee4b3 100644 --- a/service/verifiedpermissions/CHANGELOG.md +++ b/service/verifiedpermissions/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.18.3 (2024-09-27) + +* No change notes available for this release. + # v1.18.2 (2024-09-25) * No change notes available for this release. diff --git a/service/verifiedpermissions/api_client.go b/service/verifiedpermissions/api_client.go index 39eaa6c326d..9910f7c3fa7 100644 --- a/service/verifiedpermissions/api_client.go +++ b/service/verifiedpermissions/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/verifiedpermissions/go_module_metadata.go b/service/verifiedpermissions/go_module_metadata.go index 740b0db2bbd..80d656d4444 100644 --- a/service/verifiedpermissions/go_module_metadata.go +++ b/service/verifiedpermissions/go_module_metadata.go @@ -3,4 +3,4 @@ package verifiedpermissions // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.2" +const goModuleVersion = "1.18.3" diff --git a/service/voiceid/CHANGELOG.md b/service/voiceid/CHANGELOG.md index 4cc790de6b1..238b8468755 100644 --- a/service/voiceid/CHANGELOG.md +++ b/service/voiceid/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/voiceid/api_client.go b/service/voiceid/api_client.go index 2240040f1cf..31ed35a05fd 100644 --- a/service/voiceid/api_client.go +++ b/service/voiceid/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/voiceid/go_module_metadata.go b/service/voiceid/go_module_metadata.go index 49eefe22d12..0a876150f9c 100644 --- a/service/voiceid/go_module_metadata.go +++ b/service/voiceid/go_module_metadata.go @@ -3,4 +3,4 @@ package voiceid // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/vpclattice/CHANGELOG.md b/service/vpclattice/CHANGELOG.md index ec6c6d6cd16..dca1779c1a5 100644 --- a/service/vpclattice/CHANGELOG.md +++ b/service/vpclattice/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.11.3 (2024-09-27) + +* No change notes available for this release. + # v1.11.2 (2024-09-25) * No change notes available for this release. diff --git a/service/vpclattice/api_client.go b/service/vpclattice/api_client.go index 27d64cb7987..9995a9cccb1 100644 --- a/service/vpclattice/api_client.go +++ b/service/vpclattice/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/vpclattice/go_module_metadata.go b/service/vpclattice/go_module_metadata.go index 93bc775315f..e8e46496ff5 100644 --- a/service/vpclattice/go_module_metadata.go +++ b/service/vpclattice/go_module_metadata.go @@ -3,4 +3,4 @@ package vpclattice // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.11.2" +const goModuleVersion = "1.11.3" diff --git a/service/waf/CHANGELOG.md b/service/waf/CHANGELOG.md index c4ad6cb777e..c2565f0062c 100644 --- a/service/waf/CHANGELOG.md +++ b/service/waf/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/waf/api_client.go b/service/waf/api_client.go index 21d6abfc5bc..18b95f3a65a 100644 --- a/service/waf/api_client.go +++ b/service/waf/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/waf/go_module_metadata.go b/service/waf/go_module_metadata.go index 2139b577bac..ceb2478ad70 100644 --- a/service/waf/go_module_metadata.go +++ b/service/waf/go_module_metadata.go @@ -3,4 +3,4 @@ package waf // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/wafregional/CHANGELOG.md b/service/wafregional/CHANGELOG.md index 5d4615f31e4..a6331c35334 100644 --- a/service/wafregional/CHANGELOG.md +++ b/service/wafregional/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/wafregional/api_client.go b/service/wafregional/api_client.go index fb153e4f869..32d6ecb618d 100644 --- a/service/wafregional/api_client.go +++ b/service/wafregional/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/wafregional/go_module_metadata.go b/service/wafregional/go_module_metadata.go index 136d797700d..c4328bc32ee 100644 --- a/service/wafregional/go_module_metadata.go +++ b/service/wafregional/go_module_metadata.go @@ -3,4 +3,4 @@ package wafregional // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/wafv2/CHANGELOG.md b/service/wafv2/CHANGELOG.md index 97085bb419e..0a6aa19ce55 100644 --- a/service/wafv2/CHANGELOG.md +++ b/service/wafv2/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.53.3 (2024-09-27) + +* No change notes available for this release. + # v1.53.2 (2024-09-25) * No change notes available for this release. diff --git a/service/wafv2/api_client.go b/service/wafv2/api_client.go index 016612af0cc..eb240619974 100644 --- a/service/wafv2/api_client.go +++ b/service/wafv2/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/wafv2/go_module_metadata.go b/service/wafv2/go_module_metadata.go index f7cd5908f9a..21ef9e5f591 100644 --- a/service/wafv2/go_module_metadata.go +++ b/service/wafv2/go_module_metadata.go @@ -3,4 +3,4 @@ package wafv2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.53.2" +const goModuleVersion = "1.53.3" diff --git a/service/wellarchitected/CHANGELOG.md b/service/wellarchitected/CHANGELOG.md index ddea48ec17b..66d516b2ea6 100644 --- a/service/wellarchitected/CHANGELOG.md +++ b/service/wellarchitected/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.33.3 (2024-09-27) + +* No change notes available for this release. + # v1.33.2 (2024-09-25) * No change notes available for this release. diff --git a/service/wellarchitected/api_client.go b/service/wellarchitected/api_client.go index 401e5f56c02..c2168d6fc4e 100644 --- a/service/wellarchitected/api_client.go +++ b/service/wellarchitected/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/wellarchitected/go_module_metadata.go b/service/wellarchitected/go_module_metadata.go index c8c80fe0287..4f4167ee395 100644 --- a/service/wellarchitected/go_module_metadata.go +++ b/service/wellarchitected/go_module_metadata.go @@ -3,4 +3,4 @@ package wellarchitected // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.33.2" +const goModuleVersion = "1.33.3" diff --git a/service/wisdom/CHANGELOG.md b/service/wisdom/CHANGELOG.md index 5ae069df5f3..e20e4fadac0 100644 --- a/service/wisdom/CHANGELOG.md +++ b/service/wisdom/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.26.3 (2024-09-27) + +* No change notes available for this release. + # v1.26.2 (2024-09-25) * No change notes available for this release. diff --git a/service/wisdom/api_client.go b/service/wisdom/api_client.go index 4f031414e01..13dc35acc1f 100644 --- a/service/wisdom/api_client.go +++ b/service/wisdom/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/wisdom/go_module_metadata.go b/service/wisdom/go_module_metadata.go index 2ca11050463..f42b05f8e4b 100644 --- a/service/wisdom/go_module_metadata.go +++ b/service/wisdom/go_module_metadata.go @@ -3,4 +3,4 @@ package wisdom // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.26.2" +const goModuleVersion = "1.26.3" diff --git a/service/workdocs/CHANGELOG.md b/service/workdocs/CHANGELOG.md index a84d3f31c47..7829e51835f 100644 --- a/service/workdocs/CHANGELOG.md +++ b/service/workdocs/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.24.3 (2024-09-27) + +* No change notes available for this release. + # v1.24.2 (2024-09-25) * No change notes available for this release. diff --git a/service/workdocs/api_client.go b/service/workdocs/api_client.go index 03564076071..6b9f17e22e9 100644 --- a/service/workdocs/api_client.go +++ b/service/workdocs/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/workdocs/go_module_metadata.go b/service/workdocs/go_module_metadata.go index 2fdd787abab..a454f78b93e 100644 --- a/service/workdocs/go_module_metadata.go +++ b/service/workdocs/go_module_metadata.go @@ -3,4 +3,4 @@ package workdocs // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.24.2" +const goModuleVersion = "1.24.3" diff --git a/service/worklink/CHANGELOG.md b/service/worklink/CHANGELOG.md deleted file mode 100644 index 02f1065971f..00000000000 --- a/service/worklink/CHANGELOG.md +++ /dev/null @@ -1,454 +0,0 @@ -# v1.23.2 (2024-09-25) - -* No change notes available for this release. - -# v1.23.1 (2024-09-23) - -* No change notes available for this release. - -# v1.23.0 (2024-09-20) - -* **Feature**: Add tracing and metrics support to service clients. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.22.7 (2024-09-17) - -* **Bug Fix**: **BREAKFIX**: Only generate AccountIDEndpointMode config for services that use it. This is a compiler break, but removes no actual functionality, as no services currently use the account ID in endpoint resolution. - -# v1.22.6 (2024-09-04) - -* No change notes available for this release. - -# v1.22.5 (2024-09-03) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.22.4 (2024-08-15) - -* **Dependency Update**: Bump minimum Go version to 1.21. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.22.3 (2024-07-10.2) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.22.2 (2024-07-10) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.22.1 (2024-06-28) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.22.0 (2024-06-26) - -* **Feature**: Support list-of-string endpoint parameter. - -# v1.21.1 (2024-06-19) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.21.0 (2024-06-18) - -* **Feature**: Track usage of various AWS SDK features in user-agent string. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.20.11 (2024-06-17) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.20.10 (2024-06-07) - -* **Bug Fix**: Add clock skew correction on all service clients -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.20.9 (2024-06-03) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.20.8 (2024-05-23) - -* No change notes available for this release. - -# v1.20.7 (2024-05-16) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.20.6 (2024-05-15) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.20.5 (2024-05-08) - -* **Bug Fix**: GoDoc improvement - -# v1.20.4 (2024-03-29) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.20.3 (2024-03-18) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.20.2 (2024-03-07) - -* **Bug Fix**: Remove dependency on go-cmp. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.20.1 (2024-02-23) - -* **Bug Fix**: Move all common, SDK-side middleware stack ops into the service client module to prevent cross-module compatibility issues in the future. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.20.0 (2024-02-22) - -* **Feature**: Add middleware stack snapshot tests. - -# v1.19.2 (2024-02-21) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.19.1 (2024-02-20) - -* **Bug Fix**: When sourcing values for a service's `EndpointParameters`, the lack of a configured region (i.e. `options.Region == ""`) will now translate to a `nil` value for `EndpointParameters.Region` instead of a pointer to the empty string `""`. This will result in a much more explicit error when calling an operation instead of an obscure hostname lookup failure. - -# v1.19.0 (2024-02-13) - -* **Feature**: Bump minimum Go version to 1.20 per our language support policy. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.18.6 (2024-01-04) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.18.5 (2023-12-08) - -* **Bug Fix**: Reinstate presence of default Retryer in functional options, but still respect max attempts set therein. - -# v1.18.4 (2023-12-07) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.18.3 (2023-12-06) - -* **Bug Fix**: Restore pre-refactor auth behavior where all operations could technically be performed anonymously. - -# v1.18.2 (2023-12-01) - -* **Bug Fix**: Correct wrapping of errors in authentication workflow. -* **Bug Fix**: Correctly recognize cache-wrapped instances of AnonymousCredentials at client construction. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.18.1 (2023-11-30) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.18.0 (2023-11-29) - -* **Feature**: Expose Options() accessor on service clients. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.17.5 (2023-11-28.2) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.17.4 (2023-11-28) - -* **Bug Fix**: Respect setting RetryMaxAttempts in functional options at client construction. - -# v1.17.3 (2023-11-20) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.17.2 (2023-11-15) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.17.1 (2023-11-09) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.17.0 (2023-11-01) - -* **Feature**: Adds support for configured endpoints via environment variables and the AWS shared configuration file. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.16.0 (2023-10-31) - -* **Feature**: **BREAKING CHANGE**: Bump minimum go version to 1.19 per the revised [go version support policy](https://aws.amazon.com/blogs/developer/aws-sdk-for-go-aligns-with-go-release-policy-on-supported-runtimes/). -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.15.2 (2023-10-12) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.15.1 (2023-10-06) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.15.0 (2023-09-18) - -* **Announcement**: [BREAKFIX] Change in MaxResults datatype from value to pointer type in cognito-sync service. -* **Feature**: Adds several endpoint ruleset changes across all models: smaller rulesets, removed non-unique regional endpoints, fixes FIPS and DualStack endpoints, and make region not required in SDK::Endpoint. Additional breakfix to cognito-sync field. - -# v1.14.5 (2023-08-21) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.14.4 (2023-08-18) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.14.3 (2023-08-17) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.14.2 (2023-08-07) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.14.1 (2023-08-01) - -* No change notes available for this release. - -# v1.14.0 (2023-07-31) - -* **Feature**: Adds support for smithy-modeled endpoint resolution. A new rules-based endpoint resolution will be added to the SDK which will supercede and deprecate existing endpoint resolution. Specifically, EndpointResolver will be deprecated while BaseEndpoint and EndpointResolverV2 will take its place. For more information, please see the Endpoints section in our Developer Guide. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.13.14 (2023-07-28) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.13.13 (2023-07-13) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.13.12 (2023-06-15) - -* No change notes available for this release. - -# v1.13.11 (2023-06-13) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.13.10 (2023-05-04) - -* No change notes available for this release. - -# v1.13.9 (2023-04-24) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.13.8 (2023-04-10) - -* No change notes available for this release. - -# v1.13.7 (2023-04-07) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.13.6 (2023-03-21) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.13.5 (2023-03-10) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.13.4 (2023-02-22) - -* **Bug Fix**: Prevent nil pointer dereference when retrieving error codes. - -# v1.13.3 (2023-02-20) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.13.2 (2023-02-15) - -* **Announcement**: When receiving an error response in restJson-based services, an incorrect error type may have been returned based on the content of the response. This has been fixed via PR #2012 tracked in issue #1910. -* **Bug Fix**: Correct error type parsing for restJson services. - -# v1.13.1 (2023-02-03) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.13.0 (2023-01-05) - -* **Feature**: Add `ErrorCodeOverride` field to all error structs (aws/smithy-go#401). - -# v1.12.18 (2022-12-15) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.17 (2022-12-02) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.16 (2022-10-24) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.15 (2022-10-21) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.14 (2022-09-20) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.13 (2022-09-14) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.12 (2022-09-02) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.11 (2022-08-31) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.10 (2022-08-29) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.9 (2022-08-11) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.8 (2022-08-09) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.7 (2022-08-08) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.6 (2022-08-01) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.5 (2022-07-05) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.4 (2022-06-29) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.3 (2022-06-07) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.2 (2022-05-17) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.1 (2022-04-25) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.12.0 (2022-04-19) - -* **Feature**: Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK. - -# v1.11.3 (2022-03-30) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.11.2 (2022-03-24) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.11.1 (2022-03-23) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.11.0 (2022-03-08) - -* **Feature**: Updated `github.com/aws/smithy-go` to latest version -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.10.0 (2022-02-24) - -* **Feature**: API client updated -* **Feature**: Adds RetryMaxAttempts and RetryMod to API client Options. This allows the API clients' default Retryer to be configured from the shared configuration files or environment variables. Adding a new Retry mode of `Adaptive`. `Adaptive` retry mode is an experimental mode, adding client rate limiting when throttles reponses are received from an API. See [retry.AdaptiveMode](https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/aws/retry#AdaptiveMode) for more details, and configuration options. -* **Feature**: Updated `github.com/aws/smithy-go` to latest version -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.9.0 (2022-01-14) - -* **Feature**: Updated `github.com/aws/smithy-go` to latest version -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.8.0 (2022-01-07) - -* **Feature**: Updated `github.com/aws/smithy-go` to latest version -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.7.0 (2021-12-21) - -* **Feature**: API Paginators now support specifying the initial starting token, and support stopping on empty string tokens. - -# v1.6.2 (2021-12-02) - -* **Bug Fix**: Fixes a bug that prevented aws.EndpointResolverWithOptions from being used by the service client. ([#1514](https://github.com/aws/aws-sdk-go-v2/pull/1514)) -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.6.1 (2021-11-19) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.6.0 (2021-11-06) - -* **Feature**: The SDK now supports configuration of FIPS and DualStack endpoints using environment variables, shared configuration, or programmatically. -* **Feature**: Updated `github.com/aws/smithy-go` to latest version -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.5.0 (2021-10-21) - -* **Feature**: Updated to latest version -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.4.2 (2021-10-11) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.4.1 (2021-09-17) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.4.0 (2021-08-27) - -* **Feature**: Updated `github.com/aws/smithy-go` to latest version -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.3.3 (2021-08-19) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.3.2 (2021-08-04) - -* **Dependency Update**: Updated `github.com/aws/smithy-go` to latest version. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.3.1 (2021-07-15) - -* **Dependency Update**: Updated `github.com/aws/smithy-go` to latest version -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.3.0 (2021-06-25) - -* **Feature**: Updated `github.com/aws/smithy-go` to latest version -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.2.1 (2021-05-20) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.2.0 (2021-05-14) - -* **Feature**: Constant has been added to modules to enable runtime version inspection for reporting. -* **Dependency Update**: Updated to the latest SDK module versions - diff --git a/service/worklink/LICENSE.txt b/service/worklink/LICENSE.txt deleted file mode 100644 index d6456956733..00000000000 --- a/service/worklink/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/service/worklink/api_client.go b/service/worklink/api_client.go deleted file mode 100644 index fb437b66cf1..00000000000 --- a/service/worklink/api_client.go +++ /dev/null @@ -1,910 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "errors" - "fmt" - "github.com/aws/aws-sdk-go-v2/aws" - "github.com/aws/aws-sdk-go-v2/aws/defaults" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/aws-sdk-go-v2/aws/retry" - "github.com/aws/aws-sdk-go-v2/aws/signer/v4" - awshttp "github.com/aws/aws-sdk-go-v2/aws/transport/http" - internalauth "github.com/aws/aws-sdk-go-v2/internal/auth" - internalauthsmithy "github.com/aws/aws-sdk-go-v2/internal/auth/smithy" - internalConfig "github.com/aws/aws-sdk-go-v2/internal/configsources" - internalmiddleware "github.com/aws/aws-sdk-go-v2/internal/middleware" - smithy "github.com/aws/smithy-go" - smithyauth "github.com/aws/smithy-go/auth" - smithydocument "github.com/aws/smithy-go/document" - "github.com/aws/smithy-go/logging" - "github.com/aws/smithy-go/metrics" - "github.com/aws/smithy-go/middleware" - "github.com/aws/smithy-go/tracing" - smithyhttp "github.com/aws/smithy-go/transport/http" - "net" - "net/http" - "sync/atomic" - "time" -) - -const ServiceID = "WorkLink" -const ServiceAPIVersion = "2018-09-25" - -type operationMetrics struct { - Duration metrics.Float64Histogram - SerializeDuration metrics.Float64Histogram - ResolveIdentityDuration metrics.Float64Histogram - ResolveEndpointDuration metrics.Float64Histogram - SignRequestDuration metrics.Float64Histogram - DeserializeDuration metrics.Float64Histogram -} - -func (m *operationMetrics) histogramFor(name string) metrics.Float64Histogram { - switch name { - case "client.call.duration": - return m.Duration - case "client.call.serialization_duration": - return m.SerializeDuration - case "client.call.resolve_identity_duration": - return m.ResolveIdentityDuration - case "client.call.resolve_endpoint_duration": - return m.ResolveEndpointDuration - case "client.call.signing_duration": - return m.SignRequestDuration - case "client.call.deserialization_duration": - return m.DeserializeDuration - default: - panic("unrecognized operation metric") - } -} - -func timeOperationMetric[T any]( - ctx context.Context, metric string, fn func() (T, error), - opts ...metrics.RecordMetricOption, -) (T, error) { - instr := getOperationMetrics(ctx).histogramFor(metric) - opts = append([]metrics.RecordMetricOption{withOperationMetadata(ctx)}, opts...) - - start := time.Now() - v, err := fn() - end := time.Now() - - elapsed := end.Sub(start) - instr.Record(ctx, float64(elapsed)/1e9, opts...) - return v, err -} - -func startMetricTimer(ctx context.Context, metric string, opts ...metrics.RecordMetricOption) func() { - instr := getOperationMetrics(ctx).histogramFor(metric) - opts = append([]metrics.RecordMetricOption{withOperationMetadata(ctx)}, opts...) - - var ended bool - start := time.Now() - return func() { - if ended { - return - } - ended = true - - end := time.Now() - - elapsed := end.Sub(start) - instr.Record(ctx, float64(elapsed)/1e9, opts...) - } -} - -func withOperationMetadata(ctx context.Context) metrics.RecordMetricOption { - return func(o *metrics.RecordMetricOptions) { - o.Properties.Set("rpc.service", middleware.GetServiceID(ctx)) - o.Properties.Set("rpc.method", middleware.GetOperationName(ctx)) - } -} - -type operationMetricsKey struct{} - -func withOperationMetrics(parent context.Context, mp metrics.MeterProvider) (context.Context, error) { - meter := mp.Meter("github.com/aws/aws-sdk-go-v2/service/worklink") - om := &operationMetrics{} - - var err error - - om.Duration, err = operationMetricTimer(meter, "client.call.duration", - "Overall call duration (including retries and time to send or receive request and response body)") - if err != nil { - return nil, err - } - om.SerializeDuration, err = operationMetricTimer(meter, "client.call.serialization_duration", - "The time it takes to serialize a message body") - if err != nil { - return nil, err - } - om.ResolveIdentityDuration, err = operationMetricTimer(meter, "client.call.auth.resolve_identity_duration", - "The time taken to acquire an identity (AWS credentials, bearer token, etc) from an Identity Provider") - if err != nil { - return nil, err - } - om.ResolveEndpointDuration, err = operationMetricTimer(meter, "client.call.resolve_endpoint_duration", - "The time it takes to resolve an endpoint (endpoint resolver, not DNS) for the request") - if err != nil { - return nil, err - } - om.SignRequestDuration, err = operationMetricTimer(meter, "client.call.auth.signing_duration", - "The time it takes to sign a request") - if err != nil { - return nil, err - } - om.DeserializeDuration, err = operationMetricTimer(meter, "client.call.deserialization_duration", - "The time it takes to deserialize a message body") - if err != nil { - return nil, err - } - - return context.WithValue(parent, operationMetricsKey{}, om), nil -} - -func operationMetricTimer(m metrics.Meter, name, desc string) (metrics.Float64Histogram, error) { - return m.Float64Histogram(name, func(o *metrics.InstrumentOptions) { - o.UnitLabel = "s" - o.Description = desc - }) -} - -func getOperationMetrics(ctx context.Context) *operationMetrics { - return ctx.Value(operationMetricsKey{}).(*operationMetrics) -} - -func operationTracer(p tracing.TracerProvider) tracing.Tracer { - return p.Tracer("github.com/aws/aws-sdk-go-v2/service/worklink") -} - -// Client provides the API client to make operations call for Amazon WorkLink. -type Client struct { - options Options - - // Difference between the time reported by the server and the client - timeOffset *atomic.Int64 -} - -// New returns an initialized Client based on the functional options. Provide -// additional functional options to further configure the behavior of the client, -// such as changing the client's endpoint or adding custom middleware behavior. -func New(options Options, optFns ...func(*Options)) *Client { - options = options.Copy() - - resolveDefaultLogger(&options) - - setResolvedDefaultsMode(&options) - - resolveRetryer(&options) - - resolveHTTPClient(&options) - - resolveHTTPSignerV4(&options) - - resolveEndpointResolverV2(&options) - - resolveTracerProvider(&options) - - resolveMeterProvider(&options) - - resolveAuthSchemeResolver(&options) - - for _, fn := range optFns { - fn(&options) - } - - finalizeRetryMaxAttempts(&options) - - ignoreAnonymousAuth(&options) - - wrapWithAnonymousAuth(&options) - - resolveAuthSchemes(&options) - - client := &Client{ - options: options, - } - - initializeTimeOffsetResolver(client) - - return client -} - -// Options returns a copy of the client configuration. -// -// Callers SHOULD NOT perform mutations on any inner structures within client -// config. Config overrides should instead be made on a per-operation basis through -// functional options. -func (c *Client) Options() Options { - return c.options.Copy() -} - -func (c *Client) invokeOperation( - ctx context.Context, opID string, params interface{}, optFns []func(*Options), stackFns ...func(*middleware.Stack, Options) error, -) ( - result interface{}, metadata middleware.Metadata, err error, -) { - ctx = middleware.ClearStackValues(ctx) - ctx = middleware.WithServiceID(ctx, ServiceID) - ctx = middleware.WithOperationName(ctx, opID) - - stack := middleware.NewStack(opID, smithyhttp.NewStackRequest) - options := c.options.Copy() - - for _, fn := range optFns { - fn(&options) - } - - finalizeOperationRetryMaxAttempts(&options, *c) - - finalizeClientEndpointResolverOptions(&options) - - for _, fn := range stackFns { - if err := fn(stack, options); err != nil { - return nil, metadata, err - } - } - - for _, fn := range options.APIOptions { - if err := fn(stack); err != nil { - return nil, metadata, err - } - } - - ctx, err = withOperationMetrics(ctx, options.MeterProvider) - if err != nil { - return nil, metadata, err - } - - tracer := operationTracer(options.TracerProvider) - spanName := fmt.Sprintf("%s.%s", ServiceID, opID) - - ctx = tracing.WithOperationTracer(ctx, tracer) - - ctx, span := tracer.StartSpan(ctx, spanName, func(o *tracing.SpanOptions) { - o.Kind = tracing.SpanKindClient - o.Properties.Set("rpc.system", "aws-api") - o.Properties.Set("rpc.method", opID) - o.Properties.Set("rpc.service", ServiceID) - }) - endTimer := startMetricTimer(ctx, "client.call.duration") - defer endTimer() - defer span.End() - - handler := smithyhttp.NewClientHandler(options.HTTPClient) - decorated := middleware.DecorateHandler(handler, stack) - result, metadata, err = decorated.Handle(ctx, params) - if err != nil { - span.SetProperty("exception.type", fmt.Sprintf("%T", err)) - span.SetProperty("exception.message", err.Error()) - - var aerr smithy.APIError - if errors.As(err, &aerr) { - span.SetProperty("api.error_code", aerr.ErrorCode()) - span.SetProperty("api.error_message", aerr.ErrorMessage()) - span.SetProperty("api.error_fault", aerr.ErrorFault().String()) - } - - err = &smithy.OperationError{ - ServiceID: ServiceID, - OperationName: opID, - Err: err, - } - } - - span.SetProperty("error", err != nil) - if err == nil { - span.SetStatus(tracing.SpanStatusOK) - } else { - span.SetStatus(tracing.SpanStatusError) - } - - return result, metadata, err -} - -type operationInputKey struct{} - -func setOperationInput(ctx context.Context, input interface{}) context.Context { - return middleware.WithStackValue(ctx, operationInputKey{}, input) -} - -func getOperationInput(ctx context.Context) interface{} { - return middleware.GetStackValue(ctx, operationInputKey{}) -} - -type setOperationInputMiddleware struct { -} - -func (*setOperationInputMiddleware) ID() string { - return "setOperationInput" -} - -func (m *setOperationInputMiddleware) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - ctx = setOperationInput(ctx, in.Parameters) - return next.HandleSerialize(ctx, in) -} - -func addProtocolFinalizerMiddlewares(stack *middleware.Stack, options Options, operation string) error { - if err := stack.Finalize.Add(&resolveAuthSchemeMiddleware{operation: operation, options: options}, middleware.Before); err != nil { - return fmt.Errorf("add ResolveAuthScheme: %w", err) - } - if err := stack.Finalize.Insert(&getIdentityMiddleware{options: options}, "ResolveAuthScheme", middleware.After); err != nil { - return fmt.Errorf("add GetIdentity: %v", err) - } - if err := stack.Finalize.Insert(&resolveEndpointV2Middleware{options: options}, "GetIdentity", middleware.After); err != nil { - return fmt.Errorf("add ResolveEndpointV2: %v", err) - } - if err := stack.Finalize.Insert(&signRequestMiddleware{options: options}, "ResolveEndpointV2", middleware.After); err != nil { - return fmt.Errorf("add Signing: %w", err) - } - return nil -} -func resolveAuthSchemeResolver(options *Options) { - if options.AuthSchemeResolver == nil { - options.AuthSchemeResolver = &defaultAuthSchemeResolver{} - } -} - -func resolveAuthSchemes(options *Options) { - if options.AuthSchemes == nil { - options.AuthSchemes = []smithyhttp.AuthScheme{ - internalauth.NewHTTPAuthScheme("aws.auth#sigv4", &internalauthsmithy.V4SignerAdapter{ - Signer: options.HTTPSignerV4, - Logger: options.Logger, - LogSigning: options.ClientLogMode.IsSigning(), - }), - } - } -} - -type noSmithyDocumentSerde = smithydocument.NoSerde - -type legacyEndpointContextSetter struct { - LegacyResolver EndpointResolver -} - -func (*legacyEndpointContextSetter) ID() string { - return "legacyEndpointContextSetter" -} - -func (m *legacyEndpointContextSetter) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - if m.LegacyResolver != nil { - ctx = awsmiddleware.SetRequiresLegacyEndpoints(ctx, true) - } - - return next.HandleInitialize(ctx, in) - -} -func addlegacyEndpointContextSetter(stack *middleware.Stack, o Options) error { - return stack.Initialize.Add(&legacyEndpointContextSetter{ - LegacyResolver: o.EndpointResolver, - }, middleware.Before) -} - -func resolveDefaultLogger(o *Options) { - if o.Logger != nil { - return - } - o.Logger = logging.Nop{} -} - -func addSetLoggerMiddleware(stack *middleware.Stack, o Options) error { - return middleware.AddSetLoggerMiddleware(stack, o.Logger) -} - -func setResolvedDefaultsMode(o *Options) { - if len(o.resolvedDefaultsMode) > 0 { - return - } - - var mode aws.DefaultsMode - mode.SetFromString(string(o.DefaultsMode)) - - if mode == aws.DefaultsModeAuto { - mode = defaults.ResolveDefaultsModeAuto(o.Region, o.RuntimeEnvironment) - } - - o.resolvedDefaultsMode = mode -} - -// NewFromConfig returns a new client from the provided config. -func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client { - opts := Options{ - Region: cfg.Region, - DefaultsMode: cfg.DefaultsMode, - RuntimeEnvironment: cfg.RuntimeEnvironment, - HTTPClient: cfg.HTTPClient, - Credentials: cfg.Credentials, - APIOptions: cfg.APIOptions, - Logger: cfg.Logger, - ClientLogMode: cfg.ClientLogMode, - AppID: cfg.AppID, - } - resolveAWSRetryerProvider(cfg, &opts) - resolveAWSRetryMaxAttempts(cfg, &opts) - resolveAWSRetryMode(cfg, &opts) - resolveAWSEndpointResolver(cfg, &opts) - resolveUseDualStackEndpoint(cfg, &opts) - resolveUseFIPSEndpoint(cfg, &opts) - resolveBaseEndpoint(cfg, &opts) - return New(opts, optFns...) -} - -func resolveHTTPClient(o *Options) { - var buildable *awshttp.BuildableClient - - if o.HTTPClient != nil { - var ok bool - buildable, ok = o.HTTPClient.(*awshttp.BuildableClient) - if !ok { - return - } - } else { - buildable = awshttp.NewBuildableClient() - } - - modeConfig, err := defaults.GetModeConfiguration(o.resolvedDefaultsMode) - if err == nil { - buildable = buildable.WithDialerOptions(func(dialer *net.Dialer) { - if dialerTimeout, ok := modeConfig.GetConnectTimeout(); ok { - dialer.Timeout = dialerTimeout - } - }) - - buildable = buildable.WithTransportOptions(func(transport *http.Transport) { - if tlsHandshakeTimeout, ok := modeConfig.GetTLSNegotiationTimeout(); ok { - transport.TLSHandshakeTimeout = tlsHandshakeTimeout - } - }) - } - - o.HTTPClient = buildable -} - -func resolveRetryer(o *Options) { - if o.Retryer != nil { - return - } - - if len(o.RetryMode) == 0 { - modeConfig, err := defaults.GetModeConfiguration(o.resolvedDefaultsMode) - if err == nil { - o.RetryMode = modeConfig.RetryMode - } - } - if len(o.RetryMode) == 0 { - o.RetryMode = aws.RetryModeStandard - } - - var standardOptions []func(*retry.StandardOptions) - if v := o.RetryMaxAttempts; v != 0 { - standardOptions = append(standardOptions, func(so *retry.StandardOptions) { - so.MaxAttempts = v - }) - } - - switch o.RetryMode { - case aws.RetryModeAdaptive: - var adaptiveOptions []func(*retry.AdaptiveModeOptions) - if len(standardOptions) != 0 { - adaptiveOptions = append(adaptiveOptions, func(ao *retry.AdaptiveModeOptions) { - ao.StandardOptions = append(ao.StandardOptions, standardOptions...) - }) - } - o.Retryer = retry.NewAdaptiveMode(adaptiveOptions...) - - default: - o.Retryer = retry.NewStandard(standardOptions...) - } -} - -func resolveAWSRetryerProvider(cfg aws.Config, o *Options) { - if cfg.Retryer == nil { - return - } - o.Retryer = cfg.Retryer() -} - -func resolveAWSRetryMode(cfg aws.Config, o *Options) { - if len(cfg.RetryMode) == 0 { - return - } - o.RetryMode = cfg.RetryMode -} -func resolveAWSRetryMaxAttempts(cfg aws.Config, o *Options) { - if cfg.RetryMaxAttempts == 0 { - return - } - o.RetryMaxAttempts = cfg.RetryMaxAttempts -} - -func finalizeRetryMaxAttempts(o *Options) { - if o.RetryMaxAttempts == 0 { - return - } - - o.Retryer = retry.AddWithMaxAttempts(o.Retryer, o.RetryMaxAttempts) -} - -func finalizeOperationRetryMaxAttempts(o *Options, client Client) { - if v := o.RetryMaxAttempts; v == 0 || v == client.options.RetryMaxAttempts { - return - } - - o.Retryer = retry.AddWithMaxAttempts(o.Retryer, o.RetryMaxAttempts) -} - -func resolveAWSEndpointResolver(cfg aws.Config, o *Options) { - if cfg.EndpointResolver == nil && cfg.EndpointResolverWithOptions == nil { - return - } - o.EndpointResolver = withEndpointResolver(cfg.EndpointResolver, cfg.EndpointResolverWithOptions) -} - -func addClientUserAgent(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - ua.AddSDKAgentKeyValue(awsmiddleware.APIMetadata, "worklink", goModuleVersion) - if len(options.AppID) > 0 { - ua.AddSDKAgentKey(awsmiddleware.ApplicationIdentifier, options.AppID) - } - - return nil -} - -func getOrAddRequestUserAgent(stack *middleware.Stack) (*awsmiddleware.RequestUserAgent, error) { - id := (*awsmiddleware.RequestUserAgent)(nil).ID() - mw, ok := stack.Build.Get(id) - if !ok { - mw = awsmiddleware.NewRequestUserAgent() - if err := stack.Build.Add(mw, middleware.After); err != nil { - return nil, err - } - } - - ua, ok := mw.(*awsmiddleware.RequestUserAgent) - if !ok { - return nil, fmt.Errorf("%T for %s middleware did not match expected type", mw, id) - } - - return ua, nil -} - -type HTTPSignerV4 interface { - SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error -} - -func resolveHTTPSignerV4(o *Options) { - if o.HTTPSignerV4 != nil { - return - } - o.HTTPSignerV4 = newDefaultV4Signer(*o) -} - -func newDefaultV4Signer(o Options) *v4.Signer { - return v4.NewSigner(func(so *v4.SignerOptions) { - so.Logger = o.Logger - so.LogSigning = o.ClientLogMode.IsSigning() - }) -} - -func addClientRequestID(stack *middleware.Stack) error { - return stack.Build.Add(&awsmiddleware.ClientRequestID{}, middleware.After) -} - -func addComputeContentLength(stack *middleware.Stack) error { - return stack.Build.Add(&smithyhttp.ComputeContentLength{}, middleware.After) -} - -func addRawResponseToMetadata(stack *middleware.Stack) error { - return stack.Deserialize.Add(&awsmiddleware.AddRawResponse{}, middleware.Before) -} - -func addRecordResponseTiming(stack *middleware.Stack) error { - return stack.Deserialize.Add(&awsmiddleware.RecordResponseTiming{}, middleware.After) -} - -func addSpanRetryLoop(stack *middleware.Stack, options Options) error { - return stack.Finalize.Insert(&spanRetryLoop{options: options}, "Retry", middleware.Before) -} - -type spanRetryLoop struct { - options Options -} - -func (*spanRetryLoop) ID() string { - return "spanRetryLoop" -} - -func (m *spanRetryLoop) HandleFinalize( - ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler, -) ( - middleware.FinalizeOutput, middleware.Metadata, error, -) { - tracer := operationTracer(m.options.TracerProvider) - ctx, span := tracer.StartSpan(ctx, "RetryLoop") - defer span.End() - - return next.HandleFinalize(ctx, in) -} -func addStreamingEventsPayload(stack *middleware.Stack) error { - return stack.Finalize.Add(&v4.StreamingEventsPayload{}, middleware.Before) -} - -func addUnsignedPayload(stack *middleware.Stack) error { - return stack.Finalize.Insert(&v4.UnsignedPayload{}, "ResolveEndpointV2", middleware.After) -} - -func addComputePayloadSHA256(stack *middleware.Stack) error { - return stack.Finalize.Insert(&v4.ComputePayloadSHA256{}, "ResolveEndpointV2", middleware.After) -} - -func addContentSHA256Header(stack *middleware.Stack) error { - return stack.Finalize.Insert(&v4.ContentSHA256Header{}, (*v4.ComputePayloadSHA256)(nil).ID(), middleware.After) -} - -func addIsWaiterUserAgent(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - ua.AddUserAgentFeature(awsmiddleware.UserAgentFeatureWaiter) - return nil - }) -} - -func addIsPaginatorUserAgent(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - ua.AddUserAgentFeature(awsmiddleware.UserAgentFeaturePaginator) - return nil - }) -} - -func addRetry(stack *middleware.Stack, o Options) error { - attempt := retry.NewAttemptMiddleware(o.Retryer, smithyhttp.RequestCloner, func(m *retry.Attempt) { - m.LogAttempts = o.ClientLogMode.IsRetries() - m.OperationMeter = o.MeterProvider.Meter("github.com/aws/aws-sdk-go-v2/service/worklink") - }) - if err := stack.Finalize.Insert(attempt, "Signing", middleware.Before); err != nil { - return err - } - if err := stack.Finalize.Insert(&retry.MetricsHeader{}, attempt.ID(), middleware.After); err != nil { - return err - } - return nil -} - -// resolves dual-stack endpoint configuration -func resolveUseDualStackEndpoint(cfg aws.Config, o *Options) error { - if len(cfg.ConfigSources) == 0 { - return nil - } - value, found, err := internalConfig.ResolveUseDualStackEndpoint(context.Background(), cfg.ConfigSources) - if err != nil { - return err - } - if found { - o.EndpointOptions.UseDualStackEndpoint = value - } - return nil -} - -// resolves FIPS endpoint configuration -func resolveUseFIPSEndpoint(cfg aws.Config, o *Options) error { - if len(cfg.ConfigSources) == 0 { - return nil - } - value, found, err := internalConfig.ResolveUseFIPSEndpoint(context.Background(), cfg.ConfigSources) - if err != nil { - return err - } - if found { - o.EndpointOptions.UseFIPSEndpoint = value - } - return nil -} - -func resolveAccountID(identity smithyauth.Identity, mode aws.AccountIDEndpointMode) *string { - if mode == aws.AccountIDEndpointModeDisabled { - return nil - } - - if ca, ok := identity.(*internalauthsmithy.CredentialsAdapter); ok && ca.Credentials.AccountID != "" { - return aws.String(ca.Credentials.AccountID) - } - - return nil -} - -func addTimeOffsetBuild(stack *middleware.Stack, c *Client) error { - mw := internalmiddleware.AddTimeOffsetMiddleware{Offset: c.timeOffset} - if err := stack.Build.Add(&mw, middleware.After); err != nil { - return err - } - return stack.Deserialize.Insert(&mw, "RecordResponseTiming", middleware.Before) -} -func initializeTimeOffsetResolver(c *Client) { - c.timeOffset = new(atomic.Int64) -} - -func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - switch options.Retryer.(type) { - case *retry.Standard: - ua.AddUserAgentFeature(awsmiddleware.UserAgentFeatureRetryModeStandard) - case *retry.AdaptiveMode: - ua.AddUserAgentFeature(awsmiddleware.UserAgentFeatureRetryModeAdaptive) - } - return nil -} - -func resolveTracerProvider(options *Options) { - if options.TracerProvider == nil { - options.TracerProvider = &tracing.NopTracerProvider{} - } -} - -func resolveMeterProvider(options *Options) { - if options.MeterProvider == nil { - options.MeterProvider = metrics.NopMeterProvider{} - } -} - -func addRecursionDetection(stack *middleware.Stack) error { - return stack.Build.Add(&awsmiddleware.RecursionDetection{}, middleware.After) -} - -func addRequestIDRetrieverMiddleware(stack *middleware.Stack) error { - return stack.Deserialize.Insert(&awsmiddleware.RequestIDRetriever{}, "OperationDeserializer", middleware.Before) - -} - -func addResponseErrorMiddleware(stack *middleware.Stack) error { - return stack.Deserialize.Insert(&awshttp.ResponseErrorWrapper{}, "RequestIDRetriever", middleware.Before) - -} - -func addRequestResponseLogging(stack *middleware.Stack, o Options) error { - return stack.Deserialize.Add(&smithyhttp.RequestResponseLogger{ - LogRequest: o.ClientLogMode.IsRequest(), - LogRequestWithBody: o.ClientLogMode.IsRequestWithBody(), - LogResponse: o.ClientLogMode.IsResponse(), - LogResponseWithBody: o.ClientLogMode.IsResponseWithBody(), - }, middleware.After) -} - -type disableHTTPSMiddleware struct { - DisableHTTPS bool -} - -func (*disableHTTPSMiddleware) ID() string { - return "disableHTTPS" -} - -func (m *disableHTTPSMiddleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( - out middleware.FinalizeOutput, metadata middleware.Metadata, err error, -) { - req, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, fmt.Errorf("unknown transport type %T", in.Request) - } - - if m.DisableHTTPS && !smithyhttp.GetHostnameImmutable(ctx) { - req.URL.Scheme = "http" - } - - return next.HandleFinalize(ctx, in) -} - -func addDisableHTTPSMiddleware(stack *middleware.Stack, o Options) error { - return stack.Finalize.Insert(&disableHTTPSMiddleware{ - DisableHTTPS: o.EndpointOptions.DisableHTTPS, - }, "ResolveEndpointV2", middleware.After) -} - -type spanInitializeStart struct { -} - -func (*spanInitializeStart) ID() string { - return "spanInitializeStart" -} - -func (m *spanInitializeStart) HandleInitialize( - ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler, -) ( - middleware.InitializeOutput, middleware.Metadata, error, -) { - ctx, _ = tracing.StartSpan(ctx, "Initialize") - - return next.HandleInitialize(ctx, in) -} - -type spanInitializeEnd struct { -} - -func (*spanInitializeEnd) ID() string { - return "spanInitializeEnd" -} - -func (m *spanInitializeEnd) HandleInitialize( - ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler, -) ( - middleware.InitializeOutput, middleware.Metadata, error, -) { - ctx, span := tracing.PopSpan(ctx) - span.End() - - return next.HandleInitialize(ctx, in) -} - -type spanBuildRequestStart struct { -} - -func (*spanBuildRequestStart) ID() string { - return "spanBuildRequestStart" -} - -func (m *spanBuildRequestStart) HandleSerialize( - ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler, -) ( - middleware.SerializeOutput, middleware.Metadata, error, -) { - ctx, _ = tracing.StartSpan(ctx, "BuildRequest") - - return next.HandleSerialize(ctx, in) -} - -type spanBuildRequestEnd struct { -} - -func (*spanBuildRequestEnd) ID() string { - return "spanBuildRequestEnd" -} - -func (m *spanBuildRequestEnd) HandleBuild( - ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler, -) ( - middleware.BuildOutput, middleware.Metadata, error, -) { - ctx, span := tracing.PopSpan(ctx) - span.End() - - return next.HandleBuild(ctx, in) -} - -func addSpanInitializeStart(stack *middleware.Stack) error { - return stack.Initialize.Add(&spanInitializeStart{}, middleware.Before) -} - -func addSpanInitializeEnd(stack *middleware.Stack) error { - return stack.Initialize.Add(&spanInitializeEnd{}, middleware.After) -} - -func addSpanBuildRequestStart(stack *middleware.Stack) error { - return stack.Serialize.Add(&spanBuildRequestStart{}, middleware.Before) -} - -func addSpanBuildRequestEnd(stack *middleware.Stack) error { - return stack.Build.Add(&spanBuildRequestEnd{}, middleware.After) -} diff --git a/service/worklink/api_client_test.go b/service/worklink/api_client_test.go deleted file mode 100644 index 2d55213a421..00000000000 --- a/service/worklink/api_client_test.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "github.com/aws/aws-sdk-go-v2/aws" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" - "io/ioutil" - "net/http" - "strings" - "testing" -) - -func TestClient_resolveRetryOptions(t *testing.T) { - nopClient := smithyhttp.ClientDoFunc(func(_ *http.Request) (*http.Response, error) { - return &http.Response{ - StatusCode: 200, - Header: http.Header{}, - Body: ioutil.NopCloser(strings.NewReader("")), - }, nil - }) - - cases := map[string]struct { - defaultsMode aws.DefaultsMode - retryer aws.Retryer - retryMaxAttempts int - opRetryMaxAttempts *int - retryMode aws.RetryMode - expectClientRetryMode aws.RetryMode - expectClientMaxAttempts int - expectOpMaxAttempts int - }{ - "defaults": { - defaultsMode: aws.DefaultsModeStandard, - expectClientRetryMode: aws.RetryModeStandard, - expectClientMaxAttempts: 3, - expectOpMaxAttempts: 3, - }, - "custom default retry": { - retryMode: aws.RetryModeAdaptive, - retryMaxAttempts: 10, - expectClientRetryMode: aws.RetryModeAdaptive, - expectClientMaxAttempts: 10, - expectOpMaxAttempts: 10, - }, - "custom op max attempts": { - retryMode: aws.RetryModeAdaptive, - retryMaxAttempts: 10, - opRetryMaxAttempts: aws.Int(2), - expectClientRetryMode: aws.RetryModeAdaptive, - expectClientMaxAttempts: 10, - expectOpMaxAttempts: 2, - }, - "custom op no change max attempts": { - retryMode: aws.RetryModeAdaptive, - retryMaxAttempts: 10, - opRetryMaxAttempts: aws.Int(10), - expectClientRetryMode: aws.RetryModeAdaptive, - expectClientMaxAttempts: 10, - expectOpMaxAttempts: 10, - }, - "custom op 0 max attempts": { - retryMode: aws.RetryModeAdaptive, - retryMaxAttempts: 10, - opRetryMaxAttempts: aws.Int(0), - expectClientRetryMode: aws.RetryModeAdaptive, - expectClientMaxAttempts: 10, - expectOpMaxAttempts: 10, - }, - } - - for name, c := range cases { - t.Run(name, func(t *testing.T) { - client := NewFromConfig(aws.Config{ - DefaultsMode: c.defaultsMode, - Retryer: func() func() aws.Retryer { - if c.retryer == nil { - return nil - } - - return func() aws.Retryer { return c.retryer } - }(), - HTTPClient: nopClient, - RetryMaxAttempts: c.retryMaxAttempts, - RetryMode: c.retryMode, - }, func(o *Options) { - if o.Retryer == nil { - t.Errorf("retryer must not be nil in functional options") - } - }) - - if e, a := c.expectClientRetryMode, client.options.RetryMode; e != a { - t.Errorf("expect %v retry mode, got %v", e, a) - } - if e, a := c.expectClientMaxAttempts, client.options.Retryer.MaxAttempts(); e != a { - t.Errorf("expect %v max attempts, got %v", e, a) - } - - _, _, err := client.invokeOperation(context.Background(), "mockOperation", struct{}{}, - []func(*Options){ - func(o *Options) { - if c.opRetryMaxAttempts == nil { - return - } - o.RetryMaxAttempts = *c.opRetryMaxAttempts - }, - }, - func(s *middleware.Stack, o Options) error { - s.Initialize.Clear() - s.Serialize.Clear() - s.Build.Clear() - s.Finalize.Clear() - s.Deserialize.Clear() - - if e, a := c.expectOpMaxAttempts, o.Retryer.MaxAttempts(); e != a { - t.Errorf("expect %v op max attempts, got %v", e, a) - } - return nil - }) - if err != nil { - t.Fatalf("expect no operation error, got %v", err) - } - }) - } -} diff --git a/service/worklink/api_op_AssociateDomain.go b/service/worklink/api_op_AssociateDomain.go deleted file mode 100644 index eb732838ce3..00000000000 --- a/service/worklink/api_op_AssociateDomain.go +++ /dev/null @@ -1,169 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Specifies a domain to be associated to Amazon WorkLink. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) AssociateDomain(ctx context.Context, params *AssociateDomainInput, optFns ...func(*Options)) (*AssociateDomainOutput, error) { - if params == nil { - params = &AssociateDomainInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "AssociateDomain", params, optFns, c.addOperationAssociateDomainMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*AssociateDomainOutput) - out.ResultMetadata = metadata - return out, nil -} - -type AssociateDomainInput struct { - - // The ARN of an issued ACM certificate that is valid for the domain being - // associated. - // - // This member is required. - AcmCertificateArn *string - - // The fully qualified domain name (FQDN). - // - // This member is required. - DomainName *string - - // The Amazon Resource Name (ARN) of the fleet. - // - // This member is required. - FleetArn *string - - // The name to display. - DisplayName *string - - noSmithyDocumentSerde -} - -type AssociateDomainOutput struct { - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationAssociateDomainMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpAssociateDomain{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpAssociateDomain{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "AssociateDomain"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpAssociateDomainValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateDomain(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opAssociateDomain(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "AssociateDomain", - } -} diff --git a/service/worklink/api_op_AssociateWebsiteAuthorizationProvider.go b/service/worklink/api_op_AssociateWebsiteAuthorizationProvider.go deleted file mode 100644 index b23a8899053..00000000000 --- a/service/worklink/api_op_AssociateWebsiteAuthorizationProvider.go +++ /dev/null @@ -1,170 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/aws-sdk-go-v2/service/worklink/types" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Associates a website authorization provider with a specified fleet. This is -// used to authorize users against associated websites in the company network. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) AssociateWebsiteAuthorizationProvider(ctx context.Context, params *AssociateWebsiteAuthorizationProviderInput, optFns ...func(*Options)) (*AssociateWebsiteAuthorizationProviderOutput, error) { - if params == nil { - params = &AssociateWebsiteAuthorizationProviderInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "AssociateWebsiteAuthorizationProvider", params, optFns, c.addOperationAssociateWebsiteAuthorizationProviderMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*AssociateWebsiteAuthorizationProviderOutput) - out.ResultMetadata = metadata - return out, nil -} - -type AssociateWebsiteAuthorizationProviderInput struct { - - // The authorization provider type. - // - // This member is required. - AuthorizationProviderType types.AuthorizationProviderType - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - // The domain name of the authorization provider. This applies only to SAML-based - // authorization providers. - DomainName *string - - noSmithyDocumentSerde -} - -type AssociateWebsiteAuthorizationProviderOutput struct { - - // A unique identifier for the authorization provider. - AuthorizationProviderId *string - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationAssociateWebsiteAuthorizationProviderMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpAssociateWebsiteAuthorizationProvider{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpAssociateWebsiteAuthorizationProvider{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "AssociateWebsiteAuthorizationProvider"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpAssociateWebsiteAuthorizationProviderValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateWebsiteAuthorizationProvider(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opAssociateWebsiteAuthorizationProvider(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "AssociateWebsiteAuthorizationProvider", - } -} diff --git a/service/worklink/api_op_AssociateWebsiteCertificateAuthority.go b/service/worklink/api_op_AssociateWebsiteCertificateAuthority.go deleted file mode 100644 index b5db9a06e25..00000000000 --- a/service/worklink/api_op_AssociateWebsiteCertificateAuthority.go +++ /dev/null @@ -1,168 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Imports the root certificate of a certificate authority (CA) used to obtain TLS -// certificates used by associated websites within the company network. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) AssociateWebsiteCertificateAuthority(ctx context.Context, params *AssociateWebsiteCertificateAuthorityInput, optFns ...func(*Options)) (*AssociateWebsiteCertificateAuthorityOutput, error) { - if params == nil { - params = &AssociateWebsiteCertificateAuthorityInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "AssociateWebsiteCertificateAuthority", params, optFns, c.addOperationAssociateWebsiteCertificateAuthorityMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*AssociateWebsiteCertificateAuthorityOutput) - out.ResultMetadata = metadata - return out, nil -} - -type AssociateWebsiteCertificateAuthorityInput struct { - - // The root certificate of the CA. - // - // This member is required. - Certificate *string - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - // The certificate name to display. - DisplayName *string - - noSmithyDocumentSerde -} - -type AssociateWebsiteCertificateAuthorityOutput struct { - - // A unique identifier for the CA. - WebsiteCaId *string - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationAssociateWebsiteCertificateAuthorityMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpAssociateWebsiteCertificateAuthority{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpAssociateWebsiteCertificateAuthority{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "AssociateWebsiteCertificateAuthority"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpAssociateWebsiteCertificateAuthorityValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateWebsiteCertificateAuthority(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opAssociateWebsiteCertificateAuthority(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "AssociateWebsiteCertificateAuthority", - } -} diff --git a/service/worklink/api_op_CreateFleet.go b/service/worklink/api_op_CreateFleet.go deleted file mode 100644 index 5a26c51ac11..00000000000 --- a/service/worklink/api_op_CreateFleet.go +++ /dev/null @@ -1,171 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Creates a fleet. A fleet consists of resources and the configuration that -// delivers associated websites to authorized users who download and set up the -// Amazon WorkLink app. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) CreateFleet(ctx context.Context, params *CreateFleetInput, optFns ...func(*Options)) (*CreateFleetOutput, error) { - if params == nil { - params = &CreateFleetInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "CreateFleet", params, optFns, c.addOperationCreateFleetMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*CreateFleetOutput) - out.ResultMetadata = metadata - return out, nil -} - -type CreateFleetInput struct { - - // A unique name for the fleet. - // - // This member is required. - FleetName *string - - // The fleet name to display. - DisplayName *string - - // The option to optimize for better performance by routing traffic through the - // closest AWS Region to users, which may be outside of your home Region. - OptimizeForEndUserLocation *bool - - // The tags to add to the resource. A tag is a key-value pair. - Tags map[string]string - - noSmithyDocumentSerde -} - -type CreateFleetOutput struct { - - // The Amazon Resource Name (ARN) of the fleet. - FleetArn *string - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationCreateFleetMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpCreateFleet{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpCreateFleet{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "CreateFleet"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpCreateFleetValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateFleet(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opCreateFleet(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "CreateFleet", - } -} diff --git a/service/worklink/api_op_DeleteFleet.go b/service/worklink/api_op_DeleteFleet.go deleted file mode 100644 index f5afc6012cb..00000000000 --- a/service/worklink/api_op_DeleteFleet.go +++ /dev/null @@ -1,155 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Deletes a fleet. Prevents users from accessing previously associated websites. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) DeleteFleet(ctx context.Context, params *DeleteFleetInput, optFns ...func(*Options)) (*DeleteFleetOutput, error) { - if params == nil { - params = &DeleteFleetInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "DeleteFleet", params, optFns, c.addOperationDeleteFleetMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*DeleteFleetOutput) - out.ResultMetadata = metadata - return out, nil -} - -type DeleteFleetInput struct { - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - noSmithyDocumentSerde -} - -type DeleteFleetOutput struct { - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationDeleteFleetMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpDeleteFleet{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDeleteFleet{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "DeleteFleet"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpDeleteFleetValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFleet(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opDeleteFleet(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "DeleteFleet", - } -} diff --git a/service/worklink/api_op_DescribeAuditStreamConfiguration.go b/service/worklink/api_op_DescribeAuditStreamConfiguration.go deleted file mode 100644 index c30aeeb16f1..00000000000 --- a/service/worklink/api_op_DescribeAuditStreamConfiguration.go +++ /dev/null @@ -1,160 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Describes the configuration for delivering audit streams to the customer -// account. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) DescribeAuditStreamConfiguration(ctx context.Context, params *DescribeAuditStreamConfigurationInput, optFns ...func(*Options)) (*DescribeAuditStreamConfigurationOutput, error) { - if params == nil { - params = &DescribeAuditStreamConfigurationInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "DescribeAuditStreamConfiguration", params, optFns, c.addOperationDescribeAuditStreamConfigurationMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*DescribeAuditStreamConfigurationOutput) - out.ResultMetadata = metadata - return out, nil -} - -type DescribeAuditStreamConfigurationInput struct { - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - noSmithyDocumentSerde -} - -type DescribeAuditStreamConfigurationOutput struct { - - // The ARN of the Amazon Kinesis data stream that will receive the audit events. - AuditStreamArn *string - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationDescribeAuditStreamConfigurationMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpDescribeAuditStreamConfiguration{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDescribeAuditStreamConfiguration{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "DescribeAuditStreamConfiguration"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpDescribeAuditStreamConfigurationValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAuditStreamConfiguration(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opDescribeAuditStreamConfiguration(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "DescribeAuditStreamConfiguration", - } -} diff --git a/service/worklink/api_op_DescribeCompanyNetworkConfiguration.go b/service/worklink/api_op_DescribeCompanyNetworkConfiguration.go deleted file mode 100644 index bdf5a5dbed0..00000000000 --- a/service/worklink/api_op_DescribeCompanyNetworkConfiguration.go +++ /dev/null @@ -1,167 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Describes the networking configuration to access the internal websites -// associated with the specified fleet. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) DescribeCompanyNetworkConfiguration(ctx context.Context, params *DescribeCompanyNetworkConfigurationInput, optFns ...func(*Options)) (*DescribeCompanyNetworkConfigurationOutput, error) { - if params == nil { - params = &DescribeCompanyNetworkConfigurationInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "DescribeCompanyNetworkConfiguration", params, optFns, c.addOperationDescribeCompanyNetworkConfigurationMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*DescribeCompanyNetworkConfigurationOutput) - out.ResultMetadata = metadata - return out, nil -} - -type DescribeCompanyNetworkConfigurationInput struct { - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - noSmithyDocumentSerde -} - -type DescribeCompanyNetworkConfigurationOutput struct { - - // The security groups associated with access to the provided subnets. - SecurityGroupIds []string - - // The subnets used for X-ENI connections from Amazon WorkLink rendering - // containers. - SubnetIds []string - - // The VPC with connectivity to associated websites. - VpcId *string - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationDescribeCompanyNetworkConfigurationMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpDescribeCompanyNetworkConfiguration{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDescribeCompanyNetworkConfiguration{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "DescribeCompanyNetworkConfiguration"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpDescribeCompanyNetworkConfigurationValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCompanyNetworkConfiguration(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opDescribeCompanyNetworkConfiguration(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "DescribeCompanyNetworkConfiguration", - } -} diff --git a/service/worklink/api_op_DescribeDevice.go b/service/worklink/api_op_DescribeDevice.go deleted file mode 100644 index 147f9e92e4b..00000000000 --- a/service/worklink/api_op_DescribeDevice.go +++ /dev/null @@ -1,190 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/aws-sdk-go-v2/service/worklink/types" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" - "time" -) - -// Provides information about a user's device. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) DescribeDevice(ctx context.Context, params *DescribeDeviceInput, optFns ...func(*Options)) (*DescribeDeviceOutput, error) { - if params == nil { - params = &DescribeDeviceInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "DescribeDevice", params, optFns, c.addOperationDescribeDeviceMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*DescribeDeviceOutput) - out.ResultMetadata = metadata - return out, nil -} - -type DescribeDeviceInput struct { - - // A unique identifier for a registered user's device. - // - // This member is required. - DeviceId *string - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - noSmithyDocumentSerde -} - -type DescribeDeviceOutput struct { - - // The date that the device first signed in to Amazon WorkLink. - FirstAccessedTime *time.Time - - // The date that the device last accessed Amazon WorkLink. - LastAccessedTime *time.Time - - // The manufacturer of the device. - Manufacturer *string - - // The model of the device. - Model *string - - // The operating system of the device. - OperatingSystem *string - - // The operating system version of the device. - OperatingSystemVersion *string - - // The operating system patch level of the device. - PatchLevel *string - - // The current state of the device. - Status types.DeviceStatus - - // The user name associated with the device. - Username *string - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationDescribeDeviceMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpDescribeDevice{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDescribeDevice{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "DescribeDevice"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpDescribeDeviceValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDevice(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opDescribeDevice(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "DescribeDevice", - } -} diff --git a/service/worklink/api_op_DescribeDevicePolicyConfiguration.go b/service/worklink/api_op_DescribeDevicePolicyConfiguration.go deleted file mode 100644 index 1945c407df3..00000000000 --- a/service/worklink/api_op_DescribeDevicePolicyConfiguration.go +++ /dev/null @@ -1,160 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Describes the device policy configuration for the specified fleet. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) DescribeDevicePolicyConfiguration(ctx context.Context, params *DescribeDevicePolicyConfigurationInput, optFns ...func(*Options)) (*DescribeDevicePolicyConfigurationOutput, error) { - if params == nil { - params = &DescribeDevicePolicyConfigurationInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "DescribeDevicePolicyConfiguration", params, optFns, c.addOperationDescribeDevicePolicyConfigurationMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*DescribeDevicePolicyConfigurationOutput) - out.ResultMetadata = metadata - return out, nil -} - -type DescribeDevicePolicyConfigurationInput struct { - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - noSmithyDocumentSerde -} - -type DescribeDevicePolicyConfigurationOutput struct { - - // The certificate chain, including intermediate certificates and the root - // certificate authority certificate used to issue device certificates. - DeviceCaCertificate *string - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationDescribeDevicePolicyConfigurationMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpDescribeDevicePolicyConfiguration{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDescribeDevicePolicyConfiguration{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "DescribeDevicePolicyConfiguration"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpDescribeDevicePolicyConfigurationValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDevicePolicyConfiguration(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opDescribeDevicePolicyConfiguration(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "DescribeDevicePolicyConfiguration", - } -} diff --git a/service/worklink/api_op_DescribeDomain.go b/service/worklink/api_op_DescribeDomain.go deleted file mode 100644 index b0163221738..00000000000 --- a/service/worklink/api_op_DescribeDomain.go +++ /dev/null @@ -1,179 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/aws-sdk-go-v2/service/worklink/types" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" - "time" -) - -// Provides information about the domain. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) DescribeDomain(ctx context.Context, params *DescribeDomainInput, optFns ...func(*Options)) (*DescribeDomainOutput, error) { - if params == nil { - params = &DescribeDomainInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "DescribeDomain", params, optFns, c.addOperationDescribeDomainMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*DescribeDomainOutput) - out.ResultMetadata = metadata - return out, nil -} - -type DescribeDomainInput struct { - - // The name of the domain. - // - // This member is required. - DomainName *string - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - noSmithyDocumentSerde -} - -type DescribeDomainOutput struct { - - // The ARN of an issued ACM certificate that is valid for the domain being - // associated. - AcmCertificateArn *string - - // The time that the domain was added. - CreatedTime *time.Time - - // The name to display. - DisplayName *string - - // The name of the domain. - DomainName *string - - // The current state for the domain. - DomainStatus types.DomainStatus - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationDescribeDomainMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpDescribeDomain{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDescribeDomain{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "DescribeDomain"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpDescribeDomainValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomain(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opDescribeDomain(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "DescribeDomain", - } -} diff --git a/service/worklink/api_op_DescribeFleetMetadata.go b/service/worklink/api_op_DescribeFleetMetadata.go deleted file mode 100644 index 00e3d0fd82b..00000000000 --- a/service/worklink/api_op_DescribeFleetMetadata.go +++ /dev/null @@ -1,184 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/aws-sdk-go-v2/service/worklink/types" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" - "time" -) - -// Provides basic information for the specified fleet, excluding identity -// provider, networking, and device configuration details. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) DescribeFleetMetadata(ctx context.Context, params *DescribeFleetMetadataInput, optFns ...func(*Options)) (*DescribeFleetMetadataOutput, error) { - if params == nil { - params = &DescribeFleetMetadataInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "DescribeFleetMetadata", params, optFns, c.addOperationDescribeFleetMetadataMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*DescribeFleetMetadataOutput) - out.ResultMetadata = metadata - return out, nil -} - -type DescribeFleetMetadataInput struct { - - // The Amazon Resource Name (ARN) of the fleet. - // - // This member is required. - FleetArn *string - - noSmithyDocumentSerde -} - -type DescribeFleetMetadataOutput struct { - - // The identifier used by users to sign in to the Amazon WorkLink app. - CompanyCode *string - - // The time that the fleet was created. - CreatedTime *time.Time - - // The name to display. - DisplayName *string - - // The name of the fleet. - FleetName *string - - // The current state of the fleet. - FleetStatus types.FleetStatus - - // The time that the fleet was last updated. - LastUpdatedTime *time.Time - - // The option to optimize for better performance by routing traffic through the - // closest AWS Region to users, which may be outside of your home Region. - OptimizeForEndUserLocation *bool - - // The tags attached to the resource. A tag is a key-value pair. - Tags map[string]string - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationDescribeFleetMetadataMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpDescribeFleetMetadata{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDescribeFleetMetadata{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "DescribeFleetMetadata"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpDescribeFleetMetadataValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetMetadata(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opDescribeFleetMetadata(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "DescribeFleetMetadata", - } -} diff --git a/service/worklink/api_op_DescribeWebsiteCertificateAuthority.go b/service/worklink/api_op_DescribeWebsiteCertificateAuthority.go deleted file mode 100644 index dfdf2f6fabc..00000000000 --- a/service/worklink/api_op_DescribeWebsiteCertificateAuthority.go +++ /dev/null @@ -1,171 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" - "time" -) - -// Provides information about the certificate authority. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) DescribeWebsiteCertificateAuthority(ctx context.Context, params *DescribeWebsiteCertificateAuthorityInput, optFns ...func(*Options)) (*DescribeWebsiteCertificateAuthorityOutput, error) { - if params == nil { - params = &DescribeWebsiteCertificateAuthorityInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "DescribeWebsiteCertificateAuthority", params, optFns, c.addOperationDescribeWebsiteCertificateAuthorityMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*DescribeWebsiteCertificateAuthorityOutput) - out.ResultMetadata = metadata - return out, nil -} - -type DescribeWebsiteCertificateAuthorityInput struct { - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - // A unique identifier for the certificate authority. - // - // This member is required. - WebsiteCaId *string - - noSmithyDocumentSerde -} - -type DescribeWebsiteCertificateAuthorityOutput struct { - - // The root certificate of the certificate authority. - Certificate *string - - // The time that the certificate authority was added. - CreatedTime *time.Time - - // The certificate name to display. - DisplayName *string - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationDescribeWebsiteCertificateAuthorityMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpDescribeWebsiteCertificateAuthority{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDescribeWebsiteCertificateAuthority{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "DescribeWebsiteCertificateAuthority"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpDescribeWebsiteCertificateAuthorityValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWebsiteCertificateAuthority(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opDescribeWebsiteCertificateAuthority(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "DescribeWebsiteCertificateAuthority", - } -} diff --git a/service/worklink/api_op_DisassociateDomain.go b/service/worklink/api_op_DisassociateDomain.go deleted file mode 100644 index c9a8d548b4d..00000000000 --- a/service/worklink/api_op_DisassociateDomain.go +++ /dev/null @@ -1,161 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Disassociates a domain from Amazon WorkLink. End users lose the ability to -// access the domain with Amazon WorkLink. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) DisassociateDomain(ctx context.Context, params *DisassociateDomainInput, optFns ...func(*Options)) (*DisassociateDomainOutput, error) { - if params == nil { - params = &DisassociateDomainInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "DisassociateDomain", params, optFns, c.addOperationDisassociateDomainMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*DisassociateDomainOutput) - out.ResultMetadata = metadata - return out, nil -} - -type DisassociateDomainInput struct { - - // The name of the domain. - // - // This member is required. - DomainName *string - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - noSmithyDocumentSerde -} - -type DisassociateDomainOutput struct { - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationDisassociateDomainMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpDisassociateDomain{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDisassociateDomain{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "DisassociateDomain"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpDisassociateDomainValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateDomain(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opDisassociateDomain(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "DisassociateDomain", - } -} diff --git a/service/worklink/api_op_DisassociateWebsiteAuthorizationProvider.go b/service/worklink/api_op_DisassociateWebsiteAuthorizationProvider.go deleted file mode 100644 index a32b8cc3346..00000000000 --- a/service/worklink/api_op_DisassociateWebsiteAuthorizationProvider.go +++ /dev/null @@ -1,162 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Disassociates a website authorization provider from a specified fleet. After -// the disassociation, users can't load any associated websites that require this -// authorization provider. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) DisassociateWebsiteAuthorizationProvider(ctx context.Context, params *DisassociateWebsiteAuthorizationProviderInput, optFns ...func(*Options)) (*DisassociateWebsiteAuthorizationProviderOutput, error) { - if params == nil { - params = &DisassociateWebsiteAuthorizationProviderInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "DisassociateWebsiteAuthorizationProvider", params, optFns, c.addOperationDisassociateWebsiteAuthorizationProviderMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*DisassociateWebsiteAuthorizationProviderOutput) - out.ResultMetadata = metadata - return out, nil -} - -type DisassociateWebsiteAuthorizationProviderInput struct { - - // A unique identifier for the authorization provider. - // - // This member is required. - AuthorizationProviderId *string - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - noSmithyDocumentSerde -} - -type DisassociateWebsiteAuthorizationProviderOutput struct { - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationDisassociateWebsiteAuthorizationProviderMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpDisassociateWebsiteAuthorizationProvider{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDisassociateWebsiteAuthorizationProvider{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "DisassociateWebsiteAuthorizationProvider"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpDisassociateWebsiteAuthorizationProviderValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateWebsiteAuthorizationProvider(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opDisassociateWebsiteAuthorizationProvider(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "DisassociateWebsiteAuthorizationProvider", - } -} diff --git a/service/worklink/api_op_DisassociateWebsiteCertificateAuthority.go b/service/worklink/api_op_DisassociateWebsiteCertificateAuthority.go deleted file mode 100644 index fa1505c42e9..00000000000 --- a/service/worklink/api_op_DisassociateWebsiteCertificateAuthority.go +++ /dev/null @@ -1,160 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Removes a certificate authority (CA). -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) DisassociateWebsiteCertificateAuthority(ctx context.Context, params *DisassociateWebsiteCertificateAuthorityInput, optFns ...func(*Options)) (*DisassociateWebsiteCertificateAuthorityOutput, error) { - if params == nil { - params = &DisassociateWebsiteCertificateAuthorityInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "DisassociateWebsiteCertificateAuthority", params, optFns, c.addOperationDisassociateWebsiteCertificateAuthorityMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*DisassociateWebsiteCertificateAuthorityOutput) - out.ResultMetadata = metadata - return out, nil -} - -type DisassociateWebsiteCertificateAuthorityInput struct { - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - // A unique identifier for the CA. - // - // This member is required. - WebsiteCaId *string - - noSmithyDocumentSerde -} - -type DisassociateWebsiteCertificateAuthorityOutput struct { - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationDisassociateWebsiteCertificateAuthorityMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpDisassociateWebsiteCertificateAuthority{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpDisassociateWebsiteCertificateAuthority{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "DisassociateWebsiteCertificateAuthority"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpDisassociateWebsiteCertificateAuthorityValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateWebsiteCertificateAuthority(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opDisassociateWebsiteCertificateAuthority(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "DisassociateWebsiteCertificateAuthority", - } -} diff --git a/service/worklink/api_op_ListDevices.go b/service/worklink/api_op_ListDevices.go deleted file mode 100644 index 7ccfb86c3b1..00000000000 --- a/service/worklink/api_op_ListDevices.go +++ /dev/null @@ -1,263 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/aws-sdk-go-v2/service/worklink/types" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Retrieves a list of devices registered with the specified fleet. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) ListDevices(ctx context.Context, params *ListDevicesInput, optFns ...func(*Options)) (*ListDevicesOutput, error) { - if params == nil { - params = &ListDevicesInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "ListDevices", params, optFns, c.addOperationListDevicesMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*ListDevicesOutput) - out.ResultMetadata = metadata - return out, nil -} - -type ListDevicesInput struct { - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - // The maximum number of results to be included in the next page. - MaxResults *int32 - - // The pagination token used to retrieve the next page of results for this - // operation. If this value is null, it retrieves the first page. - NextToken *string - - noSmithyDocumentSerde -} - -type ListDevicesOutput struct { - - // Information about the devices. - Devices []types.DeviceSummary - - // The pagination token used to retrieve the next page of results for this - // operation. If there are no more pages, this value is null. - NextToken *string - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationListDevicesMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpListDevices{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpListDevices{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "ListDevices"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpListDevicesValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevices(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -// ListDevicesPaginatorOptions is the paginator options for ListDevices -type ListDevicesPaginatorOptions struct { - // The maximum number of results to be included in the next page. - Limit int32 - - // Set to true if pagination should stop if the service returns a pagination token - // that matches the most recent token provided to the service. - StopOnDuplicateToken bool -} - -// ListDevicesPaginator is a paginator for ListDevices -type ListDevicesPaginator struct { - options ListDevicesPaginatorOptions - client ListDevicesAPIClient - params *ListDevicesInput - nextToken *string - firstPage bool -} - -// NewListDevicesPaginator returns a new ListDevicesPaginator -func NewListDevicesPaginator(client ListDevicesAPIClient, params *ListDevicesInput, optFns ...func(*ListDevicesPaginatorOptions)) *ListDevicesPaginator { - if params == nil { - params = &ListDevicesInput{} - } - - options := ListDevicesPaginatorOptions{} - if params.MaxResults != nil { - options.Limit = *params.MaxResults - } - - for _, fn := range optFns { - fn(&options) - } - - return &ListDevicesPaginator{ - options: options, - client: client, - params: params, - firstPage: true, - nextToken: params.NextToken, - } -} - -// HasMorePages returns a boolean indicating whether more pages are available -func (p *ListDevicesPaginator) HasMorePages() bool { - return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) -} - -// NextPage retrieves the next ListDevices page. -func (p *ListDevicesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDevicesOutput, error) { - if !p.HasMorePages() { - return nil, fmt.Errorf("no more pages available") - } - - params := *p.params - params.NextToken = p.nextToken - - var limit *int32 - if p.options.Limit > 0 { - limit = &p.options.Limit - } - params.MaxResults = limit - - optFns = append([]func(*Options){ - addIsPaginatorUserAgent, - }, optFns...) - result, err := p.client.ListDevices(ctx, ¶ms, optFns...) - if err != nil { - return nil, err - } - p.firstPage = false - - prevToken := p.nextToken - p.nextToken = result.NextToken - - if p.options.StopOnDuplicateToken && - prevToken != nil && - p.nextToken != nil && - *prevToken == *p.nextToken { - p.nextToken = nil - } - - return result, nil -} - -// ListDevicesAPIClient is a client that implements the ListDevices operation. -type ListDevicesAPIClient interface { - ListDevices(context.Context, *ListDevicesInput, ...func(*Options)) (*ListDevicesOutput, error) -} - -var _ ListDevicesAPIClient = (*Client)(nil) - -func newServiceMetadataMiddleware_opListDevices(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "ListDevices", - } -} diff --git a/service/worklink/api_op_ListDomains.go b/service/worklink/api_op_ListDomains.go deleted file mode 100644 index c833612d164..00000000000 --- a/service/worklink/api_op_ListDomains.go +++ /dev/null @@ -1,263 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/aws-sdk-go-v2/service/worklink/types" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Retrieves a list of domains associated to a specified fleet. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) ListDomains(ctx context.Context, params *ListDomainsInput, optFns ...func(*Options)) (*ListDomainsOutput, error) { - if params == nil { - params = &ListDomainsInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "ListDomains", params, optFns, c.addOperationListDomainsMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*ListDomainsOutput) - out.ResultMetadata = metadata - return out, nil -} - -type ListDomainsInput struct { - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - // The maximum number of results to be included in the next page. - MaxResults *int32 - - // The pagination token used to retrieve the next page of results for this - // operation. If this value is null, it retrieves the first page. - NextToken *string - - noSmithyDocumentSerde -} - -type ListDomainsOutput struct { - - // Information about the domains. - Domains []types.DomainSummary - - // The pagination token used to retrieve the next page of results for this - // operation. If there are no more pages, this value is null. - NextToken *string - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpListDomains{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpListDomains{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "ListDomains"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpListDomainsValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomains(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -// ListDomainsPaginatorOptions is the paginator options for ListDomains -type ListDomainsPaginatorOptions struct { - // The maximum number of results to be included in the next page. - Limit int32 - - // Set to true if pagination should stop if the service returns a pagination token - // that matches the most recent token provided to the service. - StopOnDuplicateToken bool -} - -// ListDomainsPaginator is a paginator for ListDomains -type ListDomainsPaginator struct { - options ListDomainsPaginatorOptions - client ListDomainsAPIClient - params *ListDomainsInput - nextToken *string - firstPage bool -} - -// NewListDomainsPaginator returns a new ListDomainsPaginator -func NewListDomainsPaginator(client ListDomainsAPIClient, params *ListDomainsInput, optFns ...func(*ListDomainsPaginatorOptions)) *ListDomainsPaginator { - if params == nil { - params = &ListDomainsInput{} - } - - options := ListDomainsPaginatorOptions{} - if params.MaxResults != nil { - options.Limit = *params.MaxResults - } - - for _, fn := range optFns { - fn(&options) - } - - return &ListDomainsPaginator{ - options: options, - client: client, - params: params, - firstPage: true, - nextToken: params.NextToken, - } -} - -// HasMorePages returns a boolean indicating whether more pages are available -func (p *ListDomainsPaginator) HasMorePages() bool { - return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) -} - -// NextPage retrieves the next ListDomains page. -func (p *ListDomainsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDomainsOutput, error) { - if !p.HasMorePages() { - return nil, fmt.Errorf("no more pages available") - } - - params := *p.params - params.NextToken = p.nextToken - - var limit *int32 - if p.options.Limit > 0 { - limit = &p.options.Limit - } - params.MaxResults = limit - - optFns = append([]func(*Options){ - addIsPaginatorUserAgent, - }, optFns...) - result, err := p.client.ListDomains(ctx, ¶ms, optFns...) - if err != nil { - return nil, err - } - p.firstPage = false - - prevToken := p.nextToken - p.nextToken = result.NextToken - - if p.options.StopOnDuplicateToken && - prevToken != nil && - p.nextToken != nil && - *prevToken == *p.nextToken { - p.nextToken = nil - } - - return result, nil -} - -// ListDomainsAPIClient is a client that implements the ListDomains operation. -type ListDomainsAPIClient interface { - ListDomains(context.Context, *ListDomainsInput, ...func(*Options)) (*ListDomainsOutput, error) -} - -var _ ListDomainsAPIClient = (*Client)(nil) - -func newServiceMetadataMiddleware_opListDomains(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "ListDomains", - } -} diff --git a/service/worklink/api_op_ListFleets.go b/service/worklink/api_op_ListFleets.go deleted file mode 100644 index 74be1008231..00000000000 --- a/service/worklink/api_op_ListFleets.go +++ /dev/null @@ -1,255 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/aws-sdk-go-v2/service/worklink/types" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Retrieves a list of fleets for the current account and Region. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) ListFleets(ctx context.Context, params *ListFleetsInput, optFns ...func(*Options)) (*ListFleetsOutput, error) { - if params == nil { - params = &ListFleetsInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "ListFleets", params, optFns, c.addOperationListFleetsMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*ListFleetsOutput) - out.ResultMetadata = metadata - return out, nil -} - -type ListFleetsInput struct { - - // The maximum number of results to be included in the next page. - MaxResults *int32 - - // The pagination token used to retrieve the next page of results for this - // operation. If this value is null, it retrieves the first page. - NextToken *string - - noSmithyDocumentSerde -} - -type ListFleetsOutput struct { - - // The summary list of the fleets. - FleetSummaryList []types.FleetSummary - - // The pagination token used to retrieve the next page of results for this - // operation. If there are no more pages, this value is null. - NextToken *string - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationListFleetsMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpListFleets{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpListFleets{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "ListFleets"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFleets(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -// ListFleetsPaginatorOptions is the paginator options for ListFleets -type ListFleetsPaginatorOptions struct { - // The maximum number of results to be included in the next page. - Limit int32 - - // Set to true if pagination should stop if the service returns a pagination token - // that matches the most recent token provided to the service. - StopOnDuplicateToken bool -} - -// ListFleetsPaginator is a paginator for ListFleets -type ListFleetsPaginator struct { - options ListFleetsPaginatorOptions - client ListFleetsAPIClient - params *ListFleetsInput - nextToken *string - firstPage bool -} - -// NewListFleetsPaginator returns a new ListFleetsPaginator -func NewListFleetsPaginator(client ListFleetsAPIClient, params *ListFleetsInput, optFns ...func(*ListFleetsPaginatorOptions)) *ListFleetsPaginator { - if params == nil { - params = &ListFleetsInput{} - } - - options := ListFleetsPaginatorOptions{} - if params.MaxResults != nil { - options.Limit = *params.MaxResults - } - - for _, fn := range optFns { - fn(&options) - } - - return &ListFleetsPaginator{ - options: options, - client: client, - params: params, - firstPage: true, - nextToken: params.NextToken, - } -} - -// HasMorePages returns a boolean indicating whether more pages are available -func (p *ListFleetsPaginator) HasMorePages() bool { - return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) -} - -// NextPage retrieves the next ListFleets page. -func (p *ListFleetsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFleetsOutput, error) { - if !p.HasMorePages() { - return nil, fmt.Errorf("no more pages available") - } - - params := *p.params - params.NextToken = p.nextToken - - var limit *int32 - if p.options.Limit > 0 { - limit = &p.options.Limit - } - params.MaxResults = limit - - optFns = append([]func(*Options){ - addIsPaginatorUserAgent, - }, optFns...) - result, err := p.client.ListFleets(ctx, ¶ms, optFns...) - if err != nil { - return nil, err - } - p.firstPage = false - - prevToken := p.nextToken - p.nextToken = result.NextToken - - if p.options.StopOnDuplicateToken && - prevToken != nil && - p.nextToken != nil && - *prevToken == *p.nextToken { - p.nextToken = nil - } - - return result, nil -} - -// ListFleetsAPIClient is a client that implements the ListFleets operation. -type ListFleetsAPIClient interface { - ListFleets(context.Context, *ListFleetsInput, ...func(*Options)) (*ListFleetsOutput, error) -} - -var _ ListFleetsAPIClient = (*Client)(nil) - -func newServiceMetadataMiddleware_opListFleets(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "ListFleets", - } -} diff --git a/service/worklink/api_op_ListTagsForResource.go b/service/worklink/api_op_ListTagsForResource.go deleted file mode 100644 index a657efeb3fd..00000000000 --- a/service/worklink/api_op_ListTagsForResource.go +++ /dev/null @@ -1,159 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Retrieves a list of tags for the specified resource. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error) { - if params == nil { - params = &ListTagsForResourceInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "ListTagsForResource", params, optFns, c.addOperationListTagsForResourceMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*ListTagsForResourceOutput) - out.ResultMetadata = metadata - return out, nil -} - -type ListTagsForResourceInput struct { - - // The Amazon Resource Name (ARN) of the fleet. - // - // This member is required. - ResourceArn *string - - noSmithyDocumentSerde -} - -type ListTagsForResourceOutput struct { - - // The tags attached to the resource. A tag is a key-value pair. - Tags map[string]string - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpListTagsForResource{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpListTagsForResource{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "ListTagsForResource"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opListTagsForResource(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "ListTagsForResource", - } -} diff --git a/service/worklink/api_op_ListWebsiteAuthorizationProviders.go b/service/worklink/api_op_ListWebsiteAuthorizationProviders.go deleted file mode 100644 index 22948fda5b6..00000000000 --- a/service/worklink/api_op_ListWebsiteAuthorizationProviders.go +++ /dev/null @@ -1,268 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/aws-sdk-go-v2/service/worklink/types" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Retrieves a list of website authorization providers associated with a specified -// fleet. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) ListWebsiteAuthorizationProviders(ctx context.Context, params *ListWebsiteAuthorizationProvidersInput, optFns ...func(*Options)) (*ListWebsiteAuthorizationProvidersOutput, error) { - if params == nil { - params = &ListWebsiteAuthorizationProvidersInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "ListWebsiteAuthorizationProviders", params, optFns, c.addOperationListWebsiteAuthorizationProvidersMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*ListWebsiteAuthorizationProvidersOutput) - out.ResultMetadata = metadata - return out, nil -} - -type ListWebsiteAuthorizationProvidersInput struct { - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - // The maximum number of results to be included in the next page. - MaxResults *int32 - - // The pagination token to use to retrieve the next page of results for this - // operation. If this value is null, it retrieves the first page. - NextToken *string - - noSmithyDocumentSerde -} - -type ListWebsiteAuthorizationProvidersOutput struct { - - // The pagination token to use to retrieve the next page of results for this - // operation. If this value is null, it retrieves the first page. - NextToken *string - - // The website authorization providers. - WebsiteAuthorizationProviders []types.WebsiteAuthorizationProviderSummary - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationListWebsiteAuthorizationProvidersMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpListWebsiteAuthorizationProviders{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpListWebsiteAuthorizationProviders{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "ListWebsiteAuthorizationProviders"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpListWebsiteAuthorizationProvidersValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWebsiteAuthorizationProviders(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -// ListWebsiteAuthorizationProvidersPaginatorOptions is the paginator options for -// ListWebsiteAuthorizationProviders -type ListWebsiteAuthorizationProvidersPaginatorOptions struct { - // The maximum number of results to be included in the next page. - Limit int32 - - // Set to true if pagination should stop if the service returns a pagination token - // that matches the most recent token provided to the service. - StopOnDuplicateToken bool -} - -// ListWebsiteAuthorizationProvidersPaginator is a paginator for -// ListWebsiteAuthorizationProviders -type ListWebsiteAuthorizationProvidersPaginator struct { - options ListWebsiteAuthorizationProvidersPaginatorOptions - client ListWebsiteAuthorizationProvidersAPIClient - params *ListWebsiteAuthorizationProvidersInput - nextToken *string - firstPage bool -} - -// NewListWebsiteAuthorizationProvidersPaginator returns a new -// ListWebsiteAuthorizationProvidersPaginator -func NewListWebsiteAuthorizationProvidersPaginator(client ListWebsiteAuthorizationProvidersAPIClient, params *ListWebsiteAuthorizationProvidersInput, optFns ...func(*ListWebsiteAuthorizationProvidersPaginatorOptions)) *ListWebsiteAuthorizationProvidersPaginator { - if params == nil { - params = &ListWebsiteAuthorizationProvidersInput{} - } - - options := ListWebsiteAuthorizationProvidersPaginatorOptions{} - if params.MaxResults != nil { - options.Limit = *params.MaxResults - } - - for _, fn := range optFns { - fn(&options) - } - - return &ListWebsiteAuthorizationProvidersPaginator{ - options: options, - client: client, - params: params, - firstPage: true, - nextToken: params.NextToken, - } -} - -// HasMorePages returns a boolean indicating whether more pages are available -func (p *ListWebsiteAuthorizationProvidersPaginator) HasMorePages() bool { - return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) -} - -// NextPage retrieves the next ListWebsiteAuthorizationProviders page. -func (p *ListWebsiteAuthorizationProvidersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListWebsiteAuthorizationProvidersOutput, error) { - if !p.HasMorePages() { - return nil, fmt.Errorf("no more pages available") - } - - params := *p.params - params.NextToken = p.nextToken - - var limit *int32 - if p.options.Limit > 0 { - limit = &p.options.Limit - } - params.MaxResults = limit - - optFns = append([]func(*Options){ - addIsPaginatorUserAgent, - }, optFns...) - result, err := p.client.ListWebsiteAuthorizationProviders(ctx, ¶ms, optFns...) - if err != nil { - return nil, err - } - p.firstPage = false - - prevToken := p.nextToken - p.nextToken = result.NextToken - - if p.options.StopOnDuplicateToken && - prevToken != nil && - p.nextToken != nil && - *prevToken == *p.nextToken { - p.nextToken = nil - } - - return result, nil -} - -// ListWebsiteAuthorizationProvidersAPIClient is a client that implements the -// ListWebsiteAuthorizationProviders operation. -type ListWebsiteAuthorizationProvidersAPIClient interface { - ListWebsiteAuthorizationProviders(context.Context, *ListWebsiteAuthorizationProvidersInput, ...func(*Options)) (*ListWebsiteAuthorizationProvidersOutput, error) -} - -var _ ListWebsiteAuthorizationProvidersAPIClient = (*Client)(nil) - -func newServiceMetadataMiddleware_opListWebsiteAuthorizationProviders(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "ListWebsiteAuthorizationProviders", - } -} diff --git a/service/worklink/api_op_ListWebsiteCertificateAuthorities.go b/service/worklink/api_op_ListWebsiteCertificateAuthorities.go deleted file mode 100644 index b52a5336281..00000000000 --- a/service/worklink/api_op_ListWebsiteCertificateAuthorities.go +++ /dev/null @@ -1,268 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/aws-sdk-go-v2/service/worklink/types" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Retrieves a list of certificate authorities added for the current account and -// Region. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) ListWebsiteCertificateAuthorities(ctx context.Context, params *ListWebsiteCertificateAuthoritiesInput, optFns ...func(*Options)) (*ListWebsiteCertificateAuthoritiesOutput, error) { - if params == nil { - params = &ListWebsiteCertificateAuthoritiesInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "ListWebsiteCertificateAuthorities", params, optFns, c.addOperationListWebsiteCertificateAuthoritiesMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*ListWebsiteCertificateAuthoritiesOutput) - out.ResultMetadata = metadata - return out, nil -} - -type ListWebsiteCertificateAuthoritiesInput struct { - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - // The maximum number of results to be included in the next page. - MaxResults *int32 - - // The pagination token used to retrieve the next page of results for this - // operation. If this value is null, it retrieves the first page. - NextToken *string - - noSmithyDocumentSerde -} - -type ListWebsiteCertificateAuthoritiesOutput struct { - - // The pagination token used to retrieve the next page of results for this - // operation. If there are no more pages, this value is null. - NextToken *string - - // Information about the certificates. - WebsiteCertificateAuthorities []types.WebsiteCaSummary - - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationListWebsiteCertificateAuthoritiesMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpListWebsiteCertificateAuthorities{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpListWebsiteCertificateAuthorities{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "ListWebsiteCertificateAuthorities"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpListWebsiteCertificateAuthoritiesValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWebsiteCertificateAuthorities(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -// ListWebsiteCertificateAuthoritiesPaginatorOptions is the paginator options for -// ListWebsiteCertificateAuthorities -type ListWebsiteCertificateAuthoritiesPaginatorOptions struct { - // The maximum number of results to be included in the next page. - Limit int32 - - // Set to true if pagination should stop if the service returns a pagination token - // that matches the most recent token provided to the service. - StopOnDuplicateToken bool -} - -// ListWebsiteCertificateAuthoritiesPaginator is a paginator for -// ListWebsiteCertificateAuthorities -type ListWebsiteCertificateAuthoritiesPaginator struct { - options ListWebsiteCertificateAuthoritiesPaginatorOptions - client ListWebsiteCertificateAuthoritiesAPIClient - params *ListWebsiteCertificateAuthoritiesInput - nextToken *string - firstPage bool -} - -// NewListWebsiteCertificateAuthoritiesPaginator returns a new -// ListWebsiteCertificateAuthoritiesPaginator -func NewListWebsiteCertificateAuthoritiesPaginator(client ListWebsiteCertificateAuthoritiesAPIClient, params *ListWebsiteCertificateAuthoritiesInput, optFns ...func(*ListWebsiteCertificateAuthoritiesPaginatorOptions)) *ListWebsiteCertificateAuthoritiesPaginator { - if params == nil { - params = &ListWebsiteCertificateAuthoritiesInput{} - } - - options := ListWebsiteCertificateAuthoritiesPaginatorOptions{} - if params.MaxResults != nil { - options.Limit = *params.MaxResults - } - - for _, fn := range optFns { - fn(&options) - } - - return &ListWebsiteCertificateAuthoritiesPaginator{ - options: options, - client: client, - params: params, - firstPage: true, - nextToken: params.NextToken, - } -} - -// HasMorePages returns a boolean indicating whether more pages are available -func (p *ListWebsiteCertificateAuthoritiesPaginator) HasMorePages() bool { - return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) -} - -// NextPage retrieves the next ListWebsiteCertificateAuthorities page. -func (p *ListWebsiteCertificateAuthoritiesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListWebsiteCertificateAuthoritiesOutput, error) { - if !p.HasMorePages() { - return nil, fmt.Errorf("no more pages available") - } - - params := *p.params - params.NextToken = p.nextToken - - var limit *int32 - if p.options.Limit > 0 { - limit = &p.options.Limit - } - params.MaxResults = limit - - optFns = append([]func(*Options){ - addIsPaginatorUserAgent, - }, optFns...) - result, err := p.client.ListWebsiteCertificateAuthorities(ctx, ¶ms, optFns...) - if err != nil { - return nil, err - } - p.firstPage = false - - prevToken := p.nextToken - p.nextToken = result.NextToken - - if p.options.StopOnDuplicateToken && - prevToken != nil && - p.nextToken != nil && - *prevToken == *p.nextToken { - p.nextToken = nil - } - - return result, nil -} - -// ListWebsiteCertificateAuthoritiesAPIClient is a client that implements the -// ListWebsiteCertificateAuthorities operation. -type ListWebsiteCertificateAuthoritiesAPIClient interface { - ListWebsiteCertificateAuthorities(context.Context, *ListWebsiteCertificateAuthoritiesInput, ...func(*Options)) (*ListWebsiteCertificateAuthoritiesOutput, error) -} - -var _ ListWebsiteCertificateAuthoritiesAPIClient = (*Client)(nil) - -func newServiceMetadataMiddleware_opListWebsiteCertificateAuthorities(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "ListWebsiteCertificateAuthorities", - } -} diff --git a/service/worklink/api_op_RestoreDomainAccess.go b/service/worklink/api_op_RestoreDomainAccess.go deleted file mode 100644 index f4147295f85..00000000000 --- a/service/worklink/api_op_RestoreDomainAccess.go +++ /dev/null @@ -1,160 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Moves a domain to ACTIVE status if it was in the INACTIVE status. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) RestoreDomainAccess(ctx context.Context, params *RestoreDomainAccessInput, optFns ...func(*Options)) (*RestoreDomainAccessOutput, error) { - if params == nil { - params = &RestoreDomainAccessInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "RestoreDomainAccess", params, optFns, c.addOperationRestoreDomainAccessMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*RestoreDomainAccessOutput) - out.ResultMetadata = metadata - return out, nil -} - -type RestoreDomainAccessInput struct { - - // The name of the domain. - // - // This member is required. - DomainName *string - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - noSmithyDocumentSerde -} - -type RestoreDomainAccessOutput struct { - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationRestoreDomainAccessMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpRestoreDomainAccess{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpRestoreDomainAccess{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "RestoreDomainAccess"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpRestoreDomainAccessValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreDomainAccess(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opRestoreDomainAccess(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "RestoreDomainAccess", - } -} diff --git a/service/worklink/api_op_RevokeDomainAccess.go b/service/worklink/api_op_RevokeDomainAccess.go deleted file mode 100644 index 0e4c9219757..00000000000 --- a/service/worklink/api_op_RevokeDomainAccess.go +++ /dev/null @@ -1,160 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Moves a domain to INACTIVE status if it was in the ACTIVE status. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) RevokeDomainAccess(ctx context.Context, params *RevokeDomainAccessInput, optFns ...func(*Options)) (*RevokeDomainAccessOutput, error) { - if params == nil { - params = &RevokeDomainAccessInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "RevokeDomainAccess", params, optFns, c.addOperationRevokeDomainAccessMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*RevokeDomainAccessOutput) - out.ResultMetadata = metadata - return out, nil -} - -type RevokeDomainAccessInput struct { - - // The name of the domain. - // - // This member is required. - DomainName *string - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - noSmithyDocumentSerde -} - -type RevokeDomainAccessOutput struct { - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationRevokeDomainAccessMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpRevokeDomainAccess{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpRevokeDomainAccess{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "RevokeDomainAccess"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpRevokeDomainAccessValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeDomainAccess(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opRevokeDomainAccess(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "RevokeDomainAccess", - } -} diff --git a/service/worklink/api_op_SignOutUser.go b/service/worklink/api_op_SignOutUser.go deleted file mode 100644 index 7713498c30d..00000000000 --- a/service/worklink/api_op_SignOutUser.go +++ /dev/null @@ -1,161 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Signs the user out from all of their devices. The user can sign in again if -// they have valid credentials. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) SignOutUser(ctx context.Context, params *SignOutUserInput, optFns ...func(*Options)) (*SignOutUserOutput, error) { - if params == nil { - params = &SignOutUserInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "SignOutUser", params, optFns, c.addOperationSignOutUserMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*SignOutUserOutput) - out.ResultMetadata = metadata - return out, nil -} - -type SignOutUserInput struct { - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - // The name of the user. - // - // This member is required. - Username *string - - noSmithyDocumentSerde -} - -type SignOutUserOutput struct { - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationSignOutUserMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpSignOutUser{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpSignOutUser{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "SignOutUser"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpSignOutUserValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSignOutUser(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opSignOutUser(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "SignOutUser", - } -} diff --git a/service/worklink/api_op_TagResource.go b/service/worklink/api_op_TagResource.go deleted file mode 100644 index d5aadbb5358..00000000000 --- a/service/worklink/api_op_TagResource.go +++ /dev/null @@ -1,162 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Adds or overwrites one or more tags for the specified resource, such as a -// fleet. Each tag consists of a key and an optional value. If a resource already -// has a tag with the same key, this operation updates its value. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error) { - if params == nil { - params = &TagResourceInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "TagResource", params, optFns, c.addOperationTagResourceMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*TagResourceOutput) - out.ResultMetadata = metadata - return out, nil -} - -type TagResourceInput struct { - - // The Amazon Resource Name (ARN) of the fleet. - // - // This member is required. - ResourceArn *string - - // The tags to add to the resource. A tag is a key-value pair. - // - // This member is required. - Tags map[string]string - - noSmithyDocumentSerde -} - -type TagResourceOutput struct { - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpTagResource{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpTagResource{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "TagResource"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpTagResourceValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opTagResource(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "TagResource", - } -} diff --git a/service/worklink/api_op_UntagResource.go b/service/worklink/api_op_UntagResource.go deleted file mode 100644 index 3a96e7e84f8..00000000000 --- a/service/worklink/api_op_UntagResource.go +++ /dev/null @@ -1,160 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Removes one or more tags from the specified resource. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error) { - if params == nil { - params = &UntagResourceInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "UntagResource", params, optFns, c.addOperationUntagResourceMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*UntagResourceOutput) - out.ResultMetadata = metadata - return out, nil -} - -type UntagResourceInput struct { - - // The Amazon Resource Name (ARN) of the fleet. - // - // This member is required. - ResourceArn *string - - // The list of tag keys to remove from the resource. - // - // This member is required. - TagKeys []string - - noSmithyDocumentSerde -} - -type UntagResourceOutput struct { - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpUntagResource{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpUntagResource{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "UntagResource"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpUntagResourceValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opUntagResource(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "UntagResource", - } -} diff --git a/service/worklink/api_op_UpdateAuditStreamConfiguration.go b/service/worklink/api_op_UpdateAuditStreamConfiguration.go deleted file mode 100644 index 9adcdddeca6..00000000000 --- a/service/worklink/api_op_UpdateAuditStreamConfiguration.go +++ /dev/null @@ -1,158 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Updates the audit stream configuration for the fleet. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) UpdateAuditStreamConfiguration(ctx context.Context, params *UpdateAuditStreamConfigurationInput, optFns ...func(*Options)) (*UpdateAuditStreamConfigurationOutput, error) { - if params == nil { - params = &UpdateAuditStreamConfigurationInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "UpdateAuditStreamConfiguration", params, optFns, c.addOperationUpdateAuditStreamConfigurationMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*UpdateAuditStreamConfigurationOutput) - out.ResultMetadata = metadata - return out, nil -} - -type UpdateAuditStreamConfigurationInput struct { - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - // The ARN of the Amazon Kinesis data stream that receives the audit events. - AuditStreamArn *string - - noSmithyDocumentSerde -} - -type UpdateAuditStreamConfigurationOutput struct { - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationUpdateAuditStreamConfigurationMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpUpdateAuditStreamConfiguration{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpUpdateAuditStreamConfiguration{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "UpdateAuditStreamConfiguration"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpUpdateAuditStreamConfigurationValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAuditStreamConfiguration(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opUpdateAuditStreamConfiguration(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "UpdateAuditStreamConfiguration", - } -} diff --git a/service/worklink/api_op_UpdateCompanyNetworkConfiguration.go b/service/worklink/api_op_UpdateCompanyNetworkConfiguration.go deleted file mode 100644 index 868ffdf4a23..00000000000 --- a/service/worklink/api_op_UpdateCompanyNetworkConfiguration.go +++ /dev/null @@ -1,171 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Updates the company network configuration for the fleet. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) UpdateCompanyNetworkConfiguration(ctx context.Context, params *UpdateCompanyNetworkConfigurationInput, optFns ...func(*Options)) (*UpdateCompanyNetworkConfigurationOutput, error) { - if params == nil { - params = &UpdateCompanyNetworkConfigurationInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "UpdateCompanyNetworkConfiguration", params, optFns, c.addOperationUpdateCompanyNetworkConfigurationMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*UpdateCompanyNetworkConfigurationOutput) - out.ResultMetadata = metadata - return out, nil -} - -type UpdateCompanyNetworkConfigurationInput struct { - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - // The security groups associated with access to the provided subnets. - // - // This member is required. - SecurityGroupIds []string - - // The subnets used for X-ENI connections from Amazon WorkLink rendering - // containers. - // - // This member is required. - SubnetIds []string - - // The VPC with connectivity to associated websites. - // - // This member is required. - VpcId *string - - noSmithyDocumentSerde -} - -type UpdateCompanyNetworkConfigurationOutput struct { - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationUpdateCompanyNetworkConfigurationMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpUpdateCompanyNetworkConfiguration{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpUpdateCompanyNetworkConfiguration{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "UpdateCompanyNetworkConfiguration"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpUpdateCompanyNetworkConfigurationValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateCompanyNetworkConfiguration(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opUpdateCompanyNetworkConfiguration(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "UpdateCompanyNetworkConfiguration", - } -} diff --git a/service/worklink/api_op_UpdateDevicePolicyConfiguration.go b/service/worklink/api_op_UpdateDevicePolicyConfiguration.go deleted file mode 100644 index 4a13ba33bf5..00000000000 --- a/service/worklink/api_op_UpdateDevicePolicyConfiguration.go +++ /dev/null @@ -1,159 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Updates the device policy configuration for the fleet. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) UpdateDevicePolicyConfiguration(ctx context.Context, params *UpdateDevicePolicyConfigurationInput, optFns ...func(*Options)) (*UpdateDevicePolicyConfigurationOutput, error) { - if params == nil { - params = &UpdateDevicePolicyConfigurationInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "UpdateDevicePolicyConfiguration", params, optFns, c.addOperationUpdateDevicePolicyConfigurationMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*UpdateDevicePolicyConfigurationOutput) - out.ResultMetadata = metadata - return out, nil -} - -type UpdateDevicePolicyConfigurationInput struct { - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - // The certificate chain, including intermediate certificates and the root - // certificate authority certificate used to issue device certificates. - DeviceCaCertificate *string - - noSmithyDocumentSerde -} - -type UpdateDevicePolicyConfigurationOutput struct { - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationUpdateDevicePolicyConfigurationMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpUpdateDevicePolicyConfiguration{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpUpdateDevicePolicyConfiguration{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "UpdateDevicePolicyConfiguration"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpUpdateDevicePolicyConfigurationValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDevicePolicyConfiguration(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opUpdateDevicePolicyConfiguration(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "UpdateDevicePolicyConfiguration", - } -} diff --git a/service/worklink/api_op_UpdateDomainMetadata.go b/service/worklink/api_op_UpdateDomainMetadata.go deleted file mode 100644 index 09985126f51..00000000000 --- a/service/worklink/api_op_UpdateDomainMetadata.go +++ /dev/null @@ -1,163 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Updates domain metadata, such as DisplayName. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) UpdateDomainMetadata(ctx context.Context, params *UpdateDomainMetadataInput, optFns ...func(*Options)) (*UpdateDomainMetadataOutput, error) { - if params == nil { - params = &UpdateDomainMetadataInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "UpdateDomainMetadata", params, optFns, c.addOperationUpdateDomainMetadataMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*UpdateDomainMetadataOutput) - out.ResultMetadata = metadata - return out, nil -} - -type UpdateDomainMetadataInput struct { - - // The name of the domain. - // - // This member is required. - DomainName *string - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - // The name to display. - DisplayName *string - - noSmithyDocumentSerde -} - -type UpdateDomainMetadataOutput struct { - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationUpdateDomainMetadataMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpUpdateDomainMetadata{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpUpdateDomainMetadata{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "UpdateDomainMetadata"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpUpdateDomainMetadataValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDomainMetadata(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opUpdateDomainMetadata(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "UpdateDomainMetadata", - } -} diff --git a/service/worklink/api_op_UpdateFleetMetadata.go b/service/worklink/api_op_UpdateFleetMetadata.go deleted file mode 100644 index f81dc052033..00000000000 --- a/service/worklink/api_op_UpdateFleetMetadata.go +++ /dev/null @@ -1,162 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/smithy-go/middleware" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -// Updates fleet metadata, such as DisplayName. -// -// Deprecated: Amazon WorkLink is no longer supported. This will be removed in a -// future version of the SDK. -func (c *Client) UpdateFleetMetadata(ctx context.Context, params *UpdateFleetMetadataInput, optFns ...func(*Options)) (*UpdateFleetMetadataOutput, error) { - if params == nil { - params = &UpdateFleetMetadataInput{} - } - - result, metadata, err := c.invokeOperation(ctx, "UpdateFleetMetadata", params, optFns, c.addOperationUpdateFleetMetadataMiddlewares) - if err != nil { - return nil, err - } - - out := result.(*UpdateFleetMetadataOutput) - out.ResultMetadata = metadata - return out, nil -} - -type UpdateFleetMetadataInput struct { - - // The ARN of the fleet. - // - // This member is required. - FleetArn *string - - // The fleet name to display. The existing DisplayName is unset if null is passed. - DisplayName *string - - // The option to optimize for better performance by routing traffic through the - // closest AWS Region to users, which may be outside of your home Region. - OptimizeForEndUserLocation *bool - - noSmithyDocumentSerde -} - -type UpdateFleetMetadataOutput struct { - // Metadata pertaining to the operation's result. - ResultMetadata middleware.Metadata - - noSmithyDocumentSerde -} - -func (c *Client) addOperationUpdateFleetMetadataMiddlewares(stack *middleware.Stack, options Options) (err error) { - if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { - return err - } - err = stack.Serialize.Add(&awsRestjson1_serializeOpUpdateFleetMetadata{}, middleware.After) - if err != nil { - return err - } - err = stack.Deserialize.Add(&awsRestjson1_deserializeOpUpdateFleetMetadata{}, middleware.After) - if err != nil { - return err - } - if err := addProtocolFinalizerMiddlewares(stack, options, "UpdateFleetMetadata"); err != nil { - return fmt.Errorf("add protocol finalizers: %v", err) - } - - if err = addlegacyEndpointContextSetter(stack, options); err != nil { - return err - } - if err = addSetLoggerMiddleware(stack, options); err != nil { - return err - } - if err = addClientRequestID(stack); err != nil { - return err - } - if err = addComputeContentLength(stack); err != nil { - return err - } - if err = addResolveEndpointMiddleware(stack, options); err != nil { - return err - } - if err = addComputePayloadSHA256(stack); err != nil { - return err - } - if err = addRetry(stack, options); err != nil { - return err - } - if err = addRawResponseToMetadata(stack); err != nil { - return err - } - if err = addRecordResponseTiming(stack); err != nil { - return err - } - if err = addSpanRetryLoop(stack, options); err != nil { - return err - } - if err = addClientUserAgent(stack, options); err != nil { - return err - } - if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { - return err - } - if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { - return err - } - if err = addTimeOffsetBuild(stack, c); err != nil { - return err - } - if err = addUserAgentRetryMode(stack, options); err != nil { - return err - } - if err = addOpUpdateFleetMetadataValidationMiddleware(stack); err != nil { - return err - } - if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFleetMetadata(options.Region), middleware.Before); err != nil { - return err - } - if err = addRecursionDetection(stack); err != nil { - return err - } - if err = addRequestIDRetrieverMiddleware(stack); err != nil { - return err - } - if err = addResponseErrorMiddleware(stack); err != nil { - return err - } - if err = addRequestResponseLogging(stack, options); err != nil { - return err - } - if err = addDisableHTTPSMiddleware(stack, options); err != nil { - return err - } - if err = addSpanInitializeStart(stack); err != nil { - return err - } - if err = addSpanInitializeEnd(stack); err != nil { - return err - } - if err = addSpanBuildRequestStart(stack); err != nil { - return err - } - if err = addSpanBuildRequestEnd(stack); err != nil { - return err - } - return nil -} - -func newServiceMetadataMiddleware_opUpdateFleetMetadata(region string) *awsmiddleware.RegisterServiceMetadata { - return &awsmiddleware.RegisterServiceMetadata{ - Region: region, - ServiceID: ServiceID, - OperationName: "UpdateFleetMetadata", - } -} diff --git a/service/worklink/auth.go b/service/worklink/auth.go deleted file mode 100644 index 8623945bb8d..00000000000 --- a/service/worklink/auth.go +++ /dev/null @@ -1,313 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - smithy "github.com/aws/smithy-go" - smithyauth "github.com/aws/smithy-go/auth" - "github.com/aws/smithy-go/metrics" - "github.com/aws/smithy-go/middleware" - "github.com/aws/smithy-go/tracing" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -func bindAuthParamsRegion(_ interface{}, params *AuthResolverParameters, _ interface{}, options Options) { - params.Region = options.Region -} - -type setLegacyContextSigningOptionsMiddleware struct { -} - -func (*setLegacyContextSigningOptionsMiddleware) ID() string { - return "setLegacyContextSigningOptions" -} - -func (m *setLegacyContextSigningOptionsMiddleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( - out middleware.FinalizeOutput, metadata middleware.Metadata, err error, -) { - rscheme := getResolvedAuthScheme(ctx) - schemeID := rscheme.Scheme.SchemeID() - - if sn := awsmiddleware.GetSigningName(ctx); sn != "" { - if schemeID == "aws.auth#sigv4" { - smithyhttp.SetSigV4SigningName(&rscheme.SignerProperties, sn) - } else if schemeID == "aws.auth#sigv4a" { - smithyhttp.SetSigV4ASigningName(&rscheme.SignerProperties, sn) - } - } - - if sr := awsmiddleware.GetSigningRegion(ctx); sr != "" { - if schemeID == "aws.auth#sigv4" { - smithyhttp.SetSigV4SigningRegion(&rscheme.SignerProperties, sr) - } else if schemeID == "aws.auth#sigv4a" { - smithyhttp.SetSigV4ASigningRegions(&rscheme.SignerProperties, []string{sr}) - } - } - - return next.HandleFinalize(ctx, in) -} - -func addSetLegacyContextSigningOptionsMiddleware(stack *middleware.Stack) error { - return stack.Finalize.Insert(&setLegacyContextSigningOptionsMiddleware{}, "Signing", middleware.Before) -} - -type withAnonymous struct { - resolver AuthSchemeResolver -} - -var _ AuthSchemeResolver = (*withAnonymous)(nil) - -func (v *withAnonymous) ResolveAuthSchemes(ctx context.Context, params *AuthResolverParameters) ([]*smithyauth.Option, error) { - opts, err := v.resolver.ResolveAuthSchemes(ctx, params) - if err != nil { - return nil, err - } - - opts = append(opts, &smithyauth.Option{ - SchemeID: smithyauth.SchemeIDAnonymous, - }) - return opts, nil -} - -func wrapWithAnonymousAuth(options *Options) { - if _, ok := options.AuthSchemeResolver.(*defaultAuthSchemeResolver); !ok { - return - } - - options.AuthSchemeResolver = &withAnonymous{ - resolver: options.AuthSchemeResolver, - } -} - -// AuthResolverParameters contains the set of inputs necessary for auth scheme -// resolution. -type AuthResolverParameters struct { - // The name of the operation being invoked. - Operation string - - // The region in which the operation is being invoked. - Region string -} - -func bindAuthResolverParams(ctx context.Context, operation string, input interface{}, options Options) *AuthResolverParameters { - params := &AuthResolverParameters{ - Operation: operation, - } - - bindAuthParamsRegion(ctx, params, input, options) - - return params -} - -// AuthSchemeResolver returns a set of possible authentication options for an -// operation. -type AuthSchemeResolver interface { - ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error) -} - -type defaultAuthSchemeResolver struct{} - -var _ AuthSchemeResolver = (*defaultAuthSchemeResolver)(nil) - -func (*defaultAuthSchemeResolver) ResolveAuthSchemes(ctx context.Context, params *AuthResolverParameters) ([]*smithyauth.Option, error) { - if overrides, ok := operationAuthOptions[params.Operation]; ok { - return overrides(params), nil - } - return serviceAuthOptions(params), nil -} - -var operationAuthOptions = map[string]func(*AuthResolverParameters) []*smithyauth.Option{} - -func serviceAuthOptions(params *AuthResolverParameters) []*smithyauth.Option { - return []*smithyauth.Option{ - { - SchemeID: smithyauth.SchemeIDSigV4, - SignerProperties: func() smithy.Properties { - var props smithy.Properties - smithyhttp.SetSigV4SigningName(&props, "worklink") - smithyhttp.SetSigV4SigningRegion(&props, params.Region) - return props - }(), - }, - } -} - -type resolveAuthSchemeMiddleware struct { - operation string - options Options -} - -func (*resolveAuthSchemeMiddleware) ID() string { - return "ResolveAuthScheme" -} - -func (m *resolveAuthSchemeMiddleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( - out middleware.FinalizeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "ResolveAuthScheme") - defer span.End() - - params := bindAuthResolverParams(ctx, m.operation, getOperationInput(ctx), m.options) - options, err := m.options.AuthSchemeResolver.ResolveAuthSchemes(ctx, params) - if err != nil { - return out, metadata, fmt.Errorf("resolve auth scheme: %w", err) - } - - scheme, ok := m.selectScheme(options) - if !ok { - return out, metadata, fmt.Errorf("could not select an auth scheme") - } - - ctx = setResolvedAuthScheme(ctx, scheme) - - span.SetProperty("auth.scheme_id", scheme.Scheme.SchemeID()) - span.End() - return next.HandleFinalize(ctx, in) -} - -func (m *resolveAuthSchemeMiddleware) selectScheme(options []*smithyauth.Option) (*resolvedAuthScheme, bool) { - for _, option := range options { - if option.SchemeID == smithyauth.SchemeIDAnonymous { - return newResolvedAuthScheme(smithyhttp.NewAnonymousScheme(), option), true - } - - for _, scheme := range m.options.AuthSchemes { - if scheme.SchemeID() != option.SchemeID { - continue - } - - if scheme.IdentityResolver(m.options) != nil { - return newResolvedAuthScheme(scheme, option), true - } - } - } - - return nil, false -} - -type resolvedAuthSchemeKey struct{} - -type resolvedAuthScheme struct { - Scheme smithyhttp.AuthScheme - IdentityProperties smithy.Properties - SignerProperties smithy.Properties -} - -func newResolvedAuthScheme(scheme smithyhttp.AuthScheme, option *smithyauth.Option) *resolvedAuthScheme { - return &resolvedAuthScheme{ - Scheme: scheme, - IdentityProperties: option.IdentityProperties, - SignerProperties: option.SignerProperties, - } -} - -func setResolvedAuthScheme(ctx context.Context, scheme *resolvedAuthScheme) context.Context { - return middleware.WithStackValue(ctx, resolvedAuthSchemeKey{}, scheme) -} - -func getResolvedAuthScheme(ctx context.Context) *resolvedAuthScheme { - v, _ := middleware.GetStackValue(ctx, resolvedAuthSchemeKey{}).(*resolvedAuthScheme) - return v -} - -type getIdentityMiddleware struct { - options Options -} - -func (*getIdentityMiddleware) ID() string { - return "GetIdentity" -} - -func (m *getIdentityMiddleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( - out middleware.FinalizeOutput, metadata middleware.Metadata, err error, -) { - innerCtx, span := tracing.StartSpan(ctx, "GetIdentity") - defer span.End() - - rscheme := getResolvedAuthScheme(innerCtx) - if rscheme == nil { - return out, metadata, fmt.Errorf("no resolved auth scheme") - } - - resolver := rscheme.Scheme.IdentityResolver(m.options) - if resolver == nil { - return out, metadata, fmt.Errorf("no identity resolver") - } - - identity, err := timeOperationMetric(ctx, "client.call.resolve_identity_duration", - func() (smithyauth.Identity, error) { - return resolver.GetIdentity(innerCtx, rscheme.IdentityProperties) - }, - func(o *metrics.RecordMetricOptions) { - o.Properties.Set("auth.scheme_id", rscheme.Scheme.SchemeID()) - }) - if err != nil { - return out, metadata, fmt.Errorf("get identity: %w", err) - } - - ctx = setIdentity(ctx, identity) - - span.End() - return next.HandleFinalize(ctx, in) -} - -type identityKey struct{} - -func setIdentity(ctx context.Context, identity smithyauth.Identity) context.Context { - return middleware.WithStackValue(ctx, identityKey{}, identity) -} - -func getIdentity(ctx context.Context) smithyauth.Identity { - v, _ := middleware.GetStackValue(ctx, identityKey{}).(smithyauth.Identity) - return v -} - -type signRequestMiddleware struct { - options Options -} - -func (*signRequestMiddleware) ID() string { - return "Signing" -} - -func (m *signRequestMiddleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( - out middleware.FinalizeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "SignRequest") - defer span.End() - - req, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, fmt.Errorf("unexpected transport type %T", in.Request) - } - - rscheme := getResolvedAuthScheme(ctx) - if rscheme == nil { - return out, metadata, fmt.Errorf("no resolved auth scheme") - } - - identity := getIdentity(ctx) - if identity == nil { - return out, metadata, fmt.Errorf("no identity") - } - - signer := rscheme.Scheme.Signer() - if signer == nil { - return out, metadata, fmt.Errorf("no signer") - } - - _, err = timeOperationMetric(ctx, "client.call.signing_duration", func() (any, error) { - return nil, signer.SignRequest(ctx, req, identity, rscheme.SignerProperties) - }, func(o *metrics.RecordMetricOptions) { - o.Properties.Set("auth.scheme_id", rscheme.Scheme.SchemeID()) - }) - if err != nil { - return out, metadata, fmt.Errorf("sign request: %w", err) - } - - span.End() - return next.HandleFinalize(ctx, in) -} diff --git a/service/worklink/deserializers.go b/service/worklink/deserializers.go deleted file mode 100644 index 2c2f54cdd08..00000000000 --- a/service/worklink/deserializers.go +++ /dev/null @@ -1,5844 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "bytes" - "context" - "encoding/json" - "fmt" - "github.com/aws/aws-sdk-go-v2/aws/protocol/restjson" - "github.com/aws/aws-sdk-go-v2/service/worklink/types" - smithy "github.com/aws/smithy-go" - smithyio "github.com/aws/smithy-go/io" - "github.com/aws/smithy-go/middleware" - "github.com/aws/smithy-go/ptr" - smithytime "github.com/aws/smithy-go/time" - "github.com/aws/smithy-go/tracing" - smithyhttp "github.com/aws/smithy-go/transport/http" - "io" - "strings" - "time" -) - -func deserializeS3Expires(v string) (*time.Time, error) { - t, err := smithytime.ParseHTTPDate(v) - if err != nil { - return nil, nil - } - return &t, nil -} - -type awsRestjson1_deserializeOpAssociateDomain struct { -} - -func (*awsRestjson1_deserializeOpAssociateDomain) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpAssociateDomain) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorAssociateDomain(response, &metadata) - } - output := &AssociateDomainOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorAssociateDomain(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceAlreadyExistsException", errorCode): - return awsRestjson1_deserializeErrorResourceAlreadyExistsException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestjson1_deserializeOpAssociateWebsiteAuthorizationProvider struct { -} - -func (*awsRestjson1_deserializeOpAssociateWebsiteAuthorizationProvider) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpAssociateWebsiteAuthorizationProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorAssociateWebsiteAuthorizationProvider(response, &metadata) - } - output := &AssociateWebsiteAuthorizationProviderOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentAssociateWebsiteAuthorizationProviderOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorAssociateWebsiteAuthorizationProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceAlreadyExistsException", errorCode): - return awsRestjson1_deserializeErrorResourceAlreadyExistsException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentAssociateWebsiteAuthorizationProviderOutput(v **AssociateWebsiteAuthorizationProviderOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *AssociateWebsiteAuthorizationProviderOutput - if *v == nil { - sv = &AssociateWebsiteAuthorizationProviderOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "AuthorizationProviderId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Id to be of type string, got %T instead", value) - } - sv.AuthorizationProviderId = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpAssociateWebsiteCertificateAuthority struct { -} - -func (*awsRestjson1_deserializeOpAssociateWebsiteCertificateAuthority) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpAssociateWebsiteCertificateAuthority) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorAssociateWebsiteCertificateAuthority(response, &metadata) - } - output := &AssociateWebsiteCertificateAuthorityOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentAssociateWebsiteCertificateAuthorityOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorAssociateWebsiteCertificateAuthority(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceAlreadyExistsException", errorCode): - return awsRestjson1_deserializeErrorResourceAlreadyExistsException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentAssociateWebsiteCertificateAuthorityOutput(v **AssociateWebsiteCertificateAuthorityOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *AssociateWebsiteCertificateAuthorityOutput - if *v == nil { - sv = &AssociateWebsiteCertificateAuthorityOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "WebsiteCaId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Id to be of type string, got %T instead", value) - } - sv.WebsiteCaId = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpCreateFleet struct { -} - -func (*awsRestjson1_deserializeOpCreateFleet) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpCreateFleet) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorCreateFleet(response, &metadata) - } - output := &CreateFleetOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentCreateFleetOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorCreateFleet(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceAlreadyExistsException", errorCode): - return awsRestjson1_deserializeErrorResourceAlreadyExistsException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentCreateFleetOutput(v **CreateFleetOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *CreateFleetOutput - if *v == nil { - sv = &CreateFleetOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "FleetArn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected FleetArn to be of type string, got %T instead", value) - } - sv.FleetArn = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpDeleteFleet struct { -} - -func (*awsRestjson1_deserializeOpDeleteFleet) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpDeleteFleet) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorDeleteFleet(response, &metadata) - } - output := &DeleteFleetOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorDeleteFleet(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestjson1_deserializeOpDescribeAuditStreamConfiguration struct { -} - -func (*awsRestjson1_deserializeOpDescribeAuditStreamConfiguration) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpDescribeAuditStreamConfiguration) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorDescribeAuditStreamConfiguration(response, &metadata) - } - output := &DescribeAuditStreamConfigurationOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentDescribeAuditStreamConfigurationOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorDescribeAuditStreamConfiguration(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentDescribeAuditStreamConfigurationOutput(v **DescribeAuditStreamConfigurationOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *DescribeAuditStreamConfigurationOutput - if *v == nil { - sv = &DescribeAuditStreamConfigurationOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "AuditStreamArn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected AuditStreamArn to be of type string, got %T instead", value) - } - sv.AuditStreamArn = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpDescribeCompanyNetworkConfiguration struct { -} - -func (*awsRestjson1_deserializeOpDescribeCompanyNetworkConfiguration) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpDescribeCompanyNetworkConfiguration) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorDescribeCompanyNetworkConfiguration(response, &metadata) - } - output := &DescribeCompanyNetworkConfigurationOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentDescribeCompanyNetworkConfigurationOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorDescribeCompanyNetworkConfiguration(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentDescribeCompanyNetworkConfigurationOutput(v **DescribeCompanyNetworkConfigurationOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *DescribeCompanyNetworkConfigurationOutput - if *v == nil { - sv = &DescribeCompanyNetworkConfigurationOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "SecurityGroupIds": - if err := awsRestjson1_deserializeDocumentSecurityGroupIds(&sv.SecurityGroupIds, value); err != nil { - return err - } - - case "SubnetIds": - if err := awsRestjson1_deserializeDocumentSubnetIds(&sv.SubnetIds, value); err != nil { - return err - } - - case "VpcId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected VpcId to be of type string, got %T instead", value) - } - sv.VpcId = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpDescribeDevice struct { -} - -func (*awsRestjson1_deserializeOpDescribeDevice) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpDescribeDevice) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorDescribeDevice(response, &metadata) - } - output := &DescribeDeviceOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorDescribeDevice(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *DescribeDeviceOutput - if *v == nil { - sv = &DescribeDeviceOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "FirstAccessedTime": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.FirstAccessedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected DateTime to be a JSON Number, got %T instead", value) - - } - } - - case "LastAccessedTime": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.LastAccessedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected DateTime to be a JSON Number, got %T instead", value) - - } - } - - case "Manufacturer": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DeviceManufacturer to be of type string, got %T instead", value) - } - sv.Manufacturer = ptr.String(jtv) - } - - case "Model": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DeviceModel to be of type string, got %T instead", value) - } - sv.Model = ptr.String(jtv) - } - - case "OperatingSystem": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DeviceOperatingSystemName to be of type string, got %T instead", value) - } - sv.OperatingSystem = ptr.String(jtv) - } - - case "OperatingSystemVersion": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DeviceOperatingSystemVersion to be of type string, got %T instead", value) - } - sv.OperatingSystemVersion = ptr.String(jtv) - } - - case "PatchLevel": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DevicePatchLevel to be of type string, got %T instead", value) - } - sv.PatchLevel = ptr.String(jtv) - } - - case "Status": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DeviceStatus to be of type string, got %T instead", value) - } - sv.Status = types.DeviceStatus(jtv) - } - - case "Username": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Username to be of type string, got %T instead", value) - } - sv.Username = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpDescribeDevicePolicyConfiguration struct { -} - -func (*awsRestjson1_deserializeOpDescribeDevicePolicyConfiguration) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpDescribeDevicePolicyConfiguration) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorDescribeDevicePolicyConfiguration(response, &metadata) - } - output := &DescribeDevicePolicyConfigurationOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentDescribeDevicePolicyConfigurationOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorDescribeDevicePolicyConfiguration(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentDescribeDevicePolicyConfigurationOutput(v **DescribeDevicePolicyConfigurationOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *DescribeDevicePolicyConfigurationOutput - if *v == nil { - sv = &DescribeDevicePolicyConfigurationOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "DeviceCaCertificate": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Certificate to be of type string, got %T instead", value) - } - sv.DeviceCaCertificate = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpDescribeDomain struct { -} - -func (*awsRestjson1_deserializeOpDescribeDomain) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpDescribeDomain) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorDescribeDomain(response, &metadata) - } - output := &DescribeDomainOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentDescribeDomainOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorDescribeDomain(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentDescribeDomainOutput(v **DescribeDomainOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *DescribeDomainOutput - if *v == nil { - sv = &DescribeDomainOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "AcmCertificateArn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected AcmCertificateArn to be of type string, got %T instead", value) - } - sv.AcmCertificateArn = ptr.String(jtv) - } - - case "CreatedTime": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.CreatedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected DateTime to be a JSON Number, got %T instead", value) - - } - } - - case "DisplayName": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DisplayName to be of type string, got %T instead", value) - } - sv.DisplayName = ptr.String(jtv) - } - - case "DomainName": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DomainName to be of type string, got %T instead", value) - } - sv.DomainName = ptr.String(jtv) - } - - case "DomainStatus": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DomainStatus to be of type string, got %T instead", value) - } - sv.DomainStatus = types.DomainStatus(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpDescribeFleetMetadata struct { -} - -func (*awsRestjson1_deserializeOpDescribeFleetMetadata) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpDescribeFleetMetadata) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorDescribeFleetMetadata(response, &metadata) - } - output := &DescribeFleetMetadataOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentDescribeFleetMetadataOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorDescribeFleetMetadata(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentDescribeFleetMetadataOutput(v **DescribeFleetMetadataOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *DescribeFleetMetadataOutput - if *v == nil { - sv = &DescribeFleetMetadataOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "CompanyCode": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected CompanyCode to be of type string, got %T instead", value) - } - sv.CompanyCode = ptr.String(jtv) - } - - case "CreatedTime": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.CreatedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected DateTime to be a JSON Number, got %T instead", value) - - } - } - - case "DisplayName": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DisplayName to be of type string, got %T instead", value) - } - sv.DisplayName = ptr.String(jtv) - } - - case "FleetName": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected FleetName to be of type string, got %T instead", value) - } - sv.FleetName = ptr.String(jtv) - } - - case "FleetStatus": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected FleetStatus to be of type string, got %T instead", value) - } - sv.FleetStatus = types.FleetStatus(jtv) - } - - case "LastUpdatedTime": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.LastUpdatedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected DateTime to be a JSON Number, got %T instead", value) - - } - } - - case "OptimizeForEndUserLocation": - if value != nil { - jtv, ok := value.(bool) - if !ok { - return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) - } - sv.OptimizeForEndUserLocation = ptr.Bool(jtv) - } - - case "Tags": - if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { - return err - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpDescribeIdentityProviderConfiguration struct { -} - -func (*awsRestjson1_deserializeOpDescribeIdentityProviderConfiguration) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpDescribeIdentityProviderConfiguration) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorDescribeIdentityProviderConfiguration(response, &metadata) - } - output := &DescribeIdentityProviderConfigurationOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentDescribeIdentityProviderConfigurationOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorDescribeIdentityProviderConfiguration(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentDescribeIdentityProviderConfigurationOutput(v **DescribeIdentityProviderConfigurationOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *DescribeIdentityProviderConfigurationOutput - if *v == nil { - sv = &DescribeIdentityProviderConfigurationOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "IdentityProviderSamlMetadata": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected SamlMetadata to be of type string, got %T instead", value) - } - sv.IdentityProviderSamlMetadata = ptr.String(jtv) - } - - case "IdentityProviderType": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected IdentityProviderType to be of type string, got %T instead", value) - } - sv.IdentityProviderType = types.IdentityProviderType(jtv) - } - - case "ServiceProviderSamlMetadata": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected SamlMetadata to be of type string, got %T instead", value) - } - sv.ServiceProviderSamlMetadata = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpDescribeWebsiteCertificateAuthority struct { -} - -func (*awsRestjson1_deserializeOpDescribeWebsiteCertificateAuthority) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpDescribeWebsiteCertificateAuthority) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorDescribeWebsiteCertificateAuthority(response, &metadata) - } - output := &DescribeWebsiteCertificateAuthorityOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentDescribeWebsiteCertificateAuthorityOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorDescribeWebsiteCertificateAuthority(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentDescribeWebsiteCertificateAuthorityOutput(v **DescribeWebsiteCertificateAuthorityOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *DescribeWebsiteCertificateAuthorityOutput - if *v == nil { - sv = &DescribeWebsiteCertificateAuthorityOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "Certificate": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Certificate to be of type string, got %T instead", value) - } - sv.Certificate = ptr.String(jtv) - } - - case "CreatedTime": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.CreatedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected DateTime to be a JSON Number, got %T instead", value) - - } - } - - case "DisplayName": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DisplayName to be of type string, got %T instead", value) - } - sv.DisplayName = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpDisassociateDomain struct { -} - -func (*awsRestjson1_deserializeOpDisassociateDomain) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpDisassociateDomain) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorDisassociateDomain(response, &metadata) - } - output := &DisassociateDomainOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorDisassociateDomain(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestjson1_deserializeOpDisassociateWebsiteAuthorizationProvider struct { -} - -func (*awsRestjson1_deserializeOpDisassociateWebsiteAuthorizationProvider) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpDisassociateWebsiteAuthorizationProvider) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorDisassociateWebsiteAuthorizationProvider(response, &metadata) - } - output := &DisassociateWebsiteAuthorizationProviderOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorDisassociateWebsiteAuthorizationProvider(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceAlreadyExistsException", errorCode): - return awsRestjson1_deserializeErrorResourceAlreadyExistsException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestjson1_deserializeOpDisassociateWebsiteCertificateAuthority struct { -} - -func (*awsRestjson1_deserializeOpDisassociateWebsiteCertificateAuthority) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpDisassociateWebsiteCertificateAuthority) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorDisassociateWebsiteCertificateAuthority(response, &metadata) - } - output := &DisassociateWebsiteCertificateAuthorityOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorDisassociateWebsiteCertificateAuthority(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestjson1_deserializeOpListDevices struct { -} - -func (*awsRestjson1_deserializeOpListDevices) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpListDevices) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListDevices(response, &metadata) - } - output := &ListDevicesOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentListDevicesOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorListDevices(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentListDevicesOutput(v **ListDevicesOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *ListDevicesOutput - if *v == nil { - sv = &ListDevicesOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "Devices": - if err := awsRestjson1_deserializeDocumentDeviceSummaryList(&sv.Devices, value); err != nil { - 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 - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpListDomains struct { -} - -func (*awsRestjson1_deserializeOpListDomains) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpListDomains) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListDomains(response, &metadata) - } - output := &ListDomainsOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentListDomainsOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorListDomains(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentListDomainsOutput(v **ListDomainsOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *ListDomainsOutput - if *v == nil { - sv = &ListDomainsOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "Domains": - if err := awsRestjson1_deserializeDocumentDomainSummaryList(&sv.Domains, value); err != nil { - 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 - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpListFleets struct { -} - -func (*awsRestjson1_deserializeOpListFleets) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpListFleets) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListFleets(response, &metadata) - } - output := &ListFleetsOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentListFleetsOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorListFleets(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentListFleetsOutput(v **ListFleetsOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *ListFleetsOutput - if *v == nil { - sv = &ListFleetsOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "FleetSummaryList": - if err := awsRestjson1_deserializeDocumentFleetSummaryList(&sv.FleetSummaryList, value); err != nil { - 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 - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpListTagsForResource struct { -} - -func (*awsRestjson1_deserializeOpListTagsForResource) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpListTagsForResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListTagsForResource(response, &metadata) - } - output := &ListTagsForResourceOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorListTagsForResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsForResourceOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *ListTagsForResourceOutput - if *v == nil { - sv = &ListTagsForResourceOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "Tags": - if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { - return err - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpListWebsiteAuthorizationProviders struct { -} - -func (*awsRestjson1_deserializeOpListWebsiteAuthorizationProviders) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpListWebsiteAuthorizationProviders) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListWebsiteAuthorizationProviders(response, &metadata) - } - output := &ListWebsiteAuthorizationProvidersOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentListWebsiteAuthorizationProvidersOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorListWebsiteAuthorizationProviders(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentListWebsiteAuthorizationProvidersOutput(v **ListWebsiteAuthorizationProvidersOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *ListWebsiteAuthorizationProvidersOutput - if *v == nil { - sv = &ListWebsiteAuthorizationProvidersOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - 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) - } - - case "WebsiteAuthorizationProviders": - if err := awsRestjson1_deserializeDocumentWebsiteAuthorizationProvidersSummaryList(&sv.WebsiteAuthorizationProviders, value); err != nil { - return err - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpListWebsiteCertificateAuthorities struct { -} - -func (*awsRestjson1_deserializeOpListWebsiteCertificateAuthorities) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpListWebsiteCertificateAuthorities) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorListWebsiteCertificateAuthorities(response, &metadata) - } - output := &ListWebsiteCertificateAuthoritiesOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsRestjson1_deserializeOpDocumentListWebsiteCertificateAuthoritiesOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - return out, metadata, &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body with invalid JSON, %w", err), - Snapshot: snapshot.Bytes(), - } - } - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorListWebsiteCertificateAuthorities(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeOpDocumentListWebsiteCertificateAuthoritiesOutput(v **ListWebsiteCertificateAuthoritiesOutput, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *ListWebsiteCertificateAuthoritiesOutput - if *v == nil { - sv = &ListWebsiteCertificateAuthoritiesOutput{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - 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) - } - - case "WebsiteCertificateAuthorities": - if err := awsRestjson1_deserializeDocumentWebsiteCaSummaryList(&sv.WebsiteCertificateAuthorities, value); err != nil { - return err - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -type awsRestjson1_deserializeOpRestoreDomainAccess struct { -} - -func (*awsRestjson1_deserializeOpRestoreDomainAccess) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpRestoreDomainAccess) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorRestoreDomainAccess(response, &metadata) - } - output := &RestoreDomainAccessOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorRestoreDomainAccess(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestjson1_deserializeOpRevokeDomainAccess struct { -} - -func (*awsRestjson1_deserializeOpRevokeDomainAccess) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpRevokeDomainAccess) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorRevokeDomainAccess(response, &metadata) - } - output := &RevokeDomainAccessOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorRevokeDomainAccess(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestjson1_deserializeOpSignOutUser struct { -} - -func (*awsRestjson1_deserializeOpSignOutUser) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpSignOutUser) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorSignOutUser(response, &metadata) - } - output := &SignOutUserOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorSignOutUser(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestjson1_deserializeOpTagResource struct { -} - -func (*awsRestjson1_deserializeOpTagResource) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpTagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorTagResource(response, &metadata) - } - output := &TagResourceOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorTagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestjson1_deserializeOpUntagResource struct { -} - -func (*awsRestjson1_deserializeOpUntagResource) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpUntagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUntagResource(response, &metadata) - } - output := &UntagResourceOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorUntagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestjson1_deserializeOpUpdateAuditStreamConfiguration struct { -} - -func (*awsRestjson1_deserializeOpUpdateAuditStreamConfiguration) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpUpdateAuditStreamConfiguration) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateAuditStreamConfiguration(response, &metadata) - } - output := &UpdateAuditStreamConfigurationOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorUpdateAuditStreamConfiguration(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestjson1_deserializeOpUpdateCompanyNetworkConfiguration struct { -} - -func (*awsRestjson1_deserializeOpUpdateCompanyNetworkConfiguration) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpUpdateCompanyNetworkConfiguration) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateCompanyNetworkConfiguration(response, &metadata) - } - output := &UpdateCompanyNetworkConfigurationOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorUpdateCompanyNetworkConfiguration(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestjson1_deserializeOpUpdateDevicePolicyConfiguration struct { -} - -func (*awsRestjson1_deserializeOpUpdateDevicePolicyConfiguration) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpUpdateDevicePolicyConfiguration) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateDevicePolicyConfiguration(response, &metadata) - } - output := &UpdateDevicePolicyConfigurationOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorUpdateDevicePolicyConfiguration(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestjson1_deserializeOpUpdateDomainMetadata struct { -} - -func (*awsRestjson1_deserializeOpUpdateDomainMetadata) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpUpdateDomainMetadata) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateDomainMetadata(response, &metadata) - } - output := &UpdateDomainMetadataOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorUpdateDomainMetadata(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestjson1_deserializeOpUpdateFleetMetadata struct { -} - -func (*awsRestjson1_deserializeOpUpdateFleetMetadata) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpUpdateFleetMetadata) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateFleetMetadata(response, &metadata) - } - output := &UpdateFleetMetadataOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorUpdateFleetMetadata(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsRestjson1_deserializeOpUpdateIdentityProviderConfiguration struct { -} - -func (*awsRestjson1_deserializeOpUpdateIdentityProviderConfiguration) ID() string { - return "OperationDeserializer" -} - -func (m *awsRestjson1_deserializeOpUpdateIdentityProviderConfiguration) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - _, span := tracing.StartSpan(ctx, "OperationDeserializer") - endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") - defer endTimer() - defer span.End() - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsRestjson1_deserializeOpErrorUpdateIdentityProviderConfiguration(response, &metadata) - } - output := &UpdateIdentityProviderConfigurationOutput{} - out.Result = output - - span.End() - return out, metadata, err -} - -func awsRestjson1_deserializeOpErrorUpdateIdentityProviderConfiguration(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - headerCode := response.Header.Get("X-Amzn-ErrorType") - if len(headerCode) != 0 { - errorCode = restjson.SanitizeErrorCode(headerCode) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - jsonCode, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(headerCode) == 0 && len(jsonCode) != 0 { - errorCode = restjson.SanitizeErrorCode(jsonCode) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - case strings.EqualFold("InternalServerErrorException", errorCode): - return awsRestjson1_deserializeErrorInternalServerErrorException(response, errorBody) - - case strings.EqualFold("InvalidRequestException", errorCode): - return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) - - case strings.EqualFold("ResourceNotFoundException", errorCode): - return awsRestjson1_deserializeErrorResourceNotFoundException(response, errorBody) - - case strings.EqualFold("TooManyRequestsException", errorCode): - return awsRestjson1_deserializeErrorTooManyRequestsException(response, errorBody) - - case strings.EqualFold("UnauthorizedException", errorCode): - return awsRestjson1_deserializeErrorUnauthorizedException(response, errorBody) - - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -func awsRestjson1_deserializeErrorInternalServerErrorException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InternalServerErrorException{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - err := awsRestjson1_deserializeDocumentInternalServerErrorException(&output, shape) - - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - - return output -} - -func awsRestjson1_deserializeErrorInvalidRequestException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.InvalidRequestException{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - err := awsRestjson1_deserializeDocumentInvalidRequestException(&output, shape) - - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - - return output -} - -func awsRestjson1_deserializeErrorResourceAlreadyExistsException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.ResourceAlreadyExistsException{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - err := awsRestjson1_deserializeDocumentResourceAlreadyExistsException(&output, shape) - - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - - return output -} - -func awsRestjson1_deserializeErrorResourceNotFoundException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.ResourceNotFoundException{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - err := awsRestjson1_deserializeDocumentResourceNotFoundException(&output, shape) - - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - - return output -} - -func awsRestjson1_deserializeErrorTooManyRequestsException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.TooManyRequestsException{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - err := awsRestjson1_deserializeDocumentTooManyRequestsException(&output, shape) - - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - - return output -} - -func awsRestjson1_deserializeErrorUnauthorizedException(response *smithyhttp.Response, errorBody *bytes.Reader) error { - output := &types.UnauthorizedException{} - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - err := awsRestjson1_deserializeDocumentUnauthorizedException(&output, shape) - - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - - return output -} - -func awsRestjson1_deserializeDocumentDeviceSummary(v **types.DeviceSummary, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *types.DeviceSummary - if *v == nil { - sv = &types.DeviceSummary{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "DeviceId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Id to be of type string, got %T instead", value) - } - sv.DeviceId = ptr.String(jtv) - } - - case "DeviceStatus": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DeviceStatus to be of type string, got %T instead", value) - } - sv.DeviceStatus = types.DeviceStatus(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentDeviceSummaryList(v *[]types.DeviceSummary, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.([]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var cv []types.DeviceSummary - if *v == nil { - cv = []types.DeviceSummary{} - } else { - cv = *v - } - - for _, value := range shape { - var col types.DeviceSummary - destAddr := &col - if err := awsRestjson1_deserializeDocumentDeviceSummary(&destAddr, value); err != nil { - return err - } - col = *destAddr - cv = append(cv, col) - - } - *v = cv - return nil -} - -func awsRestjson1_deserializeDocumentDomainSummary(v **types.DomainSummary, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *types.DomainSummary - if *v == nil { - sv = &types.DomainSummary{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "CreatedTime": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.CreatedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected DateTime to be a JSON Number, got %T instead", value) - - } - } - - case "DisplayName": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DisplayName to be of type string, got %T instead", value) - } - sv.DisplayName = ptr.String(jtv) - } - - case "DomainName": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DomainName to be of type string, got %T instead", value) - } - sv.DomainName = ptr.String(jtv) - } - - case "DomainStatus": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DomainStatus to be of type string, got %T instead", value) - } - sv.DomainStatus = types.DomainStatus(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentDomainSummaryList(v *[]types.DomainSummary, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.([]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var cv []types.DomainSummary - if *v == nil { - cv = []types.DomainSummary{} - } else { - cv = *v - } - - for _, value := range shape { - var col types.DomainSummary - destAddr := &col - if err := awsRestjson1_deserializeDocumentDomainSummary(&destAddr, value); err != nil { - return err - } - col = *destAddr - cv = append(cv, col) - - } - *v = cv - return nil -} - -func awsRestjson1_deserializeDocumentFleetSummary(v **types.FleetSummary, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *types.FleetSummary - if *v == nil { - sv = &types.FleetSummary{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "CompanyCode": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected CompanyCode to be of type string, got %T instead", value) - } - sv.CompanyCode = ptr.String(jtv) - } - - case "CreatedTime": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.CreatedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected DateTime to be a JSON Number, got %T instead", value) - - } - } - - case "DisplayName": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DisplayName to be of type string, got %T instead", value) - } - sv.DisplayName = ptr.String(jtv) - } - - case "FleetArn": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected FleetArn to be of type string, got %T instead", value) - } - sv.FleetArn = ptr.String(jtv) - } - - case "FleetName": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected FleetName to be of type string, got %T instead", value) - } - sv.FleetName = ptr.String(jtv) - } - - case "FleetStatus": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected FleetStatus to be of type string, got %T instead", value) - } - sv.FleetStatus = types.FleetStatus(jtv) - } - - case "LastUpdatedTime": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.LastUpdatedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected DateTime to be a JSON Number, got %T instead", value) - - } - } - - case "Tags": - if err := awsRestjson1_deserializeDocumentTagMap(&sv.Tags, value); err != nil { - return err - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentFleetSummaryList(v *[]types.FleetSummary, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.([]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var cv []types.FleetSummary - if *v == nil { - cv = []types.FleetSummary{} - } else { - cv = *v - } - - for _, value := range shape { - var col types.FleetSummary - destAddr := &col - if err := awsRestjson1_deserializeDocumentFleetSummary(&destAddr, value); err != nil { - return err - } - col = *destAddr - cv = append(cv, col) - - } - *v = cv - return nil -} - -func awsRestjson1_deserializeDocumentInternalServerErrorException(v **types.InternalServerErrorException, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *types.InternalServerErrorException - if *v == nil { - sv = &types.InternalServerErrorException{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "Message": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ExceptionMessage to be of type string, got %T instead", value) - } - sv.Message = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRequestException, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *types.InvalidRequestException - if *v == nil { - sv = &types.InvalidRequestException{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "Message": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ExceptionMessage to be of type string, got %T instead", value) - } - sv.Message = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentResourceAlreadyExistsException(v **types.ResourceAlreadyExistsException, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *types.ResourceAlreadyExistsException - if *v == nil { - sv = &types.ResourceAlreadyExistsException{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "Message": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ExceptionMessage to be of type string, got %T instead", value) - } - sv.Message = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentResourceNotFoundException(v **types.ResourceNotFoundException, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *types.ResourceNotFoundException - if *v == nil { - sv = &types.ResourceNotFoundException{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "Message": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ExceptionMessage to be of type string, got %T instead", value) - } - sv.Message = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentSecurityGroupIds(v *[]string, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.([]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var cv []string - if *v == nil { - cv = []string{} - } else { - cv = *v - } - - for _, value := range shape { - var col string - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected SecurityGroupId to be of type string, got %T instead", value) - } - col = jtv - } - cv = append(cv, col) - - } - *v = cv - return nil -} - -func awsRestjson1_deserializeDocumentSubnetIds(v *[]string, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.([]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var cv []string - if *v == nil { - cv = []string{} - } else { - cv = *v - } - - for _, value := range shape { - var col string - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected SubnetId to be of type string, got %T instead", value) - } - col = jtv - } - cv = append(cv, col) - - } - *v = cv - return nil -} - -func awsRestjson1_deserializeDocumentTagMap(v *map[string]string, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var mv map[string]string - if *v == nil { - mv = map[string]string{} - } else { - mv = *v - } - - for key, value := range shape { - var parsedVal string - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected TagValue to be of type string, got %T instead", value) - } - parsedVal = jtv - } - mv[key] = parsedVal - - } - *v = mv - return nil -} - -func awsRestjson1_deserializeDocumentTooManyRequestsException(v **types.TooManyRequestsException, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *types.TooManyRequestsException - if *v == nil { - sv = &types.TooManyRequestsException{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "Message": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ExceptionMessage to be of type string, got %T instead", value) - } - sv.Message = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentUnauthorizedException(v **types.UnauthorizedException, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *types.UnauthorizedException - if *v == nil { - sv = &types.UnauthorizedException{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "Message": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected ExceptionMessage to be of type string, got %T instead", value) - } - sv.Message = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentWebsiteAuthorizationProvidersSummaryList(v *[]types.WebsiteAuthorizationProviderSummary, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.([]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var cv []types.WebsiteAuthorizationProviderSummary - if *v == nil { - cv = []types.WebsiteAuthorizationProviderSummary{} - } else { - cv = *v - } - - for _, value := range shape { - var col types.WebsiteAuthorizationProviderSummary - destAddr := &col - if err := awsRestjson1_deserializeDocumentWebsiteAuthorizationProviderSummary(&destAddr, value); err != nil { - return err - } - col = *destAddr - cv = append(cv, col) - - } - *v = cv - return nil -} - -func awsRestjson1_deserializeDocumentWebsiteAuthorizationProviderSummary(v **types.WebsiteAuthorizationProviderSummary, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *types.WebsiteAuthorizationProviderSummary - if *v == nil { - sv = &types.WebsiteAuthorizationProviderSummary{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "AuthorizationProviderId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Id to be of type string, got %T instead", value) - } - sv.AuthorizationProviderId = ptr.String(jtv) - } - - case "AuthorizationProviderType": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected AuthorizationProviderType to be of type string, got %T instead", value) - } - sv.AuthorizationProviderType = types.AuthorizationProviderType(jtv) - } - - case "CreatedTime": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.CreatedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected DateTime to be a JSON Number, got %T instead", value) - - } - } - - case "DomainName": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DomainName to be of type string, got %T instead", value) - } - sv.DomainName = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentWebsiteCaSummary(v **types.WebsiteCaSummary, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.(map[string]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var sv *types.WebsiteCaSummary - if *v == nil { - sv = &types.WebsiteCaSummary{} - } else { - sv = *v - } - - for key, value := range shape { - switch key { - case "CreatedTime": - if value != nil { - switch jtv := value.(type) { - case json.Number: - f64, err := jtv.Float64() - if err != nil { - return err - } - sv.CreatedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) - - default: - return fmt.Errorf("expected DateTime to be a JSON Number, got %T instead", value) - - } - } - - case "DisplayName": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected DisplayName to be of type string, got %T instead", value) - } - sv.DisplayName = ptr.String(jtv) - } - - case "WebsiteCaId": - if value != nil { - jtv, ok := value.(string) - if !ok { - return fmt.Errorf("expected Id to be of type string, got %T instead", value) - } - sv.WebsiteCaId = ptr.String(jtv) - } - - default: - _, _ = key, value - - } - } - *v = sv - return nil -} - -func awsRestjson1_deserializeDocumentWebsiteCaSummaryList(v *[]types.WebsiteCaSummary, value interface{}) error { - if v == nil { - return fmt.Errorf("unexpected nil of type %T", v) - } - if value == nil { - return nil - } - - shape, ok := value.([]interface{}) - if !ok { - return fmt.Errorf("unexpected JSON type %v", value) - } - - var cv []types.WebsiteCaSummary - if *v == nil { - cv = []types.WebsiteCaSummary{} - } else { - cv = *v - } - - for _, value := range shape { - var col types.WebsiteCaSummary - destAddr := &col - if err := awsRestjson1_deserializeDocumentWebsiteCaSummary(&destAddr, value); err != nil { - return err - } - col = *destAddr - cv = append(cv, col) - - } - *v = cv - return nil -} diff --git a/service/worklink/doc.go b/service/worklink/doc.go deleted file mode 100644 index 83d7355adcd..00000000000 --- a/service/worklink/doc.go +++ /dev/null @@ -1,14 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -// Package worklink provides the API client, operations, and parameter types for -// Amazon WorkLink. -// -// Amazon WorkLink is a cloud-based service that provides secure access to -// internal websites and web apps from iOS and Android phones. In a single step, -// your users, such as employees, can access internal websites as efficiently as -// they access any other public website. They enter a URL in their web browser, or -// choose a link to an internal website in an email. Amazon WorkLink authenticates -// the user's access and securely renders authorized internal web content in a -// secure rendering service in the AWS cloud. Amazon WorkLink doesn't download or -// store any internal web content on mobile devices. -package worklink diff --git a/service/worklink/endpoints.go b/service/worklink/endpoints.go deleted file mode 100644 index b0ca2b82b00..00000000000 --- a/service/worklink/endpoints.go +++ /dev/null @@ -1,537 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "errors" - "fmt" - "github.com/aws/aws-sdk-go-v2/aws" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - internalConfig "github.com/aws/aws-sdk-go-v2/internal/configsources" - "github.com/aws/aws-sdk-go-v2/internal/endpoints" - "github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn" - internalendpoints "github.com/aws/aws-sdk-go-v2/service/worklink/internal/endpoints" - smithyauth "github.com/aws/smithy-go/auth" - smithyendpoints "github.com/aws/smithy-go/endpoints" - "github.com/aws/smithy-go/middleware" - "github.com/aws/smithy-go/ptr" - "github.com/aws/smithy-go/tracing" - smithyhttp "github.com/aws/smithy-go/transport/http" - "net/http" - "net/url" - "os" - "strings" -) - -// EndpointResolverOptions is the service endpoint resolver options -type EndpointResolverOptions = internalendpoints.Options - -// EndpointResolver interface for resolving service endpoints. -type EndpointResolver interface { - ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error) -} - -var _ EndpointResolver = &internalendpoints.Resolver{} - -// NewDefaultEndpointResolver constructs a new service endpoint resolver -func NewDefaultEndpointResolver() *internalendpoints.Resolver { - return internalendpoints.New() -} - -// EndpointResolverFunc is a helper utility that wraps a function so it satisfies -// the EndpointResolver interface. This is useful when you want to add additional -// endpoint resolving logic, or stub out specific endpoints with custom values. -type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error) - -func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error) { - return fn(region, options) -} - -// EndpointResolverFromURL returns an EndpointResolver configured using the -// provided endpoint url. By default, the resolved endpoint resolver uses the -// client region as signing region, and the endpoint source is set to -// EndpointSourceCustom.You can provide functional options to configure endpoint -// values for the resolved endpoint. -func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver { - e := aws.Endpoint{URL: url, Source: aws.EndpointSourceCustom} - for _, fn := range optFns { - fn(&e) - } - - return EndpointResolverFunc( - func(region string, options EndpointResolverOptions) (aws.Endpoint, error) { - if len(e.SigningRegion) == 0 { - e.SigningRegion = region - } - return e, nil - }, - ) -} - -type ResolveEndpoint struct { - Resolver EndpointResolver - Options EndpointResolverOptions -} - -func (*ResolveEndpoint) ID() string { - return "ResolveEndpoint" -} - -func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - if !awsmiddleware.GetRequiresLegacyEndpoints(ctx) { - return next.HandleSerialize(ctx, in) - } - - req, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, fmt.Errorf("unknown transport type %T", in.Request) - } - - if m.Resolver == nil { - return out, metadata, fmt.Errorf("expected endpoint resolver to not be nil") - } - - eo := m.Options - eo.Logger = middleware.GetLogger(ctx) - - var endpoint aws.Endpoint - endpoint, err = m.Resolver.ResolveEndpoint(awsmiddleware.GetRegion(ctx), eo) - if err != nil { - nf := (&aws.EndpointNotFoundError{}) - if errors.As(err, &nf) { - ctx = awsmiddleware.SetRequiresLegacyEndpoints(ctx, false) - return next.HandleSerialize(ctx, in) - } - return out, metadata, fmt.Errorf("failed to resolve service endpoint, %w", err) - } - - req.URL, err = url.Parse(endpoint.URL) - if err != nil { - return out, metadata, fmt.Errorf("failed to parse endpoint URL: %w", err) - } - - if len(awsmiddleware.GetSigningName(ctx)) == 0 { - signingName := endpoint.SigningName - if len(signingName) == 0 { - signingName = "worklink" - } - ctx = awsmiddleware.SetSigningName(ctx, signingName) - } - ctx = awsmiddleware.SetEndpointSource(ctx, endpoint.Source) - ctx = smithyhttp.SetHostnameImmutable(ctx, endpoint.HostnameImmutable) - ctx = awsmiddleware.SetSigningRegion(ctx, endpoint.SigningRegion) - ctx = awsmiddleware.SetPartitionID(ctx, endpoint.PartitionID) - return next.HandleSerialize(ctx, in) -} -func addResolveEndpointMiddleware(stack *middleware.Stack, o Options) error { - return stack.Serialize.Insert(&ResolveEndpoint{ - Resolver: o.EndpointResolver, - Options: o.EndpointOptions, - }, "OperationSerializer", middleware.Before) -} - -func removeResolveEndpointMiddleware(stack *middleware.Stack) error { - _, err := stack.Serialize.Remove((&ResolveEndpoint{}).ID()) - return err -} - -type wrappedEndpointResolver struct { - awsResolver aws.EndpointResolverWithOptions -} - -func (w *wrappedEndpointResolver) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error) { - return w.awsResolver.ResolveEndpoint(ServiceID, region, options) -} - -type awsEndpointResolverAdaptor func(service, region string) (aws.Endpoint, error) - -func (a awsEndpointResolverAdaptor) ResolveEndpoint(service, region string, options ...interface{}) (aws.Endpoint, error) { - return a(service, region) -} - -var _ aws.EndpointResolverWithOptions = awsEndpointResolverAdaptor(nil) - -// withEndpointResolver returns an aws.EndpointResolverWithOptions that first delegates endpoint resolution to the awsResolver. -// If awsResolver returns aws.EndpointNotFoundError error, the v1 resolver middleware will swallow the error, -// and set an appropriate context flag such that fallback will occur when EndpointResolverV2 is invoked -// via its middleware. -// -// If another error (besides aws.EndpointNotFoundError) is returned, then that error will be propagated. -func withEndpointResolver(awsResolver aws.EndpointResolver, awsResolverWithOptions aws.EndpointResolverWithOptions) EndpointResolver { - var resolver aws.EndpointResolverWithOptions - - if awsResolverWithOptions != nil { - resolver = awsResolverWithOptions - } else if awsResolver != nil { - resolver = awsEndpointResolverAdaptor(awsResolver.ResolveEndpoint) - } - - return &wrappedEndpointResolver{ - awsResolver: resolver, - } -} - -func finalizeClientEndpointResolverOptions(options *Options) { - options.EndpointOptions.LogDeprecated = options.ClientLogMode.IsDeprecatedUsage() - - if len(options.EndpointOptions.ResolvedRegion) == 0 { - const fipsInfix = "-fips-" - const fipsPrefix = "fips-" - const fipsSuffix = "-fips" - - if strings.Contains(options.Region, fipsInfix) || - strings.Contains(options.Region, fipsPrefix) || - strings.Contains(options.Region, fipsSuffix) { - options.EndpointOptions.ResolvedRegion = strings.ReplaceAll(strings.ReplaceAll(strings.ReplaceAll( - options.Region, fipsInfix, "-"), fipsPrefix, ""), fipsSuffix, "") - options.EndpointOptions.UseFIPSEndpoint = aws.FIPSEndpointStateEnabled - } - } - -} - -func resolveEndpointResolverV2(options *Options) { - if options.EndpointResolverV2 == nil { - options.EndpointResolverV2 = NewDefaultEndpointResolverV2() - } -} - -func resolveBaseEndpoint(cfg aws.Config, o *Options) { - if cfg.BaseEndpoint != nil { - o.BaseEndpoint = cfg.BaseEndpoint - } - - _, g := os.LookupEnv("AWS_ENDPOINT_URL") - _, s := os.LookupEnv("AWS_ENDPOINT_URL_WORKLINK") - - if g && !s { - return - } - - value, found, err := internalConfig.ResolveServiceBaseEndpoint(context.Background(), "WorkLink", cfg.ConfigSources) - if found && err == nil { - o.BaseEndpoint = &value - } -} - -func bindRegion(region string) *string { - if region == "" { - return nil - } - return aws.String(endpoints.MapFIPSRegion(region)) -} - -// EndpointParameters provides the parameters that influence how endpoints are -// resolved. -type EndpointParameters struct { - // The AWS region used to dispatch the request. - // - // Parameter is - // required. - // - // AWS::Region - Region *string - - // When true, use the dual-stack endpoint. If the configured endpoint does not - // support dual-stack, dispatching the request MAY return an error. - // - // Defaults to - // false if no value is provided. - // - // AWS::UseDualStack - UseDualStack *bool - - // When true, send this request to the FIPS-compliant regional endpoint. If the - // configured endpoint does not have a FIPS compliant endpoint, dispatching the - // request will return an error. - // - // Defaults to false if no value is - // provided. - // - // AWS::UseFIPS - UseFIPS *bool - - // Override the endpoint used to send this request - // - // Parameter is - // required. - // - // SDK::Endpoint - Endpoint *string -} - -// ValidateRequired validates required parameters are set. -func (p EndpointParameters) ValidateRequired() error { - if p.UseDualStack == nil { - return fmt.Errorf("parameter UseDualStack is required") - } - - if p.UseFIPS == nil { - return fmt.Errorf("parameter UseFIPS is required") - } - - return nil -} - -// WithDefaults returns a shallow copy of EndpointParameterswith default values -// applied to members where applicable. -func (p EndpointParameters) WithDefaults() EndpointParameters { - if p.UseDualStack == nil { - p.UseDualStack = ptr.Bool(false) - } - - if p.UseFIPS == nil { - p.UseFIPS = ptr.Bool(false) - } - return p -} - -type stringSlice []string - -func (s stringSlice) Get(i int) *string { - if i < 0 || i >= len(s) { - return nil - } - - v := s[i] - return &v -} - -// EndpointResolverV2 provides the interface for resolving service endpoints. -type EndpointResolverV2 interface { - // ResolveEndpoint attempts to resolve the endpoint with the provided options, - // returning the endpoint if found. Otherwise an error is returned. - ResolveEndpoint(ctx context.Context, params EndpointParameters) ( - smithyendpoints.Endpoint, error, - ) -} - -// resolver provides the implementation for resolving endpoints. -type resolver struct{} - -func NewDefaultEndpointResolverV2() EndpointResolverV2 { - return &resolver{} -} - -// ResolveEndpoint attempts to resolve the endpoint with the provided options, -// returning the endpoint if found. Otherwise an error is returned. -func (r *resolver) ResolveEndpoint( - ctx context.Context, params EndpointParameters, -) ( - endpoint smithyendpoints.Endpoint, err error, -) { - params = params.WithDefaults() - if err = params.ValidateRequired(); err != nil { - return endpoint, fmt.Errorf("endpoint parameters are not valid, %w", err) - } - _UseDualStack := *params.UseDualStack - _UseFIPS := *params.UseFIPS - - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if _UseFIPS == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid Configuration: FIPS and custom endpoint are not supported") - } - if _UseDualStack == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid Configuration: Dualstack and custom endpoint are not supported") - } - uriString := _Endpoint - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - }, nil - } - if exprVal := params.Region; exprVal != nil { - _Region := *exprVal - _ = _Region - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _PartitionResult := *exprVal - _ = _PartitionResult - if _UseFIPS == true { - if _UseDualStack == true { - if true == _PartitionResult.SupportsFIPS { - if true == _PartitionResult.SupportsDualStack { - uriString := func() string { - var out strings.Builder - out.WriteString("https://worklink-fips.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_PartitionResult.DualStackDnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - }, nil - } - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "FIPS and DualStack are enabled, but this partition does not support one or both") - } - } - if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - uriString := func() string { - var out strings.Builder - out.WriteString("https://worklink-fips.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_PartitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - }, nil - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "FIPS is enabled but this partition does not support FIPS") - } - if _UseDualStack == true { - if true == _PartitionResult.SupportsDualStack { - uriString := func() string { - var out strings.Builder - out.WriteString("https://worklink.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_PartitionResult.DualStackDnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - }, nil - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "DualStack is enabled but this partition does not support DualStack") - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://worklink.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_PartitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - }, nil - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid Configuration: Missing Region") -} - -type endpointParamsBinder interface { - bindEndpointParams(*EndpointParameters) -} - -func bindEndpointParams(ctx context.Context, input interface{}, options Options) *EndpointParameters { - params := &EndpointParameters{} - - params.Region = bindRegion(options.Region) - params.UseDualStack = aws.Bool(options.EndpointOptions.UseDualStackEndpoint == aws.DualStackEndpointStateEnabled) - params.UseFIPS = aws.Bool(options.EndpointOptions.UseFIPSEndpoint == aws.FIPSEndpointStateEnabled) - params.Endpoint = options.BaseEndpoint - - if b, ok := input.(endpointParamsBinder); ok { - b.bindEndpointParams(params) - } - - return params -} - -type resolveEndpointV2Middleware struct { - options Options -} - -func (*resolveEndpointV2Middleware) ID() string { - return "ResolveEndpointV2" -} - -func (m *resolveEndpointV2Middleware) HandleFinalize(ctx context.Context, in middleware.FinalizeInput, next middleware.FinalizeHandler) ( - out middleware.FinalizeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "ResolveEndpoint") - defer span.End() - - if awsmiddleware.GetRequiresLegacyEndpoints(ctx) { - return next.HandleFinalize(ctx, in) - } - - req, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, fmt.Errorf("unknown transport type %T", in.Request) - } - - if m.options.EndpointResolverV2 == nil { - return out, metadata, fmt.Errorf("expected endpoint resolver to not be nil") - } - - params := bindEndpointParams(ctx, getOperationInput(ctx), m.options) - endpt, err := timeOperationMetric(ctx, "client.call.resolve_endpoint_duration", - func() (smithyendpoints.Endpoint, error) { - return m.options.EndpointResolverV2.ResolveEndpoint(ctx, *params) - }) - if err != nil { - return out, metadata, fmt.Errorf("failed to resolve service endpoint, %w", err) - } - - span.SetProperty("client.call.resolved_endpoint", endpt.URI.String()) - - if endpt.URI.RawPath == "" && req.URL.RawPath != "" { - endpt.URI.RawPath = endpt.URI.Path - } - req.URL.Scheme = endpt.URI.Scheme - req.URL.Host = endpt.URI.Host - req.URL.Path = smithyhttp.JoinPath(endpt.URI.Path, req.URL.Path) - req.URL.RawPath = smithyhttp.JoinPath(endpt.URI.RawPath, req.URL.RawPath) - for k := range endpt.Headers { - req.Header.Set(k, endpt.Headers.Get(k)) - } - - rscheme := getResolvedAuthScheme(ctx) - if rscheme == nil { - return out, metadata, fmt.Errorf("no resolved auth scheme") - } - - opts, _ := smithyauth.GetAuthOptions(&endpt.Properties) - for _, o := range opts { - rscheme.SignerProperties.SetAll(&o.SignerProperties) - } - - span.End() - return next.HandleFinalize(ctx, in) -} diff --git a/service/worklink/endpoints_config_test.go b/service/worklink/endpoints_config_test.go deleted file mode 100644 index b5654ca27e7..00000000000 --- a/service/worklink/endpoints_config_test.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "github.com/aws/aws-sdk-go-v2/aws" - "os" - "reflect" - "testing" -) - -type mockConfigSource struct { - global string - service string - ignore bool -} - -// GetIgnoreConfiguredEndpoints is used in knowing when to disable configured -// endpoints feature. -func (m mockConfigSource) GetIgnoreConfiguredEndpoints(context.Context) (bool, bool, error) { - return m.ignore, m.ignore, nil -} - -// GetServiceBaseEndpoint is used to retrieve a normalized SDK ID for use -// with configured endpoints. -func (m mockConfigSource) GetServiceBaseEndpoint(ctx context.Context, sdkID string) (string, bool, error) { - if m.service != "" { - return m.service, true, nil - } - return "", false, nil -} - -func TestResolveBaseEndpoint(t *testing.T) { - cases := map[string]struct { - envGlobal string - envService string - envIgnore bool - configGlobal string - configService string - configIgnore bool - clientEndpoint *string - expectURL *string - }{ - "env ignore": { - envGlobal: "https://env-global.dev", - envService: "https://env-worklink.dev", - envIgnore: true, - configGlobal: "http://config-global.dev", - configService: "http://config-worklink.dev", - expectURL: nil, - }, - "env global": { - envGlobal: "https://env-global.dev", - configGlobal: "http://config-global.dev", - configService: "http://config-worklink.dev", - expectURL: aws.String("https://env-global.dev"), - }, - "env service": { - envGlobal: "https://env-global.dev", - envService: "https://env-worklink.dev", - configGlobal: "http://config-global.dev", - configService: "http://config-worklink.dev", - expectURL: aws.String("https://env-worklink.dev"), - }, - "config ignore": { - envGlobal: "https://env-global.dev", - envService: "https://env-worklink.dev", - configGlobal: "http://config-global.dev", - configService: "http://config-worklink.dev", - configIgnore: true, - expectURL: nil, - }, - "config global": { - configGlobal: "http://config-global.dev", - expectURL: aws.String("http://config-global.dev"), - }, - "config service": { - configGlobal: "http://config-global.dev", - configService: "http://config-worklink.dev", - expectURL: aws.String("http://config-worklink.dev"), - }, - "client": { - envGlobal: "https://env-global.dev", - envService: "https://env-worklink.dev", - configGlobal: "http://config-global.dev", - configService: "http://config-worklink.dev", - clientEndpoint: aws.String("https://client-worklink.dev"), - expectURL: aws.String("https://client-worklink.dev"), - }, - } - - for name, c := range cases { - t.Run(name, func(t *testing.T) { - os.Clearenv() - - awsConfig := aws.Config{} - ignore := c.envIgnore || c.configIgnore - - if c.configGlobal != "" && !ignore { - awsConfig.BaseEndpoint = aws.String(c.configGlobal) - } - - if c.envGlobal != "" { - t.Setenv("AWS_ENDPOINT_URL", c.envGlobal) - if !ignore { - awsConfig.BaseEndpoint = aws.String(c.envGlobal) - } - } - - if c.envService != "" { - t.Setenv("AWS_ENDPOINT_URL_WORKLINK", c.envService) - } - - awsConfig.ConfigSources = []interface{}{ - mockConfigSource{ - global: c.envGlobal, - service: c.envService, - ignore: c.envIgnore, - }, - mockConfigSource{ - global: c.configGlobal, - service: c.configService, - ignore: c.configIgnore, - }, - } - - client := NewFromConfig(awsConfig, func(o *Options) { - if c.clientEndpoint != nil { - o.BaseEndpoint = c.clientEndpoint - } - }) - - if e, a := c.expectURL, client.options.BaseEndpoint; !reflect.DeepEqual(e, a) { - t.Errorf("expect endpoint %v , got %v", e, a) - } - }) - } -} diff --git a/service/worklink/endpoints_test.go b/service/worklink/endpoints_test.go deleted file mode 100644 index 2efead54ede..00000000000 --- a/service/worklink/endpoints_test.go +++ /dev/null @@ -1,820 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - smithy "github.com/aws/smithy-go" - smithyendpoints "github.com/aws/smithy-go/endpoints" - "github.com/aws/smithy-go/ptr" - "net/http" - "net/url" - "reflect" - "strings" - "testing" -) - -// For region us-east-1 with FIPS enabled and DualStack enabled -func TestEndpointCase0(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-east-1"), - UseFIPS: ptr.Bool(true), - UseDualStack: ptr.Bool(true), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://worklink-fips.us-east-1.api.aws") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For region us-east-1 with FIPS enabled and DualStack disabled -func TestEndpointCase1(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-east-1"), - UseFIPS: ptr.Bool(true), - UseDualStack: ptr.Bool(false), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://worklink-fips.us-east-1.amazonaws.com") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For region us-east-1 with FIPS disabled and DualStack enabled -func TestEndpointCase2(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-east-1"), - UseFIPS: ptr.Bool(false), - UseDualStack: ptr.Bool(true), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://worklink.us-east-1.api.aws") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For region us-east-1 with FIPS disabled and DualStack disabled -func TestEndpointCase3(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-east-1"), - UseFIPS: ptr.Bool(false), - UseDualStack: ptr.Bool(false), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://worklink.us-east-1.amazonaws.com") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For region cn-north-1 with FIPS enabled and DualStack enabled -func TestEndpointCase4(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("cn-north-1"), - UseFIPS: ptr.Bool(true), - UseDualStack: ptr.Bool(true), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://worklink-fips.cn-north-1.api.amazonwebservices.com.cn") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For region cn-north-1 with FIPS enabled and DualStack disabled -func TestEndpointCase5(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("cn-north-1"), - UseFIPS: ptr.Bool(true), - UseDualStack: ptr.Bool(false), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://worklink-fips.cn-north-1.amazonaws.com.cn") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For region cn-north-1 with FIPS disabled and DualStack enabled -func TestEndpointCase6(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("cn-north-1"), - UseFIPS: ptr.Bool(false), - UseDualStack: ptr.Bool(true), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://worklink.cn-north-1.api.amazonwebservices.com.cn") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For region cn-north-1 with FIPS disabled and DualStack disabled -func TestEndpointCase7(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("cn-north-1"), - UseFIPS: ptr.Bool(false), - UseDualStack: ptr.Bool(false), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://worklink.cn-north-1.amazonaws.com.cn") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For region us-gov-east-1 with FIPS enabled and DualStack enabled -func TestEndpointCase8(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-gov-east-1"), - UseFIPS: ptr.Bool(true), - UseDualStack: ptr.Bool(true), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://worklink-fips.us-gov-east-1.api.aws") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For region us-gov-east-1 with FIPS enabled and DualStack disabled -func TestEndpointCase9(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-gov-east-1"), - UseFIPS: ptr.Bool(true), - UseDualStack: ptr.Bool(false), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://worklink-fips.us-gov-east-1.amazonaws.com") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For region us-gov-east-1 with FIPS disabled and DualStack enabled -func TestEndpointCase10(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-gov-east-1"), - UseFIPS: ptr.Bool(false), - UseDualStack: ptr.Bool(true), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://worklink.us-gov-east-1.api.aws") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For region us-gov-east-1 with FIPS disabled and DualStack disabled -func TestEndpointCase11(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-gov-east-1"), - UseFIPS: ptr.Bool(false), - UseDualStack: ptr.Bool(false), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://worklink.us-gov-east-1.amazonaws.com") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For region us-iso-east-1 with FIPS enabled and DualStack enabled -func TestEndpointCase12(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-iso-east-1"), - UseFIPS: ptr.Bool(true), - UseDualStack: ptr.Bool(true), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err == nil { - t.Fatalf("expect error, got none") - } - if e, a := "FIPS and DualStack are enabled, but this partition does not support one or both", err.Error(); !strings.Contains(a, e) { - t.Errorf("expect %v error in %v", e, a) - } -} - -// For region us-iso-east-1 with FIPS enabled and DualStack disabled -func TestEndpointCase13(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-iso-east-1"), - UseFIPS: ptr.Bool(true), - UseDualStack: ptr.Bool(false), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://worklink-fips.us-iso-east-1.c2s.ic.gov") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For region us-iso-east-1 with FIPS disabled and DualStack enabled -func TestEndpointCase14(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-iso-east-1"), - UseFIPS: ptr.Bool(false), - UseDualStack: ptr.Bool(true), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err == nil { - t.Fatalf("expect error, got none") - } - if e, a := "DualStack is enabled but this partition does not support DualStack", err.Error(); !strings.Contains(a, e) { - t.Errorf("expect %v error in %v", e, a) - } -} - -// For region us-iso-east-1 with FIPS disabled and DualStack disabled -func TestEndpointCase15(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-iso-east-1"), - UseFIPS: ptr.Bool(false), - UseDualStack: ptr.Bool(false), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://worklink.us-iso-east-1.c2s.ic.gov") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For region us-isob-east-1 with FIPS enabled and DualStack enabled -func TestEndpointCase16(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-isob-east-1"), - UseFIPS: ptr.Bool(true), - UseDualStack: ptr.Bool(true), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err == nil { - t.Fatalf("expect error, got none") - } - if e, a := "FIPS and DualStack are enabled, but this partition does not support one or both", err.Error(); !strings.Contains(a, e) { - t.Errorf("expect %v error in %v", e, a) - } -} - -// For region us-isob-east-1 with FIPS enabled and DualStack disabled -func TestEndpointCase17(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-isob-east-1"), - UseFIPS: ptr.Bool(true), - UseDualStack: ptr.Bool(false), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://worklink-fips.us-isob-east-1.sc2s.sgov.gov") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For region us-isob-east-1 with FIPS disabled and DualStack enabled -func TestEndpointCase18(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-isob-east-1"), - UseFIPS: ptr.Bool(false), - UseDualStack: ptr.Bool(true), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err == nil { - t.Fatalf("expect error, got none") - } - if e, a := "DualStack is enabled but this partition does not support DualStack", err.Error(); !strings.Contains(a, e) { - t.Errorf("expect %v error in %v", e, a) - } -} - -// For region us-isob-east-1 with FIPS disabled and DualStack disabled -func TestEndpointCase19(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-isob-east-1"), - UseFIPS: ptr.Bool(false), - UseDualStack: ptr.Bool(false), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://worklink.us-isob-east-1.sc2s.sgov.gov") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For custom endpoint with region set and fips disabled and dualstack disabled -func TestEndpointCase20(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-east-1"), - UseFIPS: ptr.Bool(false), - UseDualStack: ptr.Bool(false), - Endpoint: ptr.String("https://example.com"), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://example.com") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For custom endpoint with region not set and fips disabled and dualstack disabled -func TestEndpointCase21(t *testing.T) { - var params = EndpointParameters{ - UseFIPS: ptr.Bool(false), - UseDualStack: ptr.Bool(false), - Endpoint: ptr.String("https://example.com"), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - uri, _ := url.Parse("https://example.com") - - expectEndpoint := smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: smithy.Properties{}, - } - - if e, a := expectEndpoint.URI, result.URI; e != a { - t.Errorf("expect %v URI, got %v", e, a) - } - - if !reflect.DeepEqual(expectEndpoint.Headers, result.Headers) { - t.Errorf("expect headers to match\n%v != %v", expectEndpoint.Headers, result.Headers) - } - - if !reflect.DeepEqual(expectEndpoint.Properties, result.Properties) { - t.Errorf("expect properties to match\n%v != %v", expectEndpoint.Properties, result.Properties) - } -} - -// For custom endpoint with fips enabled and dualstack disabled -func TestEndpointCase22(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-east-1"), - UseFIPS: ptr.Bool(true), - UseDualStack: ptr.Bool(false), - Endpoint: ptr.String("https://example.com"), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err == nil { - t.Fatalf("expect error, got none") - } - if e, a := "Invalid Configuration: FIPS and custom endpoint are not supported", err.Error(); !strings.Contains(a, e) { - t.Errorf("expect %v error in %v", e, a) - } -} - -// For custom endpoint with fips disabled and dualstack enabled -func TestEndpointCase23(t *testing.T) { - var params = EndpointParameters{ - Region: ptr.String("us-east-1"), - UseFIPS: ptr.Bool(false), - UseDualStack: ptr.Bool(true), - Endpoint: ptr.String("https://example.com"), - } - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err == nil { - t.Fatalf("expect error, got none") - } - if e, a := "Invalid Configuration: Dualstack and custom endpoint are not supported", err.Error(); !strings.Contains(a, e) { - t.Errorf("expect %v error in %v", e, a) - } -} - -// Missing region -func TestEndpointCase24(t *testing.T) { - var params = EndpointParameters{} - - resolver := NewDefaultEndpointResolverV2() - result, err := resolver.ResolveEndpoint(context.Background(), params) - _, _ = result, err - - if err == nil { - t.Fatalf("expect error, got none") - } - if e, a := "Invalid Configuration: Missing Region", err.Error(); !strings.Contains(a, e) { - t.Errorf("expect %v error in %v", e, a) - } -} diff --git a/service/worklink/generated.json b/service/worklink/generated.json deleted file mode 100644 index cd03dbc6350..00000000000 --- a/service/worklink/generated.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "dependencies": { - "github.com/aws/aws-sdk-go-v2": "v1.4.0", - "github.com/aws/aws-sdk-go-v2/internal/configsources": "v0.0.0-00010101000000-000000000000", - "github.com/aws/aws-sdk-go-v2/internal/endpoints/v2": "v2.0.0-00010101000000-000000000000", - "github.com/aws/smithy-go": "v1.4.0" - }, - "files": [ - "api_client.go", - "api_client_test.go", - "api_op_AssociateDomain.go", - "api_op_AssociateWebsiteAuthorizationProvider.go", - "api_op_AssociateWebsiteCertificateAuthority.go", - "api_op_CreateFleet.go", - "api_op_DeleteFleet.go", - "api_op_DescribeAuditStreamConfiguration.go", - "api_op_DescribeCompanyNetworkConfiguration.go", - "api_op_DescribeDevice.go", - "api_op_DescribeDevicePolicyConfiguration.go", - "api_op_DescribeDomain.go", - "api_op_DescribeFleetMetadata.go", - "api_op_DescribeIdentityProviderConfiguration.go", - "api_op_DescribeWebsiteCertificateAuthority.go", - "api_op_DisassociateDomain.go", - "api_op_DisassociateWebsiteAuthorizationProvider.go", - "api_op_DisassociateWebsiteCertificateAuthority.go", - "api_op_ListDevices.go", - "api_op_ListDomains.go", - "api_op_ListFleets.go", - "api_op_ListTagsForResource.go", - "api_op_ListWebsiteAuthorizationProviders.go", - "api_op_ListWebsiteCertificateAuthorities.go", - "api_op_RestoreDomainAccess.go", - "api_op_RevokeDomainAccess.go", - "api_op_SignOutUser.go", - "api_op_TagResource.go", - "api_op_UntagResource.go", - "api_op_UpdateAuditStreamConfiguration.go", - "api_op_UpdateCompanyNetworkConfiguration.go", - "api_op_UpdateDevicePolicyConfiguration.go", - "api_op_UpdateDomainMetadata.go", - "api_op_UpdateFleetMetadata.go", - "api_op_UpdateIdentityProviderConfiguration.go", - "auth.go", - "deserializers.go", - "doc.go", - "endpoints.go", - "endpoints_config_test.go", - "endpoints_test.go", - "generated.json", - "internal/endpoints/endpoints.go", - "internal/endpoints/endpoints_test.go", - "options.go", - "protocol_test.go", - "serializers.go", - "snapshot_test.go", - "types/enums.go", - "types/errors.go", - "types/types.go", - "validators.go" - ], - "go": "1.15", - "module": "github.com/aws/aws-sdk-go-v2/service/worklink", - "unstable": false -} diff --git a/service/worklink/go.mod b/service/worklink/go.mod deleted file mode 100644 index 9abc151f414..00000000000 --- a/service/worklink/go.mod +++ /dev/null @@ -1,16 +0,0 @@ -module github.com/aws/aws-sdk-go-v2/service/worklink - -go 1.21 - -require ( - github.com/aws/aws-sdk-go-v2 v1.31.0 - github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 - github.com/aws/smithy-go v1.21.0 -) - -replace github.com/aws/aws-sdk-go-v2 => ../../ - -replace github.com/aws/aws-sdk-go-v2/internal/configsources => ../../internal/configsources/ - -replace github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 => ../../internal/endpoints/v2/ diff --git a/service/worklink/go.sum b/service/worklink/go.sum deleted file mode 100644 index 9c6d66fd5d1..00000000000 --- a/service/worklink/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -github.com/aws/smithy-go v1.21.0 h1:H7L8dtDRk0P1Qm6y0ji7MCYMQObJ5R9CRpyPhRUkLYA= -github.com/aws/smithy-go v1.21.0/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= diff --git a/service/worklink/go_module_metadata.go b/service/worklink/go_module_metadata.go deleted file mode 100644 index f07c97c0d03..00000000000 --- a/service/worklink/go_module_metadata.go +++ /dev/null @@ -1,6 +0,0 @@ -// Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. - -package worklink - -// goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" diff --git a/service/worklink/internal/endpoints/endpoints.go b/service/worklink/internal/endpoints/endpoints.go deleted file mode 100644 index f42586d0664..00000000000 --- a/service/worklink/internal/endpoints/endpoints.go +++ /dev/null @@ -1,296 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package endpoints - -import ( - "github.com/aws/aws-sdk-go-v2/aws" - endpoints "github.com/aws/aws-sdk-go-v2/internal/endpoints/v2" - "github.com/aws/smithy-go/logging" - "regexp" -) - -// Options is the endpoint resolver configuration options -type Options struct { - // Logger is a logging implementation that log events should be sent to. - Logger logging.Logger - - // LogDeprecated indicates that deprecated endpoints should be logged to the - // provided logger. - LogDeprecated bool - - // ResolvedRegion is used to override the region to be resolved, rather then the - // using the value passed to the ResolveEndpoint method. This value is used by the - // SDK to translate regions like fips-us-east-1 or us-east-1-fips to an alternative - // name. You must not set this value directly in your application. - ResolvedRegion string - - // DisableHTTPS informs the resolver to return an endpoint that does not use the - // HTTPS scheme. - DisableHTTPS bool - - // UseDualStackEndpoint specifies the resolver must resolve a dual-stack endpoint. - UseDualStackEndpoint aws.DualStackEndpointState - - // UseFIPSEndpoint specifies the resolver must resolve a FIPS endpoint. - UseFIPSEndpoint aws.FIPSEndpointState -} - -func (o Options) GetResolvedRegion() string { - return o.ResolvedRegion -} - -func (o Options) GetDisableHTTPS() bool { - return o.DisableHTTPS -} - -func (o Options) GetUseDualStackEndpoint() aws.DualStackEndpointState { - return o.UseDualStackEndpoint -} - -func (o Options) GetUseFIPSEndpoint() aws.FIPSEndpointState { - return o.UseFIPSEndpoint -} - -func transformToSharedOptions(options Options) endpoints.Options { - return endpoints.Options{ - Logger: options.Logger, - LogDeprecated: options.LogDeprecated, - ResolvedRegion: options.ResolvedRegion, - DisableHTTPS: options.DisableHTTPS, - UseDualStackEndpoint: options.UseDualStackEndpoint, - UseFIPSEndpoint: options.UseFIPSEndpoint, - } -} - -// Resolver WorkLink endpoint resolver -type Resolver struct { - partitions endpoints.Partitions -} - -// ResolveEndpoint resolves the service endpoint for the given region and options -func (r *Resolver) ResolveEndpoint(region string, options Options) (endpoint aws.Endpoint, err error) { - if len(region) == 0 { - return endpoint, &aws.MissingRegionError{} - } - - opt := transformToSharedOptions(options) - return r.partitions.ResolveEndpoint(region, opt) -} - -// New returns a new Resolver -func New() *Resolver { - return &Resolver{ - partitions: defaultPartitions, - } -} - -var partitionRegexp = struct { - Aws *regexp.Regexp - AwsCn *regexp.Regexp - AwsIso *regexp.Regexp - AwsIsoB *regexp.Regexp - AwsIsoE *regexp.Regexp - AwsIsoF *regexp.Regexp - AwsUsGov *regexp.Regexp -}{ - - Aws: regexp.MustCompile("^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$"), - AwsCn: regexp.MustCompile("^cn\\-\\w+\\-\\d+$"), - AwsIso: regexp.MustCompile("^us\\-iso\\-\\w+\\-\\d+$"), - AwsIsoB: regexp.MustCompile("^us\\-isob\\-\\w+\\-\\d+$"), - AwsIsoE: regexp.MustCompile("^eu\\-isoe\\-\\w+\\-\\d+$"), - AwsIsoF: regexp.MustCompile("^us\\-isof\\-\\w+\\-\\d+$"), - AwsUsGov: regexp.MustCompile("^us\\-gov\\-\\w+\\-\\d+$"), -} - -var defaultPartitions = endpoints.Partitions{ - { - ID: "aws", - Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ - { - Variant: endpoints.DualStackVariant, - }: { - Hostname: "worklink.{region}.api.aws", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - { - Variant: endpoints.FIPSVariant, - }: { - Hostname: "worklink-fips.{region}.amazonaws.com", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - { - Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, - }: { - Hostname: "worklink-fips.{region}.api.aws", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - { - Variant: 0, - }: { - Hostname: "worklink.{region}.amazonaws.com", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - }, - RegionRegex: partitionRegexp.Aws, - IsRegionalized: true, - }, - { - ID: "aws-cn", - Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ - { - Variant: endpoints.DualStackVariant, - }: { - Hostname: "worklink.{region}.api.amazonwebservices.com.cn", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - { - Variant: endpoints.FIPSVariant, - }: { - Hostname: "worklink-fips.{region}.amazonaws.com.cn", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - { - Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, - }: { - Hostname: "worklink-fips.{region}.api.amazonwebservices.com.cn", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - { - Variant: 0, - }: { - Hostname: "worklink.{region}.amazonaws.com.cn", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - }, - RegionRegex: partitionRegexp.AwsCn, - IsRegionalized: true, - }, - { - ID: "aws-iso", - Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ - { - Variant: endpoints.FIPSVariant, - }: { - Hostname: "worklink-fips.{region}.c2s.ic.gov", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - { - Variant: 0, - }: { - Hostname: "worklink.{region}.c2s.ic.gov", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - }, - RegionRegex: partitionRegexp.AwsIso, - IsRegionalized: true, - }, - { - ID: "aws-iso-b", - Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ - { - Variant: endpoints.FIPSVariant, - }: { - Hostname: "worklink-fips.{region}.sc2s.sgov.gov", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - { - Variant: 0, - }: { - Hostname: "worklink.{region}.sc2s.sgov.gov", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - }, - RegionRegex: partitionRegexp.AwsIsoB, - IsRegionalized: true, - }, - { - ID: "aws-iso-e", - Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ - { - Variant: endpoints.FIPSVariant, - }: { - Hostname: "worklink-fips.{region}.cloud.adc-e.uk", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - { - Variant: 0, - }: { - Hostname: "worklink.{region}.cloud.adc-e.uk", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - }, - RegionRegex: partitionRegexp.AwsIsoE, - IsRegionalized: true, - }, - { - ID: "aws-iso-f", - Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ - { - Variant: endpoints.FIPSVariant, - }: { - Hostname: "worklink-fips.{region}.csp.hci.ic.gov", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - { - Variant: 0, - }: { - Hostname: "worklink.{region}.csp.hci.ic.gov", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - }, - RegionRegex: partitionRegexp.AwsIsoF, - IsRegionalized: true, - }, - { - ID: "aws-us-gov", - Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ - { - Variant: endpoints.DualStackVariant, - }: { - Hostname: "worklink.{region}.api.aws", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - { - Variant: endpoints.FIPSVariant, - }: { - Hostname: "worklink-fips.{region}.amazonaws.com", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - { - Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, - }: { - Hostname: "worklink-fips.{region}.api.aws", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - { - Variant: 0, - }: { - Hostname: "worklink.{region}.amazonaws.com", - Protocols: []string{"https"}, - SignatureVersions: []string{"v4"}, - }, - }, - RegionRegex: partitionRegexp.AwsUsGov, - IsRegionalized: true, - }, -} diff --git a/service/worklink/internal/endpoints/endpoints_test.go b/service/worklink/internal/endpoints/endpoints_test.go deleted file mode 100644 index 08e5da2d833..00000000000 --- a/service/worklink/internal/endpoints/endpoints_test.go +++ /dev/null @@ -1,11 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package endpoints - -import ( - "testing" -) - -func TestRegexCompile(t *testing.T) { - _ = defaultPartitions -} diff --git a/service/worklink/options.go b/service/worklink/options.go deleted file mode 100644 index 734ca446754..00000000000 --- a/service/worklink/options.go +++ /dev/null @@ -1,232 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "github.com/aws/aws-sdk-go-v2/aws" - awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" - internalauthsmithy "github.com/aws/aws-sdk-go-v2/internal/auth/smithy" - smithyauth "github.com/aws/smithy-go/auth" - "github.com/aws/smithy-go/logging" - "github.com/aws/smithy-go/metrics" - "github.com/aws/smithy-go/middleware" - "github.com/aws/smithy-go/tracing" - smithyhttp "github.com/aws/smithy-go/transport/http" - "net/http" -) - -type HTTPClient interface { - Do(*http.Request) (*http.Response, error) -} - -type Options struct { - // Set of options to modify how an operation is invoked. These apply to all - // operations invoked for this client. Use functional options on operation call to - // modify this list for per operation behavior. - APIOptions []func(*middleware.Stack) error - - // The optional application specific identifier appended to the User-Agent header. - AppID string - - // This endpoint will be given as input to an EndpointResolverV2. It is used for - // providing a custom base endpoint that is subject to modifications by the - // processing EndpointResolverV2. - BaseEndpoint *string - - // Configures the events that will be sent to the configured logger. - ClientLogMode aws.ClientLogMode - - // The credentials object to use when signing requests. - Credentials aws.CredentialsProvider - - // The configuration DefaultsMode that the SDK should use when constructing the - // clients initial default settings. - DefaultsMode aws.DefaultsMode - - // The endpoint options to be used when attempting to resolve an endpoint. - EndpointOptions EndpointResolverOptions - - // The service endpoint resolver. - // - // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a - // value for this field will likely prevent you from using any endpoint-related - // service features released after the introduction of EndpointResolverV2 and - // BaseEndpoint. - // - // To migrate an EndpointResolver implementation that uses a custom endpoint, set - // the client option BaseEndpoint instead. - EndpointResolver EndpointResolver - - // Resolves the endpoint used for a particular service operation. This should be - // used over the deprecated EndpointResolver. - EndpointResolverV2 EndpointResolverV2 - - // Signature Version 4 (SigV4) Signer - HTTPSignerV4 HTTPSignerV4 - - // The logger writer interface to write logging messages to. - Logger logging.Logger - - // The client meter provider. - MeterProvider metrics.MeterProvider - - // The region to send requests to. (Required) - Region string - - // RetryMaxAttempts specifies the maximum number attempts an API client will call - // an operation that fails with a retryable error. A value of 0 is ignored, and - // will not be used to configure the API client created default retryer, or modify - // per operation call's retry max attempts. - // - // If specified in an operation call's functional options with a value that is - // different than the constructed client's Options, the Client's Retryer will be - // wrapped to use the operation's specific RetryMaxAttempts value. - RetryMaxAttempts int - - // RetryMode specifies the retry mode the API client will be created with, if - // Retryer option is not also specified. - // - // When creating a new API Clients this member will only be used if the Retryer - // Options member is nil. This value will be ignored if Retryer is not nil. - // - // Currently does not support per operation call overrides, may in the future. - RetryMode aws.RetryMode - - // Retryer guides how HTTP requests should be retried in case of recoverable - // failures. When nil the API client will use a default retryer. The kind of - // default retry created by the API client can be changed with the RetryMode - // option. - Retryer aws.Retryer - - // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set - // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You - // should not populate this structure programmatically, or rely on the values here - // within your applications. - RuntimeEnvironment aws.RuntimeEnvironment - - // The client tracer provider. - TracerProvider tracing.TracerProvider - - // The initial DefaultsMode used when the client options were constructed. If the - // DefaultsMode was set to aws.DefaultsModeAuto this will store what the resolved - // value was at that point in time. - // - // Currently does not support per operation call overrides, may in the future. - resolvedDefaultsMode aws.DefaultsMode - - // The HTTP client to invoke API calls with. Defaults to client's default HTTP - // implementation if nil. - HTTPClient HTTPClient - - // The auth scheme resolver which determines how to authenticate for each - // operation. - AuthSchemeResolver AuthSchemeResolver - - // The list of auth schemes supported by the client. - AuthSchemes []smithyhttp.AuthScheme -} - -// Copy creates a clone where the APIOptions list is deep copied. -func (o Options) Copy() Options { - to := o - to.APIOptions = make([]func(*middleware.Stack) error, len(o.APIOptions)) - copy(to.APIOptions, o.APIOptions) - - return to -} - -func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver { - if schemeID == "aws.auth#sigv4" { - return getSigV4IdentityResolver(o) - } - if schemeID == "smithy.api#noAuth" { - return &smithyauth.AnonymousIdentityResolver{} - } - return nil -} - -// WithAPIOptions returns a functional option for setting the Client's APIOptions -// option. -func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { - return func(o *Options) { - o.APIOptions = append(o.APIOptions, optFns...) - } -} - -// Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for -// this field will likely prevent you from using any endpoint-related service -// features released after the introduction of EndpointResolverV2 and BaseEndpoint. -// -// To migrate an EndpointResolver implementation that uses a custom endpoint, set -// the client option BaseEndpoint instead. -func WithEndpointResolver(v EndpointResolver) func(*Options) { - return func(o *Options) { - o.EndpointResolver = v - } -} - -// WithEndpointResolverV2 returns a functional option for setting the Client's -// EndpointResolverV2 option. -func WithEndpointResolverV2(v EndpointResolverV2) func(*Options) { - return func(o *Options) { - o.EndpointResolverV2 = v - } -} - -func getSigV4IdentityResolver(o Options) smithyauth.IdentityResolver { - if o.Credentials != nil { - return &internalauthsmithy.CredentialsProviderAdapter{Provider: o.Credentials} - } - return nil -} - -// WithSigV4SigningName applies an override to the authentication workflow to -// use the given signing name for SigV4-authenticated operations. -// -// This is an advanced setting. The value here is FINAL, taking precedence over -// the resolved signing name from both auth scheme resolution and endpoint -// resolution. -func WithSigV4SigningName(name string) func(*Options) { - fn := func(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, - ) { - return next.HandleInitialize(awsmiddleware.SetSigningName(ctx, name), in) - } - return func(o *Options) { - o.APIOptions = append(o.APIOptions, func(s *middleware.Stack) error { - return s.Initialize.Add( - middleware.InitializeMiddlewareFunc("withSigV4SigningName", fn), - middleware.Before, - ) - }) - } -} - -// WithSigV4SigningRegion applies an override to the authentication workflow to -// use the given signing region for SigV4-authenticated operations. -// -// This is an advanced setting. The value here is FINAL, taking precedence over -// the resolved signing region from both auth scheme resolution and endpoint -// resolution. -func WithSigV4SigningRegion(region string) func(*Options) { - fn := func(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, - ) { - return next.HandleInitialize(awsmiddleware.SetSigningRegion(ctx, region), in) - } - return func(o *Options) { - o.APIOptions = append(o.APIOptions, func(s *middleware.Stack) error { - return s.Initialize.Add( - middleware.InitializeMiddlewareFunc("withSigV4SigningRegion", fn), - middleware.Before, - ) - }) - } -} - -func ignoreAnonymousAuth(options *Options) { - if aws.IsCredentialsProvider(options.Credentials, (*aws.AnonymousCredentials)(nil)) { - options.Credentials = nil - } -} diff --git a/service/worklink/protocol_test.go b/service/worklink/protocol_test.go deleted file mode 100644 index 48400def674..00000000000 --- a/service/worklink/protocol_test.go +++ /dev/null @@ -1,3 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink diff --git a/service/worklink/serializers.go b/service/worklink/serializers.go deleted file mode 100644 index 317e363a9de..00000000000 --- a/service/worklink/serializers.go +++ /dev/null @@ -1,2923 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "bytes" - "context" - "fmt" - smithy "github.com/aws/smithy-go" - "github.com/aws/smithy-go/encoding/httpbinding" - smithyjson "github.com/aws/smithy-go/encoding/json" - "github.com/aws/smithy-go/middleware" - "github.com/aws/smithy-go/tracing" - smithyhttp "github.com/aws/smithy-go/transport/http" -) - -type awsRestjson1_serializeOpAssociateDomain struct { -} - -func (*awsRestjson1_serializeOpAssociateDomain) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpAssociateDomain) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*AssociateDomainInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/associateDomain") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentAssociateDomainInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsAssociateDomainInput(v *AssociateDomainInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentAssociateDomainInput(v *AssociateDomainInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.AcmCertificateArn != nil { - ok := object.Key("AcmCertificateArn") - ok.String(*v.AcmCertificateArn) - } - - if v.DisplayName != nil { - ok := object.Key("DisplayName") - ok.String(*v.DisplayName) - } - - if v.DomainName != nil { - ok := object.Key("DomainName") - ok.String(*v.DomainName) - } - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpAssociateWebsiteAuthorizationProvider struct { -} - -func (*awsRestjson1_serializeOpAssociateWebsiteAuthorizationProvider) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpAssociateWebsiteAuthorizationProvider) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*AssociateWebsiteAuthorizationProviderInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/associateWebsiteAuthorizationProvider") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentAssociateWebsiteAuthorizationProviderInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsAssociateWebsiteAuthorizationProviderInput(v *AssociateWebsiteAuthorizationProviderInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentAssociateWebsiteAuthorizationProviderInput(v *AssociateWebsiteAuthorizationProviderInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if len(v.AuthorizationProviderType) > 0 { - ok := object.Key("AuthorizationProviderType") - ok.String(string(v.AuthorizationProviderType)) - } - - if v.DomainName != nil { - ok := object.Key("DomainName") - ok.String(*v.DomainName) - } - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpAssociateWebsiteCertificateAuthority struct { -} - -func (*awsRestjson1_serializeOpAssociateWebsiteCertificateAuthority) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpAssociateWebsiteCertificateAuthority) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*AssociateWebsiteCertificateAuthorityInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/associateWebsiteCertificateAuthority") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentAssociateWebsiteCertificateAuthorityInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsAssociateWebsiteCertificateAuthorityInput(v *AssociateWebsiteCertificateAuthorityInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentAssociateWebsiteCertificateAuthorityInput(v *AssociateWebsiteCertificateAuthorityInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.Certificate != nil { - ok := object.Key("Certificate") - ok.String(*v.Certificate) - } - - if v.DisplayName != nil { - ok := object.Key("DisplayName") - ok.String(*v.DisplayName) - } - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpCreateFleet struct { -} - -func (*awsRestjson1_serializeOpCreateFleet) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpCreateFleet) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*CreateFleetInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/createFleet") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentCreateFleetInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsCreateFleetInput(v *CreateFleetInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentCreateFleetInput(v *CreateFleetInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.DisplayName != nil { - ok := object.Key("DisplayName") - ok.String(*v.DisplayName) - } - - if v.FleetName != nil { - ok := object.Key("FleetName") - ok.String(*v.FleetName) - } - - if v.OptimizeForEndUserLocation != nil { - ok := object.Key("OptimizeForEndUserLocation") - ok.Boolean(*v.OptimizeForEndUserLocation) - } - - if v.Tags != nil { - ok := object.Key("Tags") - if err := awsRestjson1_serializeDocumentTagMap(v.Tags, ok); err != nil { - return err - } - } - - return nil -} - -type awsRestjson1_serializeOpDeleteFleet struct { -} - -func (*awsRestjson1_serializeOpDeleteFleet) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpDeleteFleet) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*DeleteFleetInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/deleteFleet") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentDeleteFleetInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsDeleteFleetInput(v *DeleteFleetInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentDeleteFleetInput(v *DeleteFleetInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpDescribeAuditStreamConfiguration struct { -} - -func (*awsRestjson1_serializeOpDescribeAuditStreamConfiguration) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpDescribeAuditStreamConfiguration) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*DescribeAuditStreamConfigurationInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/describeAuditStreamConfiguration") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentDescribeAuditStreamConfigurationInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsDescribeAuditStreamConfigurationInput(v *DescribeAuditStreamConfigurationInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentDescribeAuditStreamConfigurationInput(v *DescribeAuditStreamConfigurationInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpDescribeCompanyNetworkConfiguration struct { -} - -func (*awsRestjson1_serializeOpDescribeCompanyNetworkConfiguration) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpDescribeCompanyNetworkConfiguration) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*DescribeCompanyNetworkConfigurationInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/describeCompanyNetworkConfiguration") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentDescribeCompanyNetworkConfigurationInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsDescribeCompanyNetworkConfigurationInput(v *DescribeCompanyNetworkConfigurationInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentDescribeCompanyNetworkConfigurationInput(v *DescribeCompanyNetworkConfigurationInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpDescribeDevice struct { -} - -func (*awsRestjson1_serializeOpDescribeDevice) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpDescribeDevice) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*DescribeDeviceInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/describeDevice") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentDescribeDeviceInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsDescribeDeviceInput(v *DescribeDeviceInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentDescribeDeviceInput(v *DescribeDeviceInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.DeviceId != nil { - ok := object.Key("DeviceId") - ok.String(*v.DeviceId) - } - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpDescribeDevicePolicyConfiguration struct { -} - -func (*awsRestjson1_serializeOpDescribeDevicePolicyConfiguration) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpDescribeDevicePolicyConfiguration) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*DescribeDevicePolicyConfigurationInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/describeDevicePolicyConfiguration") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentDescribeDevicePolicyConfigurationInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsDescribeDevicePolicyConfigurationInput(v *DescribeDevicePolicyConfigurationInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentDescribeDevicePolicyConfigurationInput(v *DescribeDevicePolicyConfigurationInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpDescribeDomain struct { -} - -func (*awsRestjson1_serializeOpDescribeDomain) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpDescribeDomain) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*DescribeDomainInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/describeDomain") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentDescribeDomainInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsDescribeDomainInput(v *DescribeDomainInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentDescribeDomainInput(v *DescribeDomainInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.DomainName != nil { - ok := object.Key("DomainName") - ok.String(*v.DomainName) - } - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpDescribeFleetMetadata struct { -} - -func (*awsRestjson1_serializeOpDescribeFleetMetadata) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpDescribeFleetMetadata) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*DescribeFleetMetadataInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/describeFleetMetadata") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentDescribeFleetMetadataInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsDescribeFleetMetadataInput(v *DescribeFleetMetadataInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentDescribeFleetMetadataInput(v *DescribeFleetMetadataInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpDescribeIdentityProviderConfiguration struct { -} - -func (*awsRestjson1_serializeOpDescribeIdentityProviderConfiguration) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpDescribeIdentityProviderConfiguration) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*DescribeIdentityProviderConfigurationInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/describeIdentityProviderConfiguration") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentDescribeIdentityProviderConfigurationInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsDescribeIdentityProviderConfigurationInput(v *DescribeIdentityProviderConfigurationInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentDescribeIdentityProviderConfigurationInput(v *DescribeIdentityProviderConfigurationInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpDescribeWebsiteCertificateAuthority struct { -} - -func (*awsRestjson1_serializeOpDescribeWebsiteCertificateAuthority) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpDescribeWebsiteCertificateAuthority) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*DescribeWebsiteCertificateAuthorityInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/describeWebsiteCertificateAuthority") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentDescribeWebsiteCertificateAuthorityInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsDescribeWebsiteCertificateAuthorityInput(v *DescribeWebsiteCertificateAuthorityInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentDescribeWebsiteCertificateAuthorityInput(v *DescribeWebsiteCertificateAuthorityInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - if v.WebsiteCaId != nil { - ok := object.Key("WebsiteCaId") - ok.String(*v.WebsiteCaId) - } - - return nil -} - -type awsRestjson1_serializeOpDisassociateDomain struct { -} - -func (*awsRestjson1_serializeOpDisassociateDomain) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpDisassociateDomain) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*DisassociateDomainInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/disassociateDomain") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentDisassociateDomainInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsDisassociateDomainInput(v *DisassociateDomainInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentDisassociateDomainInput(v *DisassociateDomainInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.DomainName != nil { - ok := object.Key("DomainName") - ok.String(*v.DomainName) - } - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpDisassociateWebsiteAuthorizationProvider struct { -} - -func (*awsRestjson1_serializeOpDisassociateWebsiteAuthorizationProvider) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpDisassociateWebsiteAuthorizationProvider) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*DisassociateWebsiteAuthorizationProviderInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/disassociateWebsiteAuthorizationProvider") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentDisassociateWebsiteAuthorizationProviderInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsDisassociateWebsiteAuthorizationProviderInput(v *DisassociateWebsiteAuthorizationProviderInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentDisassociateWebsiteAuthorizationProviderInput(v *DisassociateWebsiteAuthorizationProviderInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.AuthorizationProviderId != nil { - ok := object.Key("AuthorizationProviderId") - ok.String(*v.AuthorizationProviderId) - } - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpDisassociateWebsiteCertificateAuthority struct { -} - -func (*awsRestjson1_serializeOpDisassociateWebsiteCertificateAuthority) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpDisassociateWebsiteCertificateAuthority) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*DisassociateWebsiteCertificateAuthorityInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/disassociateWebsiteCertificateAuthority") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentDisassociateWebsiteCertificateAuthorityInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsDisassociateWebsiteCertificateAuthorityInput(v *DisassociateWebsiteCertificateAuthorityInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentDisassociateWebsiteCertificateAuthorityInput(v *DisassociateWebsiteCertificateAuthorityInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - if v.WebsiteCaId != nil { - ok := object.Key("WebsiteCaId") - ok.String(*v.WebsiteCaId) - } - - return nil -} - -type awsRestjson1_serializeOpListDevices struct { -} - -func (*awsRestjson1_serializeOpListDevices) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpListDevices) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*ListDevicesInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/listDevices") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentListDevicesInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsListDevicesInput(v *ListDevicesInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentListDevicesInput(v *ListDevicesInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - 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 -} - -type awsRestjson1_serializeOpListDomains struct { -} - -func (*awsRestjson1_serializeOpListDomains) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpListDomains) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*ListDomainsInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/listDomains") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentListDomainsInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsListDomainsInput(v *ListDomainsInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentListDomainsInput(v *ListDomainsInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - 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 -} - -type awsRestjson1_serializeOpListFleets struct { -} - -func (*awsRestjson1_serializeOpListFleets) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpListFleets) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*ListFleetsInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/listFleets") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentListFleetsInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsListFleetsInput(v *ListFleetsInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentListFleetsInput(v *ListFleetsInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - 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 -} - -type awsRestjson1_serializeOpListTagsForResource struct { -} - -func (*awsRestjson1_serializeOpListTagsForResource) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpListTagsForResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*ListTagsForResourceInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/tags/{ResourceArn}") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "GET" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if err := awsRestjson1_serializeOpHttpBindingsListTagsForResourceInput(input, restEncoder); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsListTagsForResourceInput(v *ListTagsForResourceInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - if v.ResourceArn == nil || len(*v.ResourceArn) == 0 { - return &smithy.SerializationError{Err: fmt.Errorf("input member ResourceArn must not be empty")} - } - if v.ResourceArn != nil { - if err := encoder.SetURI("ResourceArn").String(*v.ResourceArn); err != nil { - return err - } - } - - return nil -} - -type awsRestjson1_serializeOpListWebsiteAuthorizationProviders struct { -} - -func (*awsRestjson1_serializeOpListWebsiteAuthorizationProviders) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpListWebsiteAuthorizationProviders) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*ListWebsiteAuthorizationProvidersInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/listWebsiteAuthorizationProviders") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentListWebsiteAuthorizationProvidersInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsListWebsiteAuthorizationProvidersInput(v *ListWebsiteAuthorizationProvidersInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentListWebsiteAuthorizationProvidersInput(v *ListWebsiteAuthorizationProvidersInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - 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 -} - -type awsRestjson1_serializeOpListWebsiteCertificateAuthorities struct { -} - -func (*awsRestjson1_serializeOpListWebsiteCertificateAuthorities) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpListWebsiteCertificateAuthorities) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*ListWebsiteCertificateAuthoritiesInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/listWebsiteCertificateAuthorities") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentListWebsiteCertificateAuthoritiesInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsListWebsiteCertificateAuthoritiesInput(v *ListWebsiteCertificateAuthoritiesInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentListWebsiteCertificateAuthoritiesInput(v *ListWebsiteCertificateAuthoritiesInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - 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 -} - -type awsRestjson1_serializeOpRestoreDomainAccess struct { -} - -func (*awsRestjson1_serializeOpRestoreDomainAccess) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpRestoreDomainAccess) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*RestoreDomainAccessInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/restoreDomainAccess") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentRestoreDomainAccessInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsRestoreDomainAccessInput(v *RestoreDomainAccessInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentRestoreDomainAccessInput(v *RestoreDomainAccessInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.DomainName != nil { - ok := object.Key("DomainName") - ok.String(*v.DomainName) - } - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpRevokeDomainAccess struct { -} - -func (*awsRestjson1_serializeOpRevokeDomainAccess) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpRevokeDomainAccess) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*RevokeDomainAccessInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/revokeDomainAccess") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentRevokeDomainAccessInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsRevokeDomainAccessInput(v *RevokeDomainAccessInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentRevokeDomainAccessInput(v *RevokeDomainAccessInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.DomainName != nil { - ok := object.Key("DomainName") - ok.String(*v.DomainName) - } - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpSignOutUser struct { -} - -func (*awsRestjson1_serializeOpSignOutUser) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpSignOutUser) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*SignOutUserInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/signOutUser") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentSignOutUserInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsSignOutUserInput(v *SignOutUserInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentSignOutUserInput(v *SignOutUserInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - if v.Username != nil { - ok := object.Key("Username") - ok.String(*v.Username) - } - - return nil -} - -type awsRestjson1_serializeOpTagResource struct { -} - -func (*awsRestjson1_serializeOpTagResource) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpTagResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*TagResourceInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/tags/{ResourceArn}") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if err := awsRestjson1_serializeOpHttpBindingsTagResourceInput(input, restEncoder); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentTagResourceInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsTagResourceInput(v *TagResourceInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - if v.ResourceArn == nil || len(*v.ResourceArn) == 0 { - return &smithy.SerializationError{Err: fmt.Errorf("input member ResourceArn must not be empty")} - } - if v.ResourceArn != nil { - if err := encoder.SetURI("ResourceArn").String(*v.ResourceArn); err != nil { - return err - } - } - - return nil -} - -func awsRestjson1_serializeOpDocumentTagResourceInput(v *TagResourceInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.Tags != nil { - ok := object.Key("Tags") - if err := awsRestjson1_serializeDocumentTagMap(v.Tags, ok); err != nil { - return err - } - } - - return nil -} - -type awsRestjson1_serializeOpUntagResource struct { -} - -func (*awsRestjson1_serializeOpUntagResource) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpUntagResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*UntagResourceInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/tags/{ResourceArn}") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "DELETE" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if err := awsRestjson1_serializeOpHttpBindingsUntagResourceInput(input, restEncoder); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsUntagResourceInput(v *UntagResourceInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - if v.ResourceArn == nil || len(*v.ResourceArn) == 0 { - return &smithy.SerializationError{Err: fmt.Errorf("input member ResourceArn must not be empty")} - } - if v.ResourceArn != nil { - if err := encoder.SetURI("ResourceArn").String(*v.ResourceArn); err != nil { - return err - } - } - - if v.TagKeys != nil { - for i := range v.TagKeys { - encoder.AddQuery("tagKeys").String(v.TagKeys[i]) - } - } - - return nil -} - -type awsRestjson1_serializeOpUpdateAuditStreamConfiguration struct { -} - -func (*awsRestjson1_serializeOpUpdateAuditStreamConfiguration) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpUpdateAuditStreamConfiguration) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*UpdateAuditStreamConfigurationInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/updateAuditStreamConfiguration") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentUpdateAuditStreamConfigurationInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsUpdateAuditStreamConfigurationInput(v *UpdateAuditStreamConfigurationInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentUpdateAuditStreamConfigurationInput(v *UpdateAuditStreamConfigurationInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.AuditStreamArn != nil { - ok := object.Key("AuditStreamArn") - ok.String(*v.AuditStreamArn) - } - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpUpdateCompanyNetworkConfiguration struct { -} - -func (*awsRestjson1_serializeOpUpdateCompanyNetworkConfiguration) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpUpdateCompanyNetworkConfiguration) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*UpdateCompanyNetworkConfigurationInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/updateCompanyNetworkConfiguration") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentUpdateCompanyNetworkConfigurationInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsUpdateCompanyNetworkConfigurationInput(v *UpdateCompanyNetworkConfigurationInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentUpdateCompanyNetworkConfigurationInput(v *UpdateCompanyNetworkConfigurationInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - if v.SecurityGroupIds != nil { - ok := object.Key("SecurityGroupIds") - if err := awsRestjson1_serializeDocumentSecurityGroupIds(v.SecurityGroupIds, ok); err != nil { - return err - } - } - - if v.SubnetIds != nil { - ok := object.Key("SubnetIds") - if err := awsRestjson1_serializeDocumentSubnetIds(v.SubnetIds, ok); err != nil { - return err - } - } - - if v.VpcId != nil { - ok := object.Key("VpcId") - ok.String(*v.VpcId) - } - - return nil -} - -type awsRestjson1_serializeOpUpdateDevicePolicyConfiguration struct { -} - -func (*awsRestjson1_serializeOpUpdateDevicePolicyConfiguration) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpUpdateDevicePolicyConfiguration) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*UpdateDevicePolicyConfigurationInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/updateDevicePolicyConfiguration") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentUpdateDevicePolicyConfigurationInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsUpdateDevicePolicyConfigurationInput(v *UpdateDevicePolicyConfigurationInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentUpdateDevicePolicyConfigurationInput(v *UpdateDevicePolicyConfigurationInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.DeviceCaCertificate != nil { - ok := object.Key("DeviceCaCertificate") - ok.String(*v.DeviceCaCertificate) - } - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpUpdateDomainMetadata struct { -} - -func (*awsRestjson1_serializeOpUpdateDomainMetadata) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpUpdateDomainMetadata) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*UpdateDomainMetadataInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/updateDomainMetadata") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentUpdateDomainMetadataInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsUpdateDomainMetadataInput(v *UpdateDomainMetadataInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentUpdateDomainMetadataInput(v *UpdateDomainMetadataInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.DisplayName != nil { - ok := object.Key("DisplayName") - ok.String(*v.DisplayName) - } - - if v.DomainName != nil { - ok := object.Key("DomainName") - ok.String(*v.DomainName) - } - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - return nil -} - -type awsRestjson1_serializeOpUpdateFleetMetadata struct { -} - -func (*awsRestjson1_serializeOpUpdateFleetMetadata) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpUpdateFleetMetadata) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*UpdateFleetMetadataInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/UpdateFleetMetadata") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentUpdateFleetMetadataInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsUpdateFleetMetadataInput(v *UpdateFleetMetadataInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentUpdateFleetMetadataInput(v *UpdateFleetMetadataInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.DisplayName != nil { - ok := object.Key("DisplayName") - ok.String(*v.DisplayName) - } - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - if v.OptimizeForEndUserLocation != nil { - ok := object.Key("OptimizeForEndUserLocation") - ok.Boolean(*v.OptimizeForEndUserLocation) - } - - return nil -} - -type awsRestjson1_serializeOpUpdateIdentityProviderConfiguration struct { -} - -func (*awsRestjson1_serializeOpUpdateIdentityProviderConfiguration) ID() string { - return "OperationSerializer" -} - -func (m *awsRestjson1_serializeOpUpdateIdentityProviderConfiguration) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( - out middleware.SerializeOutput, metadata middleware.Metadata, err error, -) { - _, span := tracing.StartSpan(ctx, "OperationSerializer") - endTimer := startMetricTimer(ctx, "client.call.serialization_duration") - defer endTimer() - defer span.End() - request, ok := in.Request.(*smithyhttp.Request) - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} - } - - input, ok := in.Parameters.(*UpdateIdentityProviderConfigurationInput) - _ = input - if !ok { - return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} - } - - opPath, opQuery := httpbinding.SplitURI("/updateIdentityProviderConfiguration") - request.URL.Path = smithyhttp.JoinPath(request.URL.Path, opPath) - request.URL.RawQuery = smithyhttp.JoinRawQuery(request.URL.RawQuery, opQuery) - request.Method = "POST" - var restEncoder *httpbinding.Encoder - if request.URL.RawPath == "" { - restEncoder, err = httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) - } else { - request.URL.RawPath = smithyhttp.JoinPath(request.URL.RawPath, opPath) - restEncoder, err = httpbinding.NewEncoderWithRawPath(request.URL.Path, request.URL.RawPath, request.URL.RawQuery, request.Header) - } - - if err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - restEncoder.SetHeader("Content-Type").String("application/json") - - jsonEncoder := smithyjson.NewEncoder() - if err := awsRestjson1_serializeOpDocumentUpdateIdentityProviderConfigurationInput(input, jsonEncoder.Value); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - - if request.Request, err = restEncoder.Encode(request.Request); err != nil { - return out, metadata, &smithy.SerializationError{Err: err} - } - in.Request = request - - endTimer() - span.End() - return next.HandleSerialize(ctx, in) -} -func awsRestjson1_serializeOpHttpBindingsUpdateIdentityProviderConfigurationInput(v *UpdateIdentityProviderConfigurationInput, encoder *httpbinding.Encoder) error { - if v == nil { - return fmt.Errorf("unsupported serialization of nil %T", v) - } - - return nil -} - -func awsRestjson1_serializeOpDocumentUpdateIdentityProviderConfigurationInput(v *UpdateIdentityProviderConfigurationInput, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - if v.FleetArn != nil { - ok := object.Key("FleetArn") - ok.String(*v.FleetArn) - } - - if v.IdentityProviderSamlMetadata != nil { - ok := object.Key("IdentityProviderSamlMetadata") - ok.String(*v.IdentityProviderSamlMetadata) - } - - if len(v.IdentityProviderType) > 0 { - ok := object.Key("IdentityProviderType") - ok.String(string(v.IdentityProviderType)) - } - - return nil -} - -func awsRestjson1_serializeDocumentSecurityGroupIds(v []string, value smithyjson.Value) error { - array := value.Array() - defer array.Close() - - for i := range v { - av := array.Value() - av.String(v[i]) - } - return nil -} - -func awsRestjson1_serializeDocumentSubnetIds(v []string, value smithyjson.Value) error { - array := value.Array() - defer array.Close() - - for i := range v { - av := array.Value() - av.String(v[i]) - } - return nil -} - -func awsRestjson1_serializeDocumentTagMap(v map[string]string, value smithyjson.Value) error { - object := value.Object() - defer object.Close() - - for key := range v { - om := object.Key(key) - om.String(v[key]) - } - return nil -} diff --git a/service/worklink/snapshot/api_op_AssociateWebsiteCertificateAuthority.go.snap b/service/worklink/snapshot/api_op_AssociateWebsiteCertificateAuthority.go.snap deleted file mode 100644 index ace281656fb..00000000000 --- a/service/worklink/snapshot/api_op_AssociateWebsiteCertificateAuthority.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -AssociateWebsiteCertificateAuthority - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_CreateFleet.go.snap b/service/worklink/snapshot/api_op_CreateFleet.go.snap deleted file mode 100644 index 0cd076fe34d..00000000000 --- a/service/worklink/snapshot/api_op_CreateFleet.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -CreateFleet - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_DeleteFleet.go.snap b/service/worklink/snapshot/api_op_DeleteFleet.go.snap deleted file mode 100644 index 675bbd27ccc..00000000000 --- a/service/worklink/snapshot/api_op_DeleteFleet.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -DeleteFleet - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_DescribeAuditStreamConfiguration.go.snap b/service/worklink/snapshot/api_op_DescribeAuditStreamConfiguration.go.snap deleted file mode 100644 index 27d1edafaf2..00000000000 --- a/service/worklink/snapshot/api_op_DescribeAuditStreamConfiguration.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -DescribeAuditStreamConfiguration - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_DescribeCompanyNetworkConfiguration.go.snap b/service/worklink/snapshot/api_op_DescribeCompanyNetworkConfiguration.go.snap deleted file mode 100644 index f699179e62f..00000000000 --- a/service/worklink/snapshot/api_op_DescribeCompanyNetworkConfiguration.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -DescribeCompanyNetworkConfiguration - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_DescribeDevice.go.snap b/service/worklink/snapshot/api_op_DescribeDevice.go.snap deleted file mode 100644 index 153173a40a6..00000000000 --- a/service/worklink/snapshot/api_op_DescribeDevice.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -DescribeDevice - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_DescribeDevicePolicyConfiguration.go.snap b/service/worklink/snapshot/api_op_DescribeDevicePolicyConfiguration.go.snap deleted file mode 100644 index 41e5bab6d9a..00000000000 --- a/service/worklink/snapshot/api_op_DescribeDevicePolicyConfiguration.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -DescribeDevicePolicyConfiguration - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_DescribeDomain.go.snap b/service/worklink/snapshot/api_op_DescribeDomain.go.snap deleted file mode 100644 index b9c04603374..00000000000 --- a/service/worklink/snapshot/api_op_DescribeDomain.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -DescribeDomain - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_DescribeFleetMetadata.go.snap b/service/worklink/snapshot/api_op_DescribeFleetMetadata.go.snap deleted file mode 100644 index dc240f3b586..00000000000 --- a/service/worklink/snapshot/api_op_DescribeFleetMetadata.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -DescribeFleetMetadata - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_DescribeIdentityProviderConfiguration.go.snap b/service/worklink/snapshot/api_op_DescribeIdentityProviderConfiguration.go.snap deleted file mode 100644 index 2883d4e670a..00000000000 --- a/service/worklink/snapshot/api_op_DescribeIdentityProviderConfiguration.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -DescribeIdentityProviderConfiguration - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_DescribeWebsiteCertificateAuthority.go.snap b/service/worklink/snapshot/api_op_DescribeWebsiteCertificateAuthority.go.snap deleted file mode 100644 index c1a2bb91588..00000000000 --- a/service/worklink/snapshot/api_op_DescribeWebsiteCertificateAuthority.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -DescribeWebsiteCertificateAuthority - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_DisassociateDomain.go.snap b/service/worklink/snapshot/api_op_DisassociateDomain.go.snap deleted file mode 100644 index dceaa4d1df0..00000000000 --- a/service/worklink/snapshot/api_op_DisassociateDomain.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -DisassociateDomain - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_DisassociateWebsiteAuthorizationProvider.go.snap b/service/worklink/snapshot/api_op_DisassociateWebsiteAuthorizationProvider.go.snap deleted file mode 100644 index 3563e6a5064..00000000000 --- a/service/worklink/snapshot/api_op_DisassociateWebsiteAuthorizationProvider.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -DisassociateWebsiteAuthorizationProvider - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_DisassociateWebsiteCertificateAuthority.go.snap b/service/worklink/snapshot/api_op_DisassociateWebsiteCertificateAuthority.go.snap deleted file mode 100644 index 968bf564df9..00000000000 --- a/service/worklink/snapshot/api_op_DisassociateWebsiteCertificateAuthority.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -DisassociateWebsiteCertificateAuthority - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_ListDevices.go.snap b/service/worklink/snapshot/api_op_ListDevices.go.snap deleted file mode 100644 index 8cf2f784951..00000000000 --- a/service/worklink/snapshot/api_op_ListDevices.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -ListDevices - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_ListDomains.go.snap b/service/worklink/snapshot/api_op_ListDomains.go.snap deleted file mode 100644 index a3a6e8b13ca..00000000000 --- a/service/worklink/snapshot/api_op_ListDomains.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -ListDomains - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_ListFleets.go.snap b/service/worklink/snapshot/api_op_ListFleets.go.snap deleted file mode 100644 index 31f1a01e421..00000000000 --- a/service/worklink/snapshot/api_op_ListFleets.go.snap +++ /dev/null @@ -1,40 +0,0 @@ -ListFleets - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_ListTagsForResource.go.snap b/service/worklink/snapshot/api_op_ListTagsForResource.go.snap deleted file mode 100644 index 071d3ac4e96..00000000000 --- a/service/worklink/snapshot/api_op_ListTagsForResource.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -ListTagsForResource - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_ListWebsiteAuthorizationProviders.go.snap b/service/worklink/snapshot/api_op_ListWebsiteAuthorizationProviders.go.snap deleted file mode 100644 index f5cea6fab5a..00000000000 --- a/service/worklink/snapshot/api_op_ListWebsiteAuthorizationProviders.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -ListWebsiteAuthorizationProviders - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_ListWebsiteCertificateAuthorities.go.snap b/service/worklink/snapshot/api_op_ListWebsiteCertificateAuthorities.go.snap deleted file mode 100644 index 53dcd734f03..00000000000 --- a/service/worklink/snapshot/api_op_ListWebsiteCertificateAuthorities.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -ListWebsiteCertificateAuthorities - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_RestoreDomainAccess.go.snap b/service/worklink/snapshot/api_op_RestoreDomainAccess.go.snap deleted file mode 100644 index 1fe7b60d61f..00000000000 --- a/service/worklink/snapshot/api_op_RestoreDomainAccess.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -RestoreDomainAccess - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_RevokeDomainAccess.go.snap b/service/worklink/snapshot/api_op_RevokeDomainAccess.go.snap deleted file mode 100644 index 56c0a681be9..00000000000 --- a/service/worklink/snapshot/api_op_RevokeDomainAccess.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -RevokeDomainAccess - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_SignOutUser.go.snap b/service/worklink/snapshot/api_op_SignOutUser.go.snap deleted file mode 100644 index c9ee0b95462..00000000000 --- a/service/worklink/snapshot/api_op_SignOutUser.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -SignOutUser - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_TagResource.go.snap b/service/worklink/snapshot/api_op_TagResource.go.snap deleted file mode 100644 index ae6f8e0846c..00000000000 --- a/service/worklink/snapshot/api_op_TagResource.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -TagResource - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_UntagResource.go.snap b/service/worklink/snapshot/api_op_UntagResource.go.snap deleted file mode 100644 index c7bbe038d98..00000000000 --- a/service/worklink/snapshot/api_op_UntagResource.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -UntagResource - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_UpdateAuditStreamConfiguration.go.snap b/service/worklink/snapshot/api_op_UpdateAuditStreamConfiguration.go.snap deleted file mode 100644 index e7d20a2eb7a..00000000000 --- a/service/worklink/snapshot/api_op_UpdateAuditStreamConfiguration.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -UpdateAuditStreamConfiguration - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_UpdateCompanyNetworkConfiguration.go.snap b/service/worklink/snapshot/api_op_UpdateCompanyNetworkConfiguration.go.snap deleted file mode 100644 index 42afddae828..00000000000 --- a/service/worklink/snapshot/api_op_UpdateCompanyNetworkConfiguration.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -UpdateCompanyNetworkConfiguration - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_UpdateDevicePolicyConfiguration.go.snap b/service/worklink/snapshot/api_op_UpdateDevicePolicyConfiguration.go.snap deleted file mode 100644 index 4249d1c7b8f..00000000000 --- a/service/worklink/snapshot/api_op_UpdateDevicePolicyConfiguration.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -UpdateDevicePolicyConfiguration - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_UpdateDomainMetadata.go.snap b/service/worklink/snapshot/api_op_UpdateDomainMetadata.go.snap deleted file mode 100644 index 22ba6ffb59c..00000000000 --- a/service/worklink/snapshot/api_op_UpdateDomainMetadata.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -UpdateDomainMetadata - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_UpdateFleetMetadata.go.snap b/service/worklink/snapshot/api_op_UpdateFleetMetadata.go.snap deleted file mode 100644 index 2ff2e5a5212..00000000000 --- a/service/worklink/snapshot/api_op_UpdateFleetMetadata.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -UpdateFleetMetadata - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot/api_op_UpdateIdentityProviderConfiguration.go.snap b/service/worklink/snapshot/api_op_UpdateIdentityProviderConfiguration.go.snap deleted file mode 100644 index 0406239da71..00000000000 --- a/service/worklink/snapshot/api_op_UpdateIdentityProviderConfiguration.go.snap +++ /dev/null @@ -1,41 +0,0 @@ -UpdateIdentityProviderConfiguration - Initialize stack step - spanInitializeStart - RegisterServiceMetadata - legacyEndpointContextSetter - SetLogger - OperationInputValidation - spanInitializeEnd - Serialize stack step - spanBuildRequestStart - setOperationInput - ResolveEndpoint - OperationSerializer - Build stack step - ClientRequestID - ComputeContentLength - UserAgent - AddTimeOffsetMiddleware - RecursionDetection - spanBuildRequestEnd - Finalize stack step - ResolveAuthScheme - GetIdentity - ResolveEndpointV2 - disableHTTPS - ComputePayloadHash - spanRetryLoop - Retry - RetryMetricsHeader - setLegacyContextSigningOptions - Signing - Deserialize stack step - AddRawResponseToMetadata - ErrorCloseResponseBody - CloseResponseBody - ResponseErrorWrapper - RequestIDRetriever - OperationDeserializer - AddTimeOffsetMiddleware - RecordResponseTiming - RequestResponseLogger diff --git a/service/worklink/snapshot_test.go b/service/worklink/snapshot_test.go deleted file mode 100644 index 304ebed5582..00000000000 --- a/service/worklink/snapshot_test.go +++ /dev/null @@ -1,854 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -//go:build snapshot - -package worklink - -import ( - "context" - "errors" - "fmt" - "github.com/aws/smithy-go/middleware" - "io" - "io/fs" - "os" - "testing" -) - -const ssprefix = "snapshot" - -type snapshotOK struct{} - -func (snapshotOK) Error() string { return "error: success" } - -func createp(path string) (*os.File, error) { - if err := os.Mkdir(ssprefix, 0700); err != nil && !errors.Is(err, fs.ErrExist) { - return nil, err - } - return os.Create(path) -} - -func sspath(op string) string { - return fmt.Sprintf("%s/api_op_%s.go.snap", ssprefix, op) -} - -func updateSnapshot(stack *middleware.Stack, operation string) error { - f, err := createp(sspath(operation)) - if err != nil { - return err - } - defer f.Close() - if _, err := f.Write([]byte(stack.String())); err != nil { - return err - } - return snapshotOK{} -} - -func testSnapshot(stack *middleware.Stack, operation string) error { - f, err := os.Open(sspath(operation)) - if errors.Is(err, fs.ErrNotExist) { - return snapshotOK{} - } - if err != nil { - return err - } - defer f.Close() - expected, err := io.ReadAll(f) - if err != nil { - return err - } - if actual := stack.String(); actual != string(expected) { - return fmt.Errorf("%s != %s", expected, actual) - } - return snapshotOK{} -} -func TestCheckSnapshot_AssociateDomain(t *testing.T) { - svc := New(Options{}) - _, err := svc.AssociateDomain(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "AssociateDomain") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_AssociateWebsiteAuthorizationProvider(t *testing.T) { - svc := New(Options{}) - _, err := svc.AssociateWebsiteAuthorizationProvider(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "AssociateWebsiteAuthorizationProvider") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_AssociateWebsiteCertificateAuthority(t *testing.T) { - svc := New(Options{}) - _, err := svc.AssociateWebsiteCertificateAuthority(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "AssociateWebsiteCertificateAuthority") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_CreateFleet(t *testing.T) { - svc := New(Options{}) - _, err := svc.CreateFleet(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "CreateFleet") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_DeleteFleet(t *testing.T) { - svc := New(Options{}) - _, err := svc.DeleteFleet(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "DeleteFleet") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_DescribeAuditStreamConfiguration(t *testing.T) { - svc := New(Options{}) - _, err := svc.DescribeAuditStreamConfiguration(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "DescribeAuditStreamConfiguration") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_DescribeCompanyNetworkConfiguration(t *testing.T) { - svc := New(Options{}) - _, err := svc.DescribeCompanyNetworkConfiguration(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "DescribeCompanyNetworkConfiguration") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_DescribeDevice(t *testing.T) { - svc := New(Options{}) - _, err := svc.DescribeDevice(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "DescribeDevice") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_DescribeDevicePolicyConfiguration(t *testing.T) { - svc := New(Options{}) - _, err := svc.DescribeDevicePolicyConfiguration(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "DescribeDevicePolicyConfiguration") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_DescribeDomain(t *testing.T) { - svc := New(Options{}) - _, err := svc.DescribeDomain(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "DescribeDomain") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_DescribeFleetMetadata(t *testing.T) { - svc := New(Options{}) - _, err := svc.DescribeFleetMetadata(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "DescribeFleetMetadata") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_DescribeIdentityProviderConfiguration(t *testing.T) { - svc := New(Options{}) - _, err := svc.DescribeIdentityProviderConfiguration(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "DescribeIdentityProviderConfiguration") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_DescribeWebsiteCertificateAuthority(t *testing.T) { - svc := New(Options{}) - _, err := svc.DescribeWebsiteCertificateAuthority(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "DescribeWebsiteCertificateAuthority") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_DisassociateDomain(t *testing.T) { - svc := New(Options{}) - _, err := svc.DisassociateDomain(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "DisassociateDomain") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_DisassociateWebsiteAuthorizationProvider(t *testing.T) { - svc := New(Options{}) - _, err := svc.DisassociateWebsiteAuthorizationProvider(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "DisassociateWebsiteAuthorizationProvider") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_DisassociateWebsiteCertificateAuthority(t *testing.T) { - svc := New(Options{}) - _, err := svc.DisassociateWebsiteCertificateAuthority(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "DisassociateWebsiteCertificateAuthority") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_ListDevices(t *testing.T) { - svc := New(Options{}) - _, err := svc.ListDevices(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "ListDevices") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_ListDomains(t *testing.T) { - svc := New(Options{}) - _, err := svc.ListDomains(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "ListDomains") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_ListFleets(t *testing.T) { - svc := New(Options{}) - _, err := svc.ListFleets(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "ListFleets") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_ListTagsForResource(t *testing.T) { - svc := New(Options{}) - _, err := svc.ListTagsForResource(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "ListTagsForResource") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_ListWebsiteAuthorizationProviders(t *testing.T) { - svc := New(Options{}) - _, err := svc.ListWebsiteAuthorizationProviders(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "ListWebsiteAuthorizationProviders") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_ListWebsiteCertificateAuthorities(t *testing.T) { - svc := New(Options{}) - _, err := svc.ListWebsiteCertificateAuthorities(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "ListWebsiteCertificateAuthorities") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_RestoreDomainAccess(t *testing.T) { - svc := New(Options{}) - _, err := svc.RestoreDomainAccess(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "RestoreDomainAccess") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_RevokeDomainAccess(t *testing.T) { - svc := New(Options{}) - _, err := svc.RevokeDomainAccess(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "RevokeDomainAccess") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_SignOutUser(t *testing.T) { - svc := New(Options{}) - _, err := svc.SignOutUser(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "SignOutUser") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_TagResource(t *testing.T) { - svc := New(Options{}) - _, err := svc.TagResource(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "TagResource") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_UntagResource(t *testing.T) { - svc := New(Options{}) - _, err := svc.UntagResource(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "UntagResource") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_UpdateAuditStreamConfiguration(t *testing.T) { - svc := New(Options{}) - _, err := svc.UpdateAuditStreamConfiguration(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "UpdateAuditStreamConfiguration") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_UpdateCompanyNetworkConfiguration(t *testing.T) { - svc := New(Options{}) - _, err := svc.UpdateCompanyNetworkConfiguration(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "UpdateCompanyNetworkConfiguration") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_UpdateDevicePolicyConfiguration(t *testing.T) { - svc := New(Options{}) - _, err := svc.UpdateDevicePolicyConfiguration(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "UpdateDevicePolicyConfiguration") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_UpdateDomainMetadata(t *testing.T) { - svc := New(Options{}) - _, err := svc.UpdateDomainMetadata(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "UpdateDomainMetadata") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_UpdateFleetMetadata(t *testing.T) { - svc := New(Options{}) - _, err := svc.UpdateFleetMetadata(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "UpdateFleetMetadata") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestCheckSnapshot_UpdateIdentityProviderConfiguration(t *testing.T) { - svc := New(Options{}) - _, err := svc.UpdateIdentityProviderConfiguration(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return testSnapshot(stack, "UpdateIdentityProviderConfiguration") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} -func TestUpdateSnapshot_AssociateDomain(t *testing.T) { - svc := New(Options{}) - _, err := svc.AssociateDomain(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "AssociateDomain") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_AssociateWebsiteAuthorizationProvider(t *testing.T) { - svc := New(Options{}) - _, err := svc.AssociateWebsiteAuthorizationProvider(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "AssociateWebsiteAuthorizationProvider") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_AssociateWebsiteCertificateAuthority(t *testing.T) { - svc := New(Options{}) - _, err := svc.AssociateWebsiteCertificateAuthority(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "AssociateWebsiteCertificateAuthority") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_CreateFleet(t *testing.T) { - svc := New(Options{}) - _, err := svc.CreateFleet(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "CreateFleet") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_DeleteFleet(t *testing.T) { - svc := New(Options{}) - _, err := svc.DeleteFleet(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "DeleteFleet") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_DescribeAuditStreamConfiguration(t *testing.T) { - svc := New(Options{}) - _, err := svc.DescribeAuditStreamConfiguration(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "DescribeAuditStreamConfiguration") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_DescribeCompanyNetworkConfiguration(t *testing.T) { - svc := New(Options{}) - _, err := svc.DescribeCompanyNetworkConfiguration(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "DescribeCompanyNetworkConfiguration") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_DescribeDevice(t *testing.T) { - svc := New(Options{}) - _, err := svc.DescribeDevice(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "DescribeDevice") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_DescribeDevicePolicyConfiguration(t *testing.T) { - svc := New(Options{}) - _, err := svc.DescribeDevicePolicyConfiguration(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "DescribeDevicePolicyConfiguration") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_DescribeDomain(t *testing.T) { - svc := New(Options{}) - _, err := svc.DescribeDomain(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "DescribeDomain") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_DescribeFleetMetadata(t *testing.T) { - svc := New(Options{}) - _, err := svc.DescribeFleetMetadata(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "DescribeFleetMetadata") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_DescribeIdentityProviderConfiguration(t *testing.T) { - svc := New(Options{}) - _, err := svc.DescribeIdentityProviderConfiguration(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "DescribeIdentityProviderConfiguration") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_DescribeWebsiteCertificateAuthority(t *testing.T) { - svc := New(Options{}) - _, err := svc.DescribeWebsiteCertificateAuthority(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "DescribeWebsiteCertificateAuthority") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_DisassociateDomain(t *testing.T) { - svc := New(Options{}) - _, err := svc.DisassociateDomain(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "DisassociateDomain") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_DisassociateWebsiteAuthorizationProvider(t *testing.T) { - svc := New(Options{}) - _, err := svc.DisassociateWebsiteAuthorizationProvider(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "DisassociateWebsiteAuthorizationProvider") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_DisassociateWebsiteCertificateAuthority(t *testing.T) { - svc := New(Options{}) - _, err := svc.DisassociateWebsiteCertificateAuthority(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "DisassociateWebsiteCertificateAuthority") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_ListDevices(t *testing.T) { - svc := New(Options{}) - _, err := svc.ListDevices(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "ListDevices") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_ListDomains(t *testing.T) { - svc := New(Options{}) - _, err := svc.ListDomains(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "ListDomains") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_ListFleets(t *testing.T) { - svc := New(Options{}) - _, err := svc.ListFleets(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "ListFleets") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_ListTagsForResource(t *testing.T) { - svc := New(Options{}) - _, err := svc.ListTagsForResource(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "ListTagsForResource") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_ListWebsiteAuthorizationProviders(t *testing.T) { - svc := New(Options{}) - _, err := svc.ListWebsiteAuthorizationProviders(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "ListWebsiteAuthorizationProviders") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_ListWebsiteCertificateAuthorities(t *testing.T) { - svc := New(Options{}) - _, err := svc.ListWebsiteCertificateAuthorities(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "ListWebsiteCertificateAuthorities") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_RestoreDomainAccess(t *testing.T) { - svc := New(Options{}) - _, err := svc.RestoreDomainAccess(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "RestoreDomainAccess") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_RevokeDomainAccess(t *testing.T) { - svc := New(Options{}) - _, err := svc.RevokeDomainAccess(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "RevokeDomainAccess") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_SignOutUser(t *testing.T) { - svc := New(Options{}) - _, err := svc.SignOutUser(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "SignOutUser") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_TagResource(t *testing.T) { - svc := New(Options{}) - _, err := svc.TagResource(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "TagResource") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_UntagResource(t *testing.T) { - svc := New(Options{}) - _, err := svc.UntagResource(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "UntagResource") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_UpdateAuditStreamConfiguration(t *testing.T) { - svc := New(Options{}) - _, err := svc.UpdateAuditStreamConfiguration(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "UpdateAuditStreamConfiguration") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_UpdateCompanyNetworkConfiguration(t *testing.T) { - svc := New(Options{}) - _, err := svc.UpdateCompanyNetworkConfiguration(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "UpdateCompanyNetworkConfiguration") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_UpdateDevicePolicyConfiguration(t *testing.T) { - svc := New(Options{}) - _, err := svc.UpdateDevicePolicyConfiguration(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "UpdateDevicePolicyConfiguration") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_UpdateDomainMetadata(t *testing.T) { - svc := New(Options{}) - _, err := svc.UpdateDomainMetadata(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "UpdateDomainMetadata") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_UpdateFleetMetadata(t *testing.T) { - svc := New(Options{}) - _, err := svc.UpdateFleetMetadata(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "UpdateFleetMetadata") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} - -func TestUpdateSnapshot_UpdateIdentityProviderConfiguration(t *testing.T) { - svc := New(Options{}) - _, err := svc.UpdateIdentityProviderConfiguration(context.Background(), nil, func(o *Options) { - o.APIOptions = append(o.APIOptions, func(stack *middleware.Stack) error { - return updateSnapshot(stack, "UpdateIdentityProviderConfiguration") - }) - }) - if _, ok := err.(snapshotOK); !ok && err != nil { - t.Fatal(err) - } -} diff --git a/service/worklink/types/enums.go b/service/worklink/types/enums.go deleted file mode 100644 index 61a4d1b6ebc..00000000000 --- a/service/worklink/types/enums.go +++ /dev/null @@ -1,114 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package types - -type AuthorizationProviderType string - -// Enum values for AuthorizationProviderType -const ( - AuthorizationProviderTypeSaml AuthorizationProviderType = "SAML" -) - -// Values returns all known values for AuthorizationProviderType. Note that this -// can be expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (AuthorizationProviderType) Values() []AuthorizationProviderType { - return []AuthorizationProviderType{ - "SAML", - } -} - -type DeviceStatus string - -// Enum values for DeviceStatus -const ( - DeviceStatusActive DeviceStatus = "ACTIVE" - DeviceStatusSignedOut DeviceStatus = "SIGNED_OUT" -) - -// Values returns all known values for DeviceStatus. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DeviceStatus) Values() []DeviceStatus { - return []DeviceStatus{ - "ACTIVE", - "SIGNED_OUT", - } -} - -type DomainStatus string - -// Enum values for DomainStatus -const ( - DomainStatusPendingValidation DomainStatus = "PENDING_VALIDATION" - DomainStatusAssociating DomainStatus = "ASSOCIATING" - DomainStatusActive DomainStatus = "ACTIVE" - DomainStatusInactive DomainStatus = "INACTIVE" - DomainStatusDisassociating DomainStatus = "DISASSOCIATING" - DomainStatusDisassociated DomainStatus = "DISASSOCIATED" - DomainStatusFailedToAssociate DomainStatus = "FAILED_TO_ASSOCIATE" - DomainStatusFailedToDisassociate DomainStatus = "FAILED_TO_DISASSOCIATE" -) - -// Values returns all known values for DomainStatus. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (DomainStatus) Values() []DomainStatus { - return []DomainStatus{ - "PENDING_VALIDATION", - "ASSOCIATING", - "ACTIVE", - "INACTIVE", - "DISASSOCIATING", - "DISASSOCIATED", - "FAILED_TO_ASSOCIATE", - "FAILED_TO_DISASSOCIATE", - } -} - -type FleetStatus string - -// Enum values for FleetStatus -const ( - FleetStatusCreating FleetStatus = "CREATING" - FleetStatusActive FleetStatus = "ACTIVE" - FleetStatusDeleting FleetStatus = "DELETING" - FleetStatusDeleted FleetStatus = "DELETED" - FleetStatusFailedToCreate FleetStatus = "FAILED_TO_CREATE" - FleetStatusFailedToDelete FleetStatus = "FAILED_TO_DELETE" -) - -// Values returns all known values for FleetStatus. Note that this can be expanded -// in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (FleetStatus) Values() []FleetStatus { - return []FleetStatus{ - "CREATING", - "ACTIVE", - "DELETING", - "DELETED", - "FAILED_TO_CREATE", - "FAILED_TO_DELETE", - } -} - -type IdentityProviderType string - -// Enum values for IdentityProviderType -const ( - IdentityProviderTypeSaml IdentityProviderType = "SAML" -) - -// Values returns all known values for IdentityProviderType. Note that this can be -// expanded in the future, and so it is only as up to date as the client. -// -// The ordering of this slice is not guaranteed to be stable across updates. -func (IdentityProviderType) Values() []IdentityProviderType { - return []IdentityProviderType{ - "SAML", - } -} diff --git a/service/worklink/types/errors.go b/service/worklink/types/errors.go deleted file mode 100644 index bde908c98eb..00000000000 --- a/service/worklink/types/errors.go +++ /dev/null @@ -1,164 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package types - -import ( - "fmt" - smithy "github.com/aws/smithy-go" -) - -// The service is temporarily unavailable. -type InternalServerErrorException struct { - Message *string - - ErrorCodeOverride *string - - noSmithyDocumentSerde -} - -func (e *InternalServerErrorException) Error() string { - return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) -} -func (e *InternalServerErrorException) ErrorMessage() string { - if e.Message == nil { - return "" - } - return *e.Message -} -func (e *InternalServerErrorException) ErrorCode() string { - if e == nil || e.ErrorCodeOverride == nil { - return "InternalServerErrorException" - } - return *e.ErrorCodeOverride -} -func (e *InternalServerErrorException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } - -// The request is not valid. -type InvalidRequestException struct { - Message *string - - ErrorCodeOverride *string - - noSmithyDocumentSerde -} - -func (e *InvalidRequestException) Error() string { - return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) -} -func (e *InvalidRequestException) ErrorMessage() string { - if e.Message == nil { - return "" - } - return *e.Message -} -func (e *InvalidRequestException) ErrorCode() string { - if e == nil || e.ErrorCodeOverride == nil { - return "InvalidRequestException" - } - return *e.ErrorCodeOverride -} -func (e *InvalidRequestException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } - -// The resource already exists. -type ResourceAlreadyExistsException struct { - Message *string - - ErrorCodeOverride *string - - noSmithyDocumentSerde -} - -func (e *ResourceAlreadyExistsException) Error() string { - return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) -} -func (e *ResourceAlreadyExistsException) ErrorMessage() string { - if e.Message == nil { - return "" - } - return *e.Message -} -func (e *ResourceAlreadyExistsException) ErrorCode() string { - if e == nil || e.ErrorCodeOverride == nil { - return "ResourceAlreadyExistsException" - } - return *e.ErrorCodeOverride -} -func (e *ResourceAlreadyExistsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } - -// The requested resource was not found. -type ResourceNotFoundException struct { - Message *string - - ErrorCodeOverride *string - - noSmithyDocumentSerde -} - -func (e *ResourceNotFoundException) Error() string { - return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) -} -func (e *ResourceNotFoundException) ErrorMessage() string { - if e.Message == nil { - return "" - } - return *e.Message -} -func (e *ResourceNotFoundException) ErrorCode() string { - if e == nil || e.ErrorCodeOverride == nil { - return "ResourceNotFoundException" - } - return *e.ErrorCodeOverride -} -func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } - -// The number of requests exceeds the limit. -type TooManyRequestsException struct { - Message *string - - ErrorCodeOverride *string - - noSmithyDocumentSerde -} - -func (e *TooManyRequestsException) Error() string { - return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) -} -func (e *TooManyRequestsException) ErrorMessage() string { - if e.Message == nil { - return "" - } - return *e.Message -} -func (e *TooManyRequestsException) ErrorCode() string { - if e == nil || e.ErrorCodeOverride == nil { - return "TooManyRequestsException" - } - return *e.ErrorCodeOverride -} -func (e *TooManyRequestsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } - -// You are not authorized to perform this action. -type UnauthorizedException struct { - Message *string - - ErrorCodeOverride *string - - noSmithyDocumentSerde -} - -func (e *UnauthorizedException) Error() string { - return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) -} -func (e *UnauthorizedException) ErrorMessage() string { - if e.Message == nil { - return "" - } - return *e.Message -} -func (e *UnauthorizedException) ErrorCode() string { - if e == nil || e.ErrorCodeOverride == nil { - return "UnauthorizedException" - } - return *e.ErrorCodeOverride -} -func (e *UnauthorizedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } diff --git a/service/worklink/types/types.go b/service/worklink/types/types.go deleted file mode 100644 index f378700b3b1..00000000000 --- a/service/worklink/types/types.go +++ /dev/null @@ -1,112 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package types - -import ( - smithydocument "github.com/aws/smithy-go/document" - "time" -) - -// The summary of devices. -type DeviceSummary struct { - - // The ID of the device. - DeviceId *string - - // The status of the device. - DeviceStatus DeviceStatus - - noSmithyDocumentSerde -} - -// The summary of the domain. -type DomainSummary struct { - - // The time that the domain was created. - // - // This member is required. - CreatedTime *time.Time - - // The name of the domain. - // - // This member is required. - DomainName *string - - // The status of the domain. - // - // This member is required. - DomainStatus DomainStatus - - // The name to display. - DisplayName *string - - noSmithyDocumentSerde -} - -// The summary of the fleet. -type FleetSummary struct { - - // The identifier used by users to sign into the Amazon WorkLink app. - CompanyCode *string - - // The time when the fleet was created. - CreatedTime *time.Time - - // The name of the fleet to display. - DisplayName *string - - // The Amazon Resource Name (ARN) of the fleet. - FleetArn *string - - // The name of the fleet. - FleetName *string - - // The status of the fleet. - FleetStatus FleetStatus - - // The time when the fleet was last updated. - LastUpdatedTime *time.Time - - // The tags attached to the resource. A tag is a key-value pair. - Tags map[string]string - - noSmithyDocumentSerde -} - -// The summary of the website authorization provider. -type WebsiteAuthorizationProviderSummary struct { - - // The authorization provider type. - // - // This member is required. - AuthorizationProviderType AuthorizationProviderType - - // A unique identifier for the authorization provider. - AuthorizationProviderId *string - - // The time of creation. - CreatedTime *time.Time - - // The domain name of the authorization provider. This applies only to SAML-based - // authorization providers. - DomainName *string - - noSmithyDocumentSerde -} - -// The summary of the certificate authority (CA). -type WebsiteCaSummary struct { - - // The time when the CA was added. - CreatedTime *time.Time - - // The name to display. - DisplayName *string - - // A unique identifier for the CA. - WebsiteCaId *string - - noSmithyDocumentSerde -} - -type noSmithyDocumentSerde = smithydocument.NoSerde diff --git a/service/worklink/validators.go b/service/worklink/validators.go deleted file mode 100644 index 87b51099cd4..00000000000 --- a/service/worklink/validators.go +++ /dev/null @@ -1,1318 +0,0 @@ -// Code generated by smithy-go-codegen DO NOT EDIT. - -package worklink - -import ( - "context" - "fmt" - smithy "github.com/aws/smithy-go" - "github.com/aws/smithy-go/middleware" -) - -type validateOpAssociateDomain struct { -} - -func (*validateOpAssociateDomain) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpAssociateDomain) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*AssociateDomainInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpAssociateDomainInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpAssociateWebsiteAuthorizationProvider struct { -} - -func (*validateOpAssociateWebsiteAuthorizationProvider) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpAssociateWebsiteAuthorizationProvider) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*AssociateWebsiteAuthorizationProviderInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpAssociateWebsiteAuthorizationProviderInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpAssociateWebsiteCertificateAuthority struct { -} - -func (*validateOpAssociateWebsiteCertificateAuthority) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpAssociateWebsiteCertificateAuthority) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*AssociateWebsiteCertificateAuthorityInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpAssociateWebsiteCertificateAuthorityInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpCreateFleet struct { -} - -func (*validateOpCreateFleet) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpCreateFleet) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*CreateFleetInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpCreateFleetInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpDeleteFleet struct { -} - -func (*validateOpDeleteFleet) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDeleteFleet) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DeleteFleetInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDeleteFleetInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpDescribeAuditStreamConfiguration struct { -} - -func (*validateOpDescribeAuditStreamConfiguration) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDescribeAuditStreamConfiguration) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DescribeAuditStreamConfigurationInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDescribeAuditStreamConfigurationInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpDescribeCompanyNetworkConfiguration struct { -} - -func (*validateOpDescribeCompanyNetworkConfiguration) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDescribeCompanyNetworkConfiguration) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DescribeCompanyNetworkConfigurationInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDescribeCompanyNetworkConfigurationInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpDescribeDevice struct { -} - -func (*validateOpDescribeDevice) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDescribeDevice) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DescribeDeviceInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDescribeDeviceInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpDescribeDevicePolicyConfiguration struct { -} - -func (*validateOpDescribeDevicePolicyConfiguration) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDescribeDevicePolicyConfiguration) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DescribeDevicePolicyConfigurationInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDescribeDevicePolicyConfigurationInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpDescribeDomain struct { -} - -func (*validateOpDescribeDomain) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDescribeDomain) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DescribeDomainInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDescribeDomainInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpDescribeFleetMetadata struct { -} - -func (*validateOpDescribeFleetMetadata) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDescribeFleetMetadata) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DescribeFleetMetadataInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDescribeFleetMetadataInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpDescribeIdentityProviderConfiguration struct { -} - -func (*validateOpDescribeIdentityProviderConfiguration) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDescribeIdentityProviderConfiguration) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DescribeIdentityProviderConfigurationInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDescribeIdentityProviderConfigurationInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpDescribeWebsiteCertificateAuthority struct { -} - -func (*validateOpDescribeWebsiteCertificateAuthority) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDescribeWebsiteCertificateAuthority) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DescribeWebsiteCertificateAuthorityInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDescribeWebsiteCertificateAuthorityInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpDisassociateDomain struct { -} - -func (*validateOpDisassociateDomain) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDisassociateDomain) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DisassociateDomainInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDisassociateDomainInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpDisassociateWebsiteAuthorizationProvider struct { -} - -func (*validateOpDisassociateWebsiteAuthorizationProvider) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDisassociateWebsiteAuthorizationProvider) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DisassociateWebsiteAuthorizationProviderInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDisassociateWebsiteAuthorizationProviderInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpDisassociateWebsiteCertificateAuthority struct { -} - -func (*validateOpDisassociateWebsiteCertificateAuthority) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpDisassociateWebsiteCertificateAuthority) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*DisassociateWebsiteCertificateAuthorityInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpDisassociateWebsiteCertificateAuthorityInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpListDevices struct { -} - -func (*validateOpListDevices) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpListDevices) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*ListDevicesInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpListDevicesInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpListDomains struct { -} - -func (*validateOpListDomains) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpListDomains) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*ListDomainsInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpListDomainsInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpListTagsForResource struct { -} - -func (*validateOpListTagsForResource) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpListTagsForResource) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*ListTagsForResourceInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpListTagsForResourceInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpListWebsiteAuthorizationProviders struct { -} - -func (*validateOpListWebsiteAuthorizationProviders) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpListWebsiteAuthorizationProviders) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*ListWebsiteAuthorizationProvidersInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpListWebsiteAuthorizationProvidersInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpListWebsiteCertificateAuthorities struct { -} - -func (*validateOpListWebsiteCertificateAuthorities) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpListWebsiteCertificateAuthorities) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*ListWebsiteCertificateAuthoritiesInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpListWebsiteCertificateAuthoritiesInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpRestoreDomainAccess struct { -} - -func (*validateOpRestoreDomainAccess) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpRestoreDomainAccess) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*RestoreDomainAccessInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpRestoreDomainAccessInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpRevokeDomainAccess struct { -} - -func (*validateOpRevokeDomainAccess) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpRevokeDomainAccess) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*RevokeDomainAccessInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpRevokeDomainAccessInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpSignOutUser struct { -} - -func (*validateOpSignOutUser) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpSignOutUser) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*SignOutUserInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpSignOutUserInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpTagResource struct { -} - -func (*validateOpTagResource) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpTagResource) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*TagResourceInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpTagResourceInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpUntagResource struct { -} - -func (*validateOpUntagResource) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpUntagResource) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*UntagResourceInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpUntagResourceInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpUpdateAuditStreamConfiguration struct { -} - -func (*validateOpUpdateAuditStreamConfiguration) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpUpdateAuditStreamConfiguration) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*UpdateAuditStreamConfigurationInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpUpdateAuditStreamConfigurationInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpUpdateCompanyNetworkConfiguration struct { -} - -func (*validateOpUpdateCompanyNetworkConfiguration) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpUpdateCompanyNetworkConfiguration) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*UpdateCompanyNetworkConfigurationInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpUpdateCompanyNetworkConfigurationInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpUpdateDevicePolicyConfiguration struct { -} - -func (*validateOpUpdateDevicePolicyConfiguration) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpUpdateDevicePolicyConfiguration) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*UpdateDevicePolicyConfigurationInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpUpdateDevicePolicyConfigurationInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpUpdateDomainMetadata struct { -} - -func (*validateOpUpdateDomainMetadata) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpUpdateDomainMetadata) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*UpdateDomainMetadataInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpUpdateDomainMetadataInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpUpdateFleetMetadata struct { -} - -func (*validateOpUpdateFleetMetadata) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpUpdateFleetMetadata) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*UpdateFleetMetadataInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpUpdateFleetMetadataInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -type validateOpUpdateIdentityProviderConfiguration struct { -} - -func (*validateOpUpdateIdentityProviderConfiguration) ID() string { - return "OperationInputValidation" -} - -func (m *validateOpUpdateIdentityProviderConfiguration) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - input, ok := in.Parameters.(*UpdateIdentityProviderConfigurationInput) - if !ok { - return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) - } - if err := validateOpUpdateIdentityProviderConfigurationInput(input); err != nil { - return out, metadata, err - } - return next.HandleInitialize(ctx, in) -} - -func addOpAssociateDomainValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpAssociateDomain{}, middleware.After) -} - -func addOpAssociateWebsiteAuthorizationProviderValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpAssociateWebsiteAuthorizationProvider{}, middleware.After) -} - -func addOpAssociateWebsiteCertificateAuthorityValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpAssociateWebsiteCertificateAuthority{}, middleware.After) -} - -func addOpCreateFleetValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpCreateFleet{}, middleware.After) -} - -func addOpDeleteFleetValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDeleteFleet{}, middleware.After) -} - -func addOpDescribeAuditStreamConfigurationValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDescribeAuditStreamConfiguration{}, middleware.After) -} - -func addOpDescribeCompanyNetworkConfigurationValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDescribeCompanyNetworkConfiguration{}, middleware.After) -} - -func addOpDescribeDeviceValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDescribeDevice{}, middleware.After) -} - -func addOpDescribeDevicePolicyConfigurationValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDescribeDevicePolicyConfiguration{}, middleware.After) -} - -func addOpDescribeDomainValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDescribeDomain{}, middleware.After) -} - -func addOpDescribeFleetMetadataValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDescribeFleetMetadata{}, middleware.After) -} - -func addOpDescribeIdentityProviderConfigurationValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDescribeIdentityProviderConfiguration{}, middleware.After) -} - -func addOpDescribeWebsiteCertificateAuthorityValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDescribeWebsiteCertificateAuthority{}, middleware.After) -} - -func addOpDisassociateDomainValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDisassociateDomain{}, middleware.After) -} - -func addOpDisassociateWebsiteAuthorizationProviderValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDisassociateWebsiteAuthorizationProvider{}, middleware.After) -} - -func addOpDisassociateWebsiteCertificateAuthorityValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpDisassociateWebsiteCertificateAuthority{}, middleware.After) -} - -func addOpListDevicesValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpListDevices{}, middleware.After) -} - -func addOpListDomainsValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpListDomains{}, middleware.After) -} - -func addOpListTagsForResourceValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpListTagsForResource{}, middleware.After) -} - -func addOpListWebsiteAuthorizationProvidersValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpListWebsiteAuthorizationProviders{}, middleware.After) -} - -func addOpListWebsiteCertificateAuthoritiesValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpListWebsiteCertificateAuthorities{}, middleware.After) -} - -func addOpRestoreDomainAccessValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpRestoreDomainAccess{}, middleware.After) -} - -func addOpRevokeDomainAccessValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpRevokeDomainAccess{}, middleware.After) -} - -func addOpSignOutUserValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpSignOutUser{}, middleware.After) -} - -func addOpTagResourceValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpTagResource{}, middleware.After) -} - -func addOpUntagResourceValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpUntagResource{}, middleware.After) -} - -func addOpUpdateAuditStreamConfigurationValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpUpdateAuditStreamConfiguration{}, middleware.After) -} - -func addOpUpdateCompanyNetworkConfigurationValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpUpdateCompanyNetworkConfiguration{}, middleware.After) -} - -func addOpUpdateDevicePolicyConfigurationValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpUpdateDevicePolicyConfiguration{}, middleware.After) -} - -func addOpUpdateDomainMetadataValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpUpdateDomainMetadata{}, middleware.After) -} - -func addOpUpdateFleetMetadataValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpUpdateFleetMetadata{}, middleware.After) -} - -func addOpUpdateIdentityProviderConfigurationValidationMiddleware(stack *middleware.Stack) error { - return stack.Initialize.Add(&validateOpUpdateIdentityProviderConfiguration{}, middleware.After) -} - -func validateOpAssociateDomainInput(v *AssociateDomainInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "AssociateDomainInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if v.DomainName == nil { - invalidParams.Add(smithy.NewErrParamRequired("DomainName")) - } - if v.AcmCertificateArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("AcmCertificateArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpAssociateWebsiteAuthorizationProviderInput(v *AssociateWebsiteAuthorizationProviderInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "AssociateWebsiteAuthorizationProviderInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if len(v.AuthorizationProviderType) == 0 { - invalidParams.Add(smithy.NewErrParamRequired("AuthorizationProviderType")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpAssociateWebsiteCertificateAuthorityInput(v *AssociateWebsiteCertificateAuthorityInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "AssociateWebsiteCertificateAuthorityInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if v.Certificate == nil { - invalidParams.Add(smithy.NewErrParamRequired("Certificate")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpCreateFleetInput(v *CreateFleetInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "CreateFleetInput"} - if v.FleetName == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetName")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpDeleteFleetInput(v *DeleteFleetInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DeleteFleetInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpDescribeAuditStreamConfigurationInput(v *DescribeAuditStreamConfigurationInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DescribeAuditStreamConfigurationInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpDescribeCompanyNetworkConfigurationInput(v *DescribeCompanyNetworkConfigurationInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DescribeCompanyNetworkConfigurationInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpDescribeDeviceInput(v *DescribeDeviceInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DescribeDeviceInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if v.DeviceId == nil { - invalidParams.Add(smithy.NewErrParamRequired("DeviceId")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpDescribeDevicePolicyConfigurationInput(v *DescribeDevicePolicyConfigurationInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DescribeDevicePolicyConfigurationInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpDescribeDomainInput(v *DescribeDomainInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DescribeDomainInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if v.DomainName == nil { - invalidParams.Add(smithy.NewErrParamRequired("DomainName")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpDescribeFleetMetadataInput(v *DescribeFleetMetadataInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DescribeFleetMetadataInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpDescribeIdentityProviderConfigurationInput(v *DescribeIdentityProviderConfigurationInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DescribeIdentityProviderConfigurationInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpDescribeWebsiteCertificateAuthorityInput(v *DescribeWebsiteCertificateAuthorityInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DescribeWebsiteCertificateAuthorityInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if v.WebsiteCaId == nil { - invalidParams.Add(smithy.NewErrParamRequired("WebsiteCaId")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpDisassociateDomainInput(v *DisassociateDomainInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DisassociateDomainInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if v.DomainName == nil { - invalidParams.Add(smithy.NewErrParamRequired("DomainName")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpDisassociateWebsiteAuthorizationProviderInput(v *DisassociateWebsiteAuthorizationProviderInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DisassociateWebsiteAuthorizationProviderInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if v.AuthorizationProviderId == nil { - invalidParams.Add(smithy.NewErrParamRequired("AuthorizationProviderId")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpDisassociateWebsiteCertificateAuthorityInput(v *DisassociateWebsiteCertificateAuthorityInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "DisassociateWebsiteCertificateAuthorityInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if v.WebsiteCaId == nil { - invalidParams.Add(smithy.NewErrParamRequired("WebsiteCaId")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpListDevicesInput(v *ListDevicesInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "ListDevicesInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpListDomainsInput(v *ListDomainsInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "ListDomainsInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpListTagsForResourceInput(v *ListTagsForResourceInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "ListTagsForResourceInput"} - if v.ResourceArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpListWebsiteAuthorizationProvidersInput(v *ListWebsiteAuthorizationProvidersInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "ListWebsiteAuthorizationProvidersInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpListWebsiteCertificateAuthoritiesInput(v *ListWebsiteCertificateAuthoritiesInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "ListWebsiteCertificateAuthoritiesInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpRestoreDomainAccessInput(v *RestoreDomainAccessInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "RestoreDomainAccessInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if v.DomainName == nil { - invalidParams.Add(smithy.NewErrParamRequired("DomainName")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpRevokeDomainAccessInput(v *RevokeDomainAccessInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "RevokeDomainAccessInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if v.DomainName == nil { - invalidParams.Add(smithy.NewErrParamRequired("DomainName")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpSignOutUserInput(v *SignOutUserInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "SignOutUserInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if v.Username == nil { - invalidParams.Add(smithy.NewErrParamRequired("Username")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpTagResourceInput(v *TagResourceInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "TagResourceInput"} - if v.ResourceArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) - } - if v.Tags == nil { - invalidParams.Add(smithy.NewErrParamRequired("Tags")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpUntagResourceInput(v *UntagResourceInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "UntagResourceInput"} - if v.ResourceArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) - } - if v.TagKeys == nil { - invalidParams.Add(smithy.NewErrParamRequired("TagKeys")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpUpdateAuditStreamConfigurationInput(v *UpdateAuditStreamConfigurationInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "UpdateAuditStreamConfigurationInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpUpdateCompanyNetworkConfigurationInput(v *UpdateCompanyNetworkConfigurationInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "UpdateCompanyNetworkConfigurationInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if v.VpcId == nil { - invalidParams.Add(smithy.NewErrParamRequired("VpcId")) - } - if v.SubnetIds == nil { - invalidParams.Add(smithy.NewErrParamRequired("SubnetIds")) - } - if v.SecurityGroupIds == nil { - invalidParams.Add(smithy.NewErrParamRequired("SecurityGroupIds")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpUpdateDevicePolicyConfigurationInput(v *UpdateDevicePolicyConfigurationInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "UpdateDevicePolicyConfigurationInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpUpdateDomainMetadataInput(v *UpdateDomainMetadataInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "UpdateDomainMetadataInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if v.DomainName == nil { - invalidParams.Add(smithy.NewErrParamRequired("DomainName")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpUpdateFleetMetadataInput(v *UpdateFleetMetadataInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "UpdateFleetMetadataInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} - -func validateOpUpdateIdentityProviderConfigurationInput(v *UpdateIdentityProviderConfigurationInput) error { - if v == nil { - return nil - } - invalidParams := smithy.InvalidParamsError{Context: "UpdateIdentityProviderConfigurationInput"} - if v.FleetArn == nil { - invalidParams.Add(smithy.NewErrParamRequired("FleetArn")) - } - if len(v.IdentityProviderType) == 0 { - invalidParams.Add(smithy.NewErrParamRequired("IdentityProviderType")) - } - if invalidParams.Len() > 0 { - return invalidParams - } else { - return nil - } -} diff --git a/service/workmail/CHANGELOG.md b/service/workmail/CHANGELOG.md index 59533445adb..491f1227f66 100644 --- a/service/workmail/CHANGELOG.md +++ b/service/workmail/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/workmail/api_client.go b/service/workmail/api_client.go index e1b4781b78e..046b38a0856 100644 --- a/service/workmail/api_client.go +++ b/service/workmail/api_client.go @@ -190,10 +190,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/workmail/go_module_metadata.go b/service/workmail/go_module_metadata.go index 0f4068479c0..846c03c69c7 100644 --- a/service/workmail/go_module_metadata.go +++ b/service/workmail/go_module_metadata.go @@ -3,4 +3,4 @@ package workmail // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3" diff --git a/service/workmailmessageflow/CHANGELOG.md b/service/workmailmessageflow/CHANGELOG.md index 34bdd655830..9ba447fe171 100644 --- a/service/workmailmessageflow/CHANGELOG.md +++ b/service/workmailmessageflow/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.22.3 (2024-09-27) + +* No change notes available for this release. + # v1.22.2 (2024-09-25) * No change notes available for this release. diff --git a/service/workmailmessageflow/api_client.go b/service/workmailmessageflow/api_client.go index c28fcc6a4ac..ebd26deae08 100644 --- a/service/workmailmessageflow/api_client.go +++ b/service/workmailmessageflow/api_client.go @@ -187,10 +187,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/workmailmessageflow/go_module_metadata.go b/service/workmailmessageflow/go_module_metadata.go index 48767e23813..c6e4674cb6c 100644 --- a/service/workmailmessageflow/go_module_metadata.go +++ b/service/workmailmessageflow/go_module_metadata.go @@ -3,4 +3,4 @@ package workmailmessageflow // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.22.2" +const goModuleVersion = "1.22.3" diff --git a/service/workspaces/CHANGELOG.md b/service/workspaces/CHANGELOG.md index 993f72c793c..ac71fd610a3 100644 --- a/service/workspaces/CHANGELOG.md +++ b/service/workspaces/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.47.3 (2024-09-27) + +* No change notes available for this release. + # v1.47.2 (2024-09-25) * No change notes available for this release. diff --git a/service/workspaces/api_client.go b/service/workspaces/api_client.go index 4447a1cb7bf..29a0f0219a7 100644 --- a/service/workspaces/api_client.go +++ b/service/workspaces/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/workspaces/go_module_metadata.go b/service/workspaces/go_module_metadata.go index 6ebf12dc0f1..96f92a8bce1 100644 --- a/service/workspaces/go_module_metadata.go +++ b/service/workspaces/go_module_metadata.go @@ -3,4 +3,4 @@ package workspaces // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.47.2" +const goModuleVersion = "1.47.3" diff --git a/service/workspacesthinclient/CHANGELOG.md b/service/workspacesthinclient/CHANGELOG.md index 2f61e8519bd..d94201cd0c7 100644 --- a/service/workspacesthinclient/CHANGELOG.md +++ b/service/workspacesthinclient/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.9.3 (2024-09-27) + +* No change notes available for this release. + # v1.9.2 (2024-09-25) * No change notes available for this release. diff --git a/service/workspacesthinclient/api_client.go b/service/workspacesthinclient/api_client.go index f337b41fb1d..ed0d185d440 100644 --- a/service/workspacesthinclient/api_client.go +++ b/service/workspacesthinclient/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/workspacesthinclient/go_module_metadata.go b/service/workspacesthinclient/go_module_metadata.go index b883a4048ed..e9715849bd3 100644 --- a/service/workspacesthinclient/go_module_metadata.go +++ b/service/workspacesthinclient/go_module_metadata.go @@ -3,4 +3,4 @@ package workspacesthinclient // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.9.2" +const goModuleVersion = "1.9.3" diff --git a/service/workspacesweb/CHANGELOG.md b/service/workspacesweb/CHANGELOG.md index aa5860c59f0..7002f64aa63 100644 --- a/service/workspacesweb/CHANGELOG.md +++ b/service/workspacesweb/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.23.3 (2024-09-27) + +* No change notes available for this release. + # v1.23.2 (2024-09-25) * No change notes available for this release. diff --git a/service/workspacesweb/api_client.go b/service/workspacesweb/api_client.go index 4495b504818..b4b600c020a 100644 --- a/service/workspacesweb/api_client.go +++ b/service/workspacesweb/api_client.go @@ -191,10 +191,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/workspacesweb/go_module_metadata.go b/service/workspacesweb/go_module_metadata.go index 7770b50e7e2..81fd83d556d 100644 --- a/service/workspacesweb/go_module_metadata.go +++ b/service/workspacesweb/go_module_metadata.go @@ -3,4 +3,4 @@ package workspacesweb // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.23.2" +const goModuleVersion = "1.23.3" diff --git a/service/xray/CHANGELOG.md b/service/xray/CHANGELOG.md index 4a2aab182b7..deea1d014dd 100644 --- a/service/xray/CHANGELOG.md +++ b/service/xray/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.28.3 (2024-09-27) + +* No change notes available for this release. + # v1.28.2 (2024-09-25) * No change notes available for this release. diff --git a/service/xray/api_client.go b/service/xray/api_client.go index 75bdb030432..51e0374806a 100644 --- a/service/xray/api_client.go +++ b/service/xray/api_client.go @@ -186,10 +186,10 @@ func New(options Options, optFns ...func(*Options)) *Client { resolveEndpointResolverV2(&options) - resolveTracerProvider(&options) - resolveMeterProvider(&options) + resolveTracerProvider(&options) + resolveAuthSchemeResolver(&options) for _, fn := range optFns { diff --git a/service/xray/go_module_metadata.go b/service/xray/go_module_metadata.go index d8555c8a3dc..9890a796323 100644 --- a/service/xray/go_module_metadata.go +++ b/service/xray/go_module_metadata.go @@ -3,4 +3,4 @@ package xray // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.3"